3 releases (breaking)
0.3.0 | Jan 9, 2024 |
---|---|
0.2.0 | Jan 8, 2024 |
0.1.0 | Jan 7, 2024 |
#22 in #inventory
24 downloads per month
8KB
133 lines
s3-manifest
This package provides strongly-typed manifest structs used by Amazon S3 in Rust.
Manifest supported
lib.rs
:
Strongly-typed manifest structs used by Amazon S3 in Rust
Example
let data = include_bytes!("manifest.json");
// slice to struct
let parsed: InventoryManifest = serde_json::from_slice(data).unwrap();
// struct to string
let output: String = serde_json::to_string(&parsed).unwrap();
Dependencies
~0.7–1.6MB
~35K SLoC