Cargo Features

[dependencies]
wasmtimer = { version = "0.4.1", default-features = false, features = ["tokio-test-util", "tokio-util", "tokio", "serde"] }
default = tokio, tokio-util

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

tokio-test-util = tokio

Affects timer::clock

tokio-util default = slab, tokio

Affects wasmtimer::tokio_util

tokio default tokio-test-util? tokio-util = futures, parking_lot, pin-utils

Affects js::set_timeout_with_callback_and_timeout_and_arguments_0, js::set_timeout, wasmtimer::tokio

serde = serde_crate

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.

futures tokio
parking_lot tokio
pin-utils tokio
slab tokio-util
serde_crate serde?

Enables serde