fix: exclude local feature from docs.rs build (#782)
The `local` feature relaxes Send+Sync bounds, which causes items gated behind `cfg(not(feature = "local"))` to be excluded when docs.rs builds with all-features. Replace `all-features = true` with an explicit feature list that omits `local`. Signed-off-by: majiayu000 <1835304752@qq.com>
This commit is contained in:
parent
52c93e9508
commit
cf6988ac7c
1 changed files with 26 additions and 1 deletions
|
|
@ -14,7 +14,32 @@ exhaustive_structs = "warn"
|
|||
exhaustive_enums = "warn"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = true
|
||||
features = [
|
||||
"auth",
|
||||
"auth-client-credentials-jwt",
|
||||
"base64",
|
||||
"client",
|
||||
"client-side-sse",
|
||||
"elicitation",
|
||||
"macros",
|
||||
"reqwest",
|
||||
"reqwest-native-tls",
|
||||
"reqwest-tls-no-provider",
|
||||
"schemars",
|
||||
"server",
|
||||
"server-side-http",
|
||||
"tower",
|
||||
"transport-async-rw",
|
||||
"transport-child-process",
|
||||
"transport-io",
|
||||
"transport-streamable-http-client",
|
||||
"transport-streamable-http-client-reqwest",
|
||||
"transport-streamable-http-client-unix-socket",
|
||||
"transport-streamable-http-server",
|
||||
"transport-streamable-http-server-session",
|
||||
"transport-worker",
|
||||
"uuid",
|
||||
]
|
||||
rustdoc-args = ["--cfg", "docsrs"]
|
||||
|
||||
[dependencies]
|
||||
|
|
|
|||
Loading…
Reference in a new issue