Cargo Features
product-os-connector has no features set by default.
[dependencies]
product-os-connector = { version = "0.0.19", features = ["connectors", "definition", "openapi"] }
- default
-
These default features are set whenever
product-os-connector
is added without
somewhere in the dependency tree.default-features = false Enables product-os-capabilities, product-os-openapi, product-os-random, product-os-request, product-os-router, product-os-security, and product-os-utilities, std of product-os-net
- connectors = async-trait, hex, parking_lot, product-os-capabilities, product-os-router, urlencoding, uuid, xml-rs
-
Enables parking_lot, fast-rng of uuid and std of regex
regex:
ECOSYSTEM FEATURES
The 'std' feature permits the regex crate to use the standard library. This is intended to support future use cases where the regex crate may be able to compile without std, and instead just rely on 'core' and 'alloc' (for example). Currently, this isn't supported, and removing the 'std' feature will prevent regex from compiling.Affects
product-os-connector::ProductOSConnectors
… - definition = chrono, matchit, regex, serde, serde_json
- openapi = async-recursion, serde_json
-
Enables openapi of product-os-openapi
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 connectors?
- async-recursion openapi?
- parking_lot connectors?
- urlencoding connectors?
- serde definition?
- serde_json definition? openapi?
- regex connectors? definition?
- hex connectors?
- uuid connectors?
- chrono definition?
-
Enables chrono
Date and Time Handling
- matchit definition?
-
Enables matchit ^0.7.2
- xml-rs connectors?
- product-os-capabilities default connectors?
- product-os-router default connectors?
- product-os-openapi default openapi?