Cargo Features
[dependencies]
product-os-content = { version = "0.0.4", default-features = false, features = ["platform", "utils"] }
- default = platform, utils
-
These default features are set whenever
product-os-content
is added without
somewhere in the dependency tree.default-features = false - platform default = async-trait, chrono, futures, lazy_static, parking_lot, product-os-capabilities, product-os-command-control, product-os-configuration, product-os-router, product-os-security, product-os-store, product-os-store-macros, regex, serde, serde_json, tokio, tracing, url, uuid
- utils default = ammonia, evalexpr, html-escape, html2text, lazy_static, pulldown-cmark, regex, url
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- async-trait platform
- tokio platform
-
Enables tokio
For async capabilities
- parking_lot platform
- evalexpr utils
-
Enables evalexpr ^8.0.0
- pulldown-cmark utils
-
Enables pulldown-cmark ^0.9.1
- html2text utils
-
Enables html2text ^0.4.2
- html-escape utils
- ammonia utils
-
Enables ammonia ^3.2.0
- product-os-capabilities platform
-
Enables product-os-capabilities
Core dependencies
- product-os-configuration platform
- product-os-security platform
- product-os-store platform
- product-os-store-macros platform
- product-os-router platform
- product-os-command-control platform
- uuid platform
- url platform utils
- chrono platform
- tracing platform
-
Enables tracing
Logging support
- serde platform
-
Enables serde
Support for serialize/deserialize objects
- serde_json platform
-
Enables serde_json
Support for JSON structures
- futures platform
- regex platform utils
- lazy_static platform utils