Cargo Features
[dependencies]
stof = { version = "0.3.11", default-features = false, features = ["json", "toml", "yaml", "xml", "urlencoded", "wasm"] }
- default = json, toml, urlencoded, xml, yaml
-
These default features are set whenever
stof
is added without
somewhere in the dependency tree.default-features = false - json default urlencoded wasm? xml yaml
-
Formats
Enables serde_json
Affects
stof::json
… - toml default
-
Enables toml
Affects
stof::toml
… - yaml default = json
-
Enables serde_yaml
Affects
stof::yaml
… - xml default = json
-
Enables quick-xml and serde-xml-rs
Affects
stof::xml
… - urlencoded default = json
-
Enables urlencoding
Affects
stof::urlencoded
… - wasm = json
-
WebAssembly Interface feature - no default file system lib, add "json" dependency, and "wasm-bindgen"
Enables js-sys, serde-wasm-bindgen, and wasm-bindgen
Affects
stof::js
…