Cargo Features
[dependencies]
planetkit = { version = "0.0.1", default-features = false, features = ["nightly", "web", "desktop"] }
- default = desktop
-
The
desktop
feature is set by default wheneverplanetkit
is added without
somewhere in the dependency tree.default-features = false - nightly
-
Affects
tests::benches
,random_walk::benches
… - web
- desktop default = tokio-core, tokio-io
-
All the stuff that won't work on the web.
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-core desktop
-
Enables tokio-core
Stuff we can't run on the web yet.
- tokio-io desktop