Cargo Features

earthbucks_secp256k1 has no features set by default.

[dependencies]
earthbucks_secp256k1 = { version = "0.8.5", features = ["wasm"] }
wasm = wasm-bindgen

The 'wasm' feature enables the wasm-bindgen dependency and other wasm-specific code.

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.

wasm-bindgen wasm?

Enables wasm-bindgen

Conditionally include wasm-bindgen only when the 'wasm' feature is enabled