File tree 2 files changed +21
-0
lines changed
2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -260,3 +260,23 @@ jobs:
260
260
with :
261
261
command : rustdoc
262
262
args : --features full,ffi -- --cfg docsrs --cfg hyper_unstable_ffi -D broken-intra-doc-links
263
+
264
+ doc :
265
+ name : Check exposed types
266
+ needs : [style, test]
267
+ runs-on : ubuntu-latest
268
+ steps :
269
+ - name : Checkout
270
+ uses : actions/checkout@v1
271
+
272
+ - name : Install Rust
273
+ uses : actions-rs/toolchain@v1
274
+ with :
275
+ profile : minimal
276
+ toolchain : nightly
277
+ override : true
278
+
279
+ - name : cargo check-external-types
280
+ uses : actions-rs/cargo@v1
281
+ with :
282
+ command : check-external-types
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ libc = { version = "0.2", optional = true }
45
45
socket2 = { version = " 0.4" , optional = true }
46
46
47
47
[dev-dependencies ]
48
+ cargo-check-external-types = " 0.1.2"
48
49
futures-util = { version = " 0.3" , default-features = false , features = [" alloc" ] }
49
50
matches = " 0.1"
50
51
num_cpus = " 1.0"
You can’t perform that action at this time.
0 commit comments