Cargo Features
[dependencies]
test_utils = { version = "0.4.0", default-features = false, features = ["postgres", "rocket_support", "dotenv"] }
- default = dotenv, postgres, rocket_support
-
These default features are set whenever
test_utils
is added without
somewhere in the dependency tree.default-features = false - postgres default = diesel
-
Affects
test_utils::postgres
… - rocket_support default = diesel, lazy_static, rocket
-
Affects
test_utils::rocket_support
…
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.
- diesel postgres rocket_support
-
Enables diesel ^1.4.8
- rocket rocket_support
- dotenv default
- lazy_static rocket_support