Cargo Features
[dependencies]
prest = { version = "0.5.1", default-features = false, features = ["auth", "db", "embed", "html", "traces", "webview"] }
- default = db, embed, html, traces
-
These default features are set whenever
prest
is added without
somewhere in the dependency tree.default-features = false - auth = axum-login, db, openidconnect, password-auth, tower-sessions
- db default auth? = bincode, gluesql, prest-db-macro
- embed default = hex, prest-embed-macro, prest-embed-utils
-
Affects
prest::embed
… - html default = prest-html-macro
-
Affects
prest::DOCTYPE
… - traces default = ansi-to-html, tracing-appender, tracing-subscriber, tracing-web
-
Affects
host::logs
… - webview = tao, wry
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- prest-embed-macro embed
- prest-embed-utils embed
- prest-html-macro html
- prest-db-macro db
- hex embed
- ansi-to-html traces
- gluesql db
- axum-login not wasm32 auth?
-
Enables axum-login ^0.16
- bincode not wasm32 db
- openidconnect not wasm32 auth?
- password-auth not wasm32 auth?
- tao not wasm32 webview?
-
Enables tao ^0.24
- tower-sessions not wasm32 auth?
-
Enables tower-sessions ^0.13
- tracing-appender not wasm32 traces
- tracing-subscriber not wasm32 wasm32 traces
- tracing-web wasm32 traces
- wry not wasm32 webview?
-
Enables wry ^0.35