diff options
Diffstat (limited to 'pingora-proxy/Cargo.toml')
-rw-r--r-- | pingora-proxy/Cargo.toml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pingora-proxy/Cargo.toml b/pingora-proxy/Cargo.toml index 65f7f67..0a52dff 100644 --- a/pingora-proxy/Cargo.toml +++ b/pingora-proxy/Cargo.toml @@ -55,3 +55,10 @@ serde_yaml = "0.8" default = ["openssl"] openssl = ["pingora-core/openssl", "pingora-cache/openssl"] boringssl = ["pingora-core/boringssl", "pingora-cache/boringssl"] + +# or locally cargo doc --config "build.rustdocflags='--cfg doc_async_trait'" +[package.metadata.docs.rs] +rustdoc-args = ["--cfg", "doc_async_trait"] + +[lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_async_trait)'] }
\ No newline at end of file |