Cargo Features
[dependencies]
stof = { version = "0.3.35", default-features = false, features = ["json", "toml", "yaml", "xml", "urlencoded", "markdown", "pkg", "image", "docx", "pdf", "http", "markdown-html", "wasm"] }
- default = json, markdown, pkg, toml, urlencoded, xml, yaml
-
These default features are set whenever
stof
is added without
somewhere in the dependency tree.default-features = false - json default docx? urlencoded wasm? xml yaml
-
Default 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 ^0.6.0
Affects
stof::xml
… - urlencoded default = json
-
Enables urlencoding
Affects
stof::urlencoded
… - markdown default
-
Affects
text::markdown
… - pkg default
-
Enables regex, walkdir, and zip
Affects
stof::pkg
… - image pdf?
-
Not included by default
Enables image
Affects
stof::image
… - docx = json
-
Enables docx-rs
Affects
stof::docx
… - pdf = image
-
Enables lopdf
Affects
stof::pdf
… - http
-
Enables ureq ^2.12.1
Affects
system::http
… - markdown-html
-
Enables markdown
Affects
text::md_html
… - 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
…