azure_data_cosmos_macros 0.1.0

Procedural macros for the Azure Cosmos DB SDK for Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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 loading
- **`Default` impl** (all `Option<T>` fields default to `None`)

See the Hierarchical Configuration Model specification for details.