71 releases

new 0.6.18 Feb 25, 2025
0.6.10 Jan 2, 2025
0.6.9 Dec 28, 2024
0.6.5 Nov 11, 2024
0.2.0 Mar 15, 2024

#1569 in Web programming

Download history 504/week @ 2024-10-29 507/week @ 2024-11-05 233/week @ 2024-11-12 114/week @ 2024-11-19 95/week @ 2024-11-26 556/week @ 2024-12-03 136/week @ 2024-12-10 121/week @ 2024-12-17 490/week @ 2024-12-24 311/week @ 2024-12-31 94/week @ 2025-01-07 70/week @ 2025-01-14 145/week @ 2025-01-21 317/week @ 2025-01-28 500/week @ 2025-02-04 708/week @ 2025-02-11

1,684 downloads per month

MIT/Apache

14KB

DownToZero Cloud SDK

Latest Version

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–18MB
~255K SLoC