Cargo Features

[dependencies]
gpp-solver = { version = "0.2.2", default-features = false, features = ["std", "futures-lock", "tokio-lock", "async-std-lock"] }
default = futures-lock, js-bindings, std

By default we compile an async crate that uses futures async locks under a normal std environment. JavaScript bindings are compiled by default when in a WASM environment.

std default

Enables std of wasm-bindgen

js-bindings futures-lock default
tokio-lock = tokio
async-std-lock = async-lock

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.

async-lock async-std-lock?

Enables async-lock ^2.4.0

tokio tokio-lock?