111 releases (33 stable)
Uses new Rust 2024
| new 1.3.7 | Feb 13, 2026 |
|---|---|
| 1.3.3 | Dec 27, 2025 |
| 1.2.8 | Oct 12, 2025 |
| 1.0.5 | Jul 15, 2025 |
| 0.2.0 | Mar 15, 2024 |
#334 in Development tools
344 downloads per month
135KB
2K
SLoC
DownToZero Cloud SDK
A base crate for the DownToZero Cloud SDK
Exposed functionality
The dtz-crate only exposes the dtz-config crate which covers the API client and authentication requirements.
All service specific functionality is exposed through features.
Features
- containers
- core
- identity
- full (contains all features at once)
- objectstore
- observability
- rss2mail
Examples
Retrieving the current Context.
[dependencies]
tokio = { version = "1", features = ["full] }
dtz = { version = "*", features = ["core"] }
#[tokio::main]
use std::str::FromStr;
use uuid::Uuid;
async fn main() {
let config = dtz::Configuration {
api_key: Some("some api key".to_string()),
..Default::default()
};
let ctx_id = "00000000-0000-0000-0000-000000000000";
let result = dtz::core::apis::default_api::get_context(&config, ctx_id)
.await
.unwrap();
println!("result: {result:?}");
}
Dependencies
~5–24MB
~272K SLoC