File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -260,3 +260,23 @@ jobs:
260260 with :
261261 command : rustdoc
262262 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 }
4545socket2 = { version = " 0.4" , optional = true }
4646
4747[dev-dependencies ]
48+ cargo-check-external-types = " 0.1.2"
4849futures-util = { version = " 0.3" , default-features = false , features = [" alloc" ] }
4950matches = " 0.1"
5051num_cpus = " 1.0"
You can’t perform that action at this time.
0 commit comments