s3_manifest/lib.rs
1//! Strongly-typed manifest structs used by Amazon S3 in Rust
2//!
3//! #### Example
4//! ```ignore
5//! let data = include_bytes!("manifest.json");
6//!
7//! // slice to struct
8//! let parsed: InventoryManifest = serde_json::from_slice(data).unwrap();
9//! // struct to string
10//! let output: String = serde_json::to_string(&parsed).unwrap();
11//! ```
12
13/// definitions for S3 Inventory
14#[cfg(feature = "inventory")]
15pub mod inventory;
16
17/// definitions for S3 Batch Completion Report
18#[cfg(feature = "batch")]
19pub mod batch;
20
21/// definitions for S3 Storage Lens Metrics Export
22#[cfg(feature = "lens")]
23pub mod lens;