Cargo Features
[dependencies]
screeps-api = { version = "0.6.0", default-features = false, features = ["sync", "protocol-docs", "destructive-tests"] }
- default = sync
-
The
sync
feature is set by default wheneverscreeps-api
is added without
somewhere in the dependency tree.default-features = false - sync default = hyper-tls, tokio
-
Affects
screeps-api::sync
… - protocol-docs
-
Affects
screeps-api::docs
… - destructive-tests
-
enables tests which modify game state (temporarily, but still)
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.
- tokio sync
-
Enables tokio ^0.1
Sync HTTP wrapper
- hyper-tls sync
-
Enables hyper-tls ^0.3