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 whenever polyproto is added without default-features = false somewhere in the dependency tree.

wasm = getrandom

Enables js of 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

Enables reqwest and url

Affects composite::RequestError, polyproto::api

serde reqwest?

Enables serde and serde_json