Cargo Features
[dependencies]
rocket_i18n = { version = "0.4.1", default-features = false, features = ["actix-web", "rocket"] }
- default = rocket
-
The
rocket
feature is set by default wheneverrocket_i18n
is added without
somewhere in the dependency tree.default-features = false
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.
- actix-web implicit feature
-
Enables actix-web ^0.7
actix-web:
Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust
- rocket default
-
Enables rocket ^0.4.0