Cargo Features

[dependencies]
stdweb = { version = "0.4.20", default-features = false, features = ["nightly", "web_test", "futures-support", "experimental_features_which_may_break_on_minor_version_bumps", "docs-rs", "serde", "serde_json"] }
default = serde, serde_json

These default features are set whenever stdweb is added without default-features = false somewhere in the dependency tree.

nightly

Affects webcore::void

web_test
futures-support experimental…minor_version_bumps? = futures-channel-preview, futures-core-preview, futures-executor-preview, futures-util-preview

Affects webapi::timer_future, webcore::promise_future, webcore::executor

experimental_features_which_may_break_on_minor_version_bumps = futures-support

Affects stdweb::web.midi, element::IElement.request_fullscreen, pointer::IPointerEvent.button_pointer, webapi::midi

docs-rs

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.

serde default

Affects ecosystem::serde, stdweb::serde

serde_json default

Affects ecosystem::serde_json

futures-core-preview futures-support?
futures-channel-preview futures-support?
futures-util-preview futures-support?
futures-executor-preview futures-support?