Cargo Features
[dependencies]
af-lib = { version = "0.1.1", default-features = false, features = ["logger", "postgres", "sentry", "slack", "test-runner", "tokio"] }
- default = logger
-
The
logger
feature is set by default wheneveraf-lib
is added without
somewhere in the dependency tree.default-features = false - logger default
- postgres = af-postgres
-
Affects
af-lib::postgres
… - sentry = af-sentry
-
Affects
af-lib::sentry
… - slack = af-slack
-
Affects
af-lib::slack
… - test-runner
-
Enables test-runner of af-core
- tokio
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.