Cargo Features
[dependencies]
product-os-service-handler = { version = "0.0.7", default-features = false, features = ["postgres_store", "sqlite_store", "async-trait", "tokio", "parking_lot", "product-os-capabilities", "product-os-configuration", "product-os-security", "product-os-store-macros", "product-os-router", "product-os-command-control", "uuid", "url", "chrono", "tracing", "serde", "serde_json", "regex", "lazy_static"] }
- default = async-trait, chrono, 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
-
These default features are set whenever
product-os-service-handler
is added without
somewhere in the dependency tree.default-features = false Enables sessions of product-os-router
- postgres_store
-
Enables postgres_relational_store of product-os-store
- sqlite_store
-
Enables sqlite_relational_store of product-os-store
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 default
- tokio default
-
Enables tokio
For async capabilities
- parking_lot default
- product-os-capabilities default
-
Enables product-os-capabilities
Core dependencies
- product-os-configuration default
- product-os-security default
- product-os-store default postgres_store? sqlite_store?
- product-os-store-macros default
- product-os-router default
- product-os-command-control default
- uuid default
- url default
- chrono default
- tracing default
-
Enables tracing
Logging support
- serde default
-
Enables serde
Support for serialize/deserialize objects
- serde_json default
-
Enables serde_json
Support for JSON structures
- regex default
- lazy_static default