You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have looked for existing issues (including closed) about this
Bug Report
Version
Latest
Platform
N/A but I'm on Linux
Crates
axum-extra
Description
The documentation for Key::derive_from ( https://docs.rs/axum-extra/latest/axum_extra/extract/cookie/struct.Key.html#method.derive_from) says its gated behind the feature key-expansion. It should be cookie-key-expansion instead. fwict this code is reexported from the cookie crate. However in the process of reexporting the code axum_extra modifies the name of the feature flag, adding the cookie- prefix. This is not reflected in the documentation, which lists key-expansion as the feature to enable. I'm not sure if there is something we can do to make sure the docs are updating when re-exporting the method or is this a limitation of docs.rs?
The text was updated successfully, but these errors were encountered:
Bug Report
Version
Latest
Platform
N/A but I'm on Linux
Crates
axum-extra
Description
The documentation for
Key::derive_from
(https://docs.rs/axum-extra/latest/axum_extra/extract/cookie/struct.Key.html#method.derive_from) says its gated behind the feature key-expansion. It should be cookie-key-expansion instead. fwict this code is reexported from the cookie crate. However in the process of reexporting the code axum_extra modifies the name of the feature flag, adding the cookie- prefix. This is not reflected in the documentation, which lists key-expansion as the feature to enable. I'm not sure if there is something we can do to make sure the docs are updating when re-exporting the method or is this a limitation of docs.rs?
The text was updated successfully, but these errors were encountered: