Cargo Features
[dependencies]
polyproto = { version = "0.9.0", default-features = false, features = ["wasm", "getrandom", "types", "reqwest", "serde"] }
- default = types
-
The
types
feature is set by default wheneverpolyproto
is added without
somewhere in the dependency tree.default-features = false - wasm = getrandom
-
getrandom:
Feature to enable JavaScript bindings on wasm*-unknown-unknown
- getrandom wasm?
-
Enables getrandom
- types default reqwest?
-
Enables http
Affects
errors::ERR_MSG_CHALLENGE_STRING_LENGTH
,errors::ERR_MSG_FEDERATION_ID_REGEX
,polyproto::types
… - reqwest = serde, types
-
Affects
composite::RequestError
,polyproto::api
… - serde reqwest?
-
Enables serde and serde_json