clevercloud-sdk 1.0.0

A Rust client and structures to interact with the Clever Cloud API.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.91.0"
name = "clevercloud-sdk"
version = "1.0.0"
authors = ["Florentin Dubois <florentin.dubois@clever-cloud.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust client and structures to interact with the Clever Cloud API."
readme = "README.md"
keywords = [
    "clevercloud",
    "sdk",
    "logging",
    "metrics",
    "jsonschemas",
]
categories = ["api-bindings"]
license = "MIT"
repository = "https://github.com/CleverCloud/clevercloud-sdk-rust"

[features]
default = ["logging"]
jsonschemas = ["schemars"]
logging = [
    "oauth10a/logging",
    "tracing/log-always",
    "log",
]
metrics = ["oauth10a/metrics"]
tracing = [
    "oauth10a/tracing",
    "dep:tracing",
]

[lib]
name = "clevercloud_sdk"
path = "src/lib.rs"

[dependencies.chrono]
version = "^0.4.40"
features = ["serde"]

[dependencies.log]
version = "^0.4.26"
optional = true

[dependencies.oauth10a]
version = "^3.0.0"
features = [
    "client",
    "rest",
]
default-features = false

[dependencies.schemars]
version = "^1.2"
features = [
    "derive",
    "chrono04",
    "indexmap2",
    "uuid1",
    "bytes1",
    "url2",
]
optional = true

[dependencies.serde]
version = "^1.0.219"
features = ["derive"]

[dependencies.serde_json]
version = "^1.0.140"

[dependencies.serde_repr]
version = "^0.1.20"

[dependencies.thiserror]
version = "^2.0.12"

[dependencies.tracing]
version = "^0.1.41"
optional = true

[dependencies.uuid]
version = "^1.16.0"
features = [
    "serde",
    "v4",
]