63 releases (5 breaking)

new 0.6.10 Jan 2, 2025
0.6.9 Dec 28, 2024
0.6.5 Nov 11, 2024
0.5.13 Jul 20, 2024
0.2.0 Mar 15, 2024

#1517 in Web programming

Download history 180/week @ 2024-09-17 547/week @ 2024-09-24 81/week @ 2024-10-01 75/week @ 2024-10-08 488/week @ 2024-10-15 139/week @ 2024-10-22 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 309/week @ 2024-12-31

1,072 downloads per month

MIT/Apache

6KB

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