Azure Cosmos DB Macros for Rust
This crate provides procedural macros for the Azure Cosmos DB SDK for Rust. It is intended for internal use. No official Microsoft support is provided when using this package directly.
#[derive(CosmosOptions)]
Generates layered configuration boilerplate for option group structs, including:
- View structs for snapshot-based resolution across layers
- Builder types for fluent construction
from_env()for environment variable loadingDefaultimpl (allOption<T>fields default toNone)
See the Hierarchical Configuration Model specification for details.