Cargo Features
[dependencies]
entropy-client = { version = "0.3.0", default-features = false, features = ["native", "wasm", "full-client", "full-client-native", "full-client-wasm"] }
- default = full-client-native, native
-
These default features are set whenever
entropy-client
is added without
somewhere in the dependency tree.default-features = false - native default
-
Enables std and user-native of entropy-shared, native and substrate-compat of subxt ^0.35.3
- wasm
-
Enables user-wasm and wasm of entropy-shared and web of subxt ^0.35.3
subxt:
Enable this for web/wasm builds.
Exactly 1 of "web" and "native" is expected. - full-client full-client-native full-client-wasm?
-
This adds full client functionality. It is behind a feature flag because it is not needed by entropy-tss
Enables base64, blake2, entropy-protocol, hex, rand_core, reqwest, serde_json, synedrion, and x25519-dalek
blake2:
Present when "full-client" feature is active
Affects
errors::ClientError
,entropy-client::client
… - full-client-native default = full-client
-
Enables server of entropy-protocol
- full-client-wasm = full-client
-
Enables wasm of entropy-protocol and js-sys
Only for the browser