Cargo Features

screeps-api = { version = "0.6.0", default-features = false, features = ["sync", "protocol-docs", "destructive-tests"] }
default = sync

The sync feature is set by default whenever screeps-api is added without default-features = false somewhere in the dependency tree.

sync default = hyper-tls, tokio

Affects screeps-api::sync


Affects screeps-api::docs


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