Cargo Features
[dependencies]
stork-search = { version = "2.0.0-beta.2", default-features = false, features = ["test-server", "remote-fetch"] }
- default = test-server
-
The
test-server
feature is set by default wheneverstork-search
is added without
somewhere in the dependency tree.default-features = false - test-server default = hyper, tokio
- remote-fetch
-
Enables build-remote-fetch of stork-lib
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.
- hyper test-server
-
Enables hyper ^0.14.17
- tokio test-server
-
Enables tokio =1.17.0