File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 8787 - name : cargo doc (all features)
8888 run : cargo doc --locked --all-features --document-private-items
8989 env :
90- RUSTDOCFLAGS : ${{ matrix.rust_channel == 'nightly' && '-Dwarnings --cfg=docsrs ' || '-Dwarnings' }}
90+ RUSTDOCFLAGS : ${{ matrix.rust_channel == 'nightly' && '-Dwarnings --cfg=webpki_docsrs ' || '-Dwarnings' }}
9191
9292 package :
9393 name : Cargo Package
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ include = [
5858
5959[package .metadata .docs .rs ]
6060all-features = true
61- rustdoc-args = [" --cfg" , " docsrs " ]
61+ rustdoc-args = [" --cfg" , " webpki_docsrs " ]
6262
6363[package .metadata .cargo_check_external_types ]
6464allowed_external_types = [
@@ -116,3 +116,6 @@ harness = false
116116
117117[package .metadata .cargo-semver-checks .lints ]
118118enum_variant_marked_deprecated = " warn"
119+
120+ [lints .rust ]
121+ unexpected_cfgs = { level = " warn" , check-cfg = [' cfg(webpki_docsrs)' ] }
Original file line number Diff line number Diff line change 4444 clippy:: upper_case_acronyms
4545) ]
4646// Enable documentation for all features on docs.rs
47- #![ cfg_attr( docsrs , feature( doc_cfg, doc_auto_cfg) ) ]
47+ #![ cfg_attr( webpki_docsrs , feature( doc_cfg, doc_auto_cfg) ) ]
4848
4949#[ cfg( any( feature = "std" , test) ) ]
5050extern crate std;
You can’t perform that action at this time.
0 commit comments