Cargo Features
[dependencies]
safina = { version = "0.6.0", default-features = false, features = ["async_test", "executor", "net", "select", "sync", "threadpool", "timer", "testing"] }
- default = executor, net, select, sync, threadpool, timer
-
These default features are set whenever
safina
is added without
somewhere in the dependency tree.default-features = false - async_test = executor, safina-macros, timer
- executor default async_test?
-
Affects
safina::executor
… - net default
-
Affects
safina::net
… - select default
-
Affects
safina::select
… - sync default
-
Affects
safina::sync
… - threadpool default
-
Affects
safina::threadpool
… - timer default async_test?
-
Affects
safina::timer
… - testing
-
Affects
threadpool::INTERNAL_MAX_THREADS
…
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.