# 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"
name = "bestool-canopy"
version = "0.1.1"
authors = [
    "Félix Saparelli <felix@passcod.name>",
    "BES Developers <contact@bes.au>",
]
build = false
exclude = [
    "release.toml",
    "update-usage.sh",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "(Internal) BES tooling: Canopy client"
readme = false
license = "GPL-3.0-or-later"
repository = "https://github.com/beyondessential/bestool/tree/main/crates/canopy"
resolver = "2"

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

[dependencies.flate2]
version = "1.0.34"

[dependencies.futures]
version = "0.3.30"

[dependencies.hickory-resolver]
version = "0.26.1"

[dependencies.jiff]
version = "0.2.24"
features = ["serde"]

[dependencies.miette]
version = "7.6.0"

[dependencies.rcgen]
version = "0.14.8"

[dependencies.reqwest]
version = "0.13.3"
features = [
    "json",
    "rustls",
]

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

[dependencies.serde_json]
version = "1.0.145"

[dependencies.time]
version = "0.3"

[dependencies.tokio]
version = "1.47.1"
features = [
    "sync",
    "time",
]

[dependencies.tracing]
version = "0.1.43"
features = ["attributes"]

[lints.rust]
unsafe_code = "forbid"

[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1
