File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -26,9 +26,12 @@ crabgrind = "=0.1.9" # compatible with valgrind package on GHA ubuntu-latest
2626[target .'cfg(all(target_family = "wasm", target_os = "unknown"))' .dependencies ]
2727web-time = { version = " 1" , optional = true }
2828
29+ [lints .rust ]
30+ unexpected_cfgs = { level = " warn" , check-cfg = [" cfg(rustls_pki_types_docsrs)" ] }
31+
2932[package .metadata .docs .rs ]
3033all-features = true
31- rustdoc-args = [" --cfg" , " docsrs " ]
34+ rustdoc-args = [" --cfg" , " rustls_pki_types_docsrs " ]
3235
3336[package .metadata .cargo_check_external_types ]
3437allowed_external_types = [" zeroize::Zeroize" ]
Original file line number Diff line number Diff line change 6363#![ cfg_attr( not( feature = "std" ) , no_std) ]
6464#![ warn( unreachable_pub, clippy:: use_self) ]
6565#![ deny( missing_docs) ]
66- #![ cfg_attr( docsrs , feature( doc_cfg, doc_auto_cfg) ) ]
66+ #![ cfg_attr( rustls_pki_types_docsrs , feature( doc_cfg, doc_auto_cfg) ) ]
6767
6868#[ cfg( feature = "alloc" ) ]
6969extern crate alloc;
You can’t perform that action at this time.
0 commit comments