Cargo Features
[dependencies]
af-core = { version = "0.1.8", default-features = false, features = ["logger", "postgres", "test-runner", "tokio"] }
- default = logger
-
The
logger
feature is set by default wheneveraf-core
is added without
somewhere in the dependency tree.default-features = false - logger default test-runner? = console, dashmap
-
Enables logger of af-core-macros
- postgres = postgres-types
- test-runner = console, indicatif, logger
-
Affects
test::runner
…Required by the test-core binary
- tokio
-
Enables tokio of async-global-executor
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 logger test-runner?
-
Enables console ^0.14
logger deps.
- dashmap logger
-
Enables dashmap ^4
- postgres-types postgres?
-
Enables postgres-types
postgres deps.
- indicatif test-runner?
-
Enables indicatif ^0.15
test-runner deps.