Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

CosmosDB - Attachments support

Compare
Choose a tag to compare
@MindFlavor MindFlavor released this 18 Apr 17:42
· 79 commits to master since this release

This release adds attachments support (both reference and slug) to the Cosmos DB crate. There are few small breaking changes (most notably the ConsistenctLevel enum now supports a Cow instead of a raw &str for better ergonomics so it loses the Copy auto trait). You should not be impacted by the changes, however (I hope!).
All the attachments methods are supported and there are E2E tests as well. As usual, please refer to the examples folder for how to use it (as this time there is this example: attachment00.rs).