Cargo Features
[dependencies]
ahecha_extra = { version = "0.0.3", default-features = false, features = ["backend", "frontend"] }
- default = backend
-
The
backend
feature is set by default wheneverahecha_extra
is added without
somewhere in the dependency tree.default-features = false - backend default = axum, axum-extra
- frontend = web-sys
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.
- axum backend
-
Enables axum ^0.5
- axum-extra backend
-
Enables axum-extra ^0.3
- web-sys frontend?