Cargo Features
[dependencies]
turbocharger = { version = "0.4.0", default-features = false, features = ["full", "axum", "debug_expansions", "svelte", "tls", "wasm", "console_error_panic_hook"] }
- default = console_error_panic_hook
-
The
console_error_panic_hook
feature is set by default wheneverturbocharger
is added without
somewhere in the dependency tree.default-features = false - full = axum, dioxus, svelte, tls
- axum full? = mime_guess, rust-embed
-
Enables axum ^0.5
- debug_expansions
-
Enables debug_expansions of turbocharger-impl
- svelte full?
-
Enables svelte of turbocharger-impl
- tls full? = acme-lib, hyper, rustls-pemfile, tokio-rustls, turbosql
-
Affects
axum_server::serve_tls
… - wasm = js-sys, wasm-bindgen, wasm-bindgen-futures, web-sys, ws_stream_wasm
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.
- console_error_panic_hook default
-
Affects
turbocharger::start
… - dioxus full?
-
Enables dioxus ^0.2
- wasm-bindgen not wasm32 wasm32 wasm?
- wasm-bindgen-futures not wasm32 wasm32 wasm?
- acme-lib not wasm32 tls?
-
Enables acme-lib ^0.8
- hyper not wasm32 tls?
-
Enables hyper ^0.14
- js-sys not wasm32 wasm32 wasm?
- mime_guess not wasm32 axum?
- rust-embed not wasm32 axum?
-
Enables rust-embed ^6
- rustls-pemfile not wasm32 tls?
-
Enables rustls-pemfile ^1
- tokio-rustls not wasm32 tls?
-
Enables tokio-rustls ^0.23
- turbosql not wasm32 tls?
-
Enables turbosql ^0.7
- web-sys not wasm32 wasm32 wasm?
- ws_stream_wasm not wasm32 wasm32 wasm?