69 releases

new 0.6.16 Feb 14, 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

#1511 in Web programming

Download history 315/week @ 2024-10-26 541/week @ 2024-11-02 394/week @ 2024-11-09 97/week @ 2024-11-16 120/week @ 2024-11-23 469/week @ 2024-11-30 163/week @ 2024-12-07 113/week @ 2024-12-14 242/week @ 2024-12-21 545/week @ 2024-12-28 149/week @ 2025-01-04 84/week @ 2025-01-11 147/week @ 2025-01-18 129/week @ 2025-01-25 576/week @ 2025-02-01 619/week @ 2025-02-08

1,489 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
~258K SLoC