# 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.86.0"
name = "cloud-hypervisor-client"
version = "0.5.0+api-spec-0.3.0-2026-05-11"
authors = ["Lukas Potthast <privat@lukas-potthast.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unofficial Rust crate for accessing the cloud-hypervisor REST API."
readme = "README.md"
keywords = [
    "cloud-hypervisor",
    "hypervisor",
    "virtualization",
    "vmm",
    "REST-API",
]
categories = [
    "api-bindings",
    "virtualization",
    "web-programming::http-client",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/lpotthast/cloud-hypervisor-client"

[package.metadata.api-spec]
upstream-version = "0.3.0"
regenerated-at = "2026-05-11"

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

[[example]]
name = "get_info"
path = "examples/get_info.rs"

[dependencies.futures]
version = "^0.3"

[dependencies.http]
version = "1"

[dependencies.http-body-util]
version = "0.1.2"

[dependencies.hyper]
version = "^1.3.1"
features = ["full"]

[dependencies.hyper-util]
version = "0.1.5"
features = [
    "client",
    "client-legacy",
    "http1",
    "http2",
]

[dependencies.hyperlocal]
version = "0.9.1"

[dependencies.serde]
version = "1.0.207"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.124"

[dependencies.serde_repr]
version = "0.1.19"

[dependencies.thiserror]
version = "2.0.12"

[dependencies.url]
version = "2.5.2"

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

[dev-dependencies.tokio]
version = "1.39.2"
features = [
    "macros",
    "rt-multi-thread",
]
