# 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"
name = "gtc"
version = "0.9.20"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Greentic - The operation system for digital workers"
homepage = "https://greentic.ai"
readme = "README.md"
license = "MIT"
repository = "https://github.com/greenticai/greentic"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }.{ archive-format }"
bin-dir = "gtc-{ target }/{ bin }{ binary-ext }"
pkg-fmt = "tgz"

[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip"

[package.metadata.binstall.overrides.aarch64-pc-windows-msvc]
pkg-fmt = "zip"

[[bin]]
name = "gtc"
path = "src/bin/gtc.rs"

[[test]]
name = "gtc_router_integration"
path = "tests/gtc_router_integration.rs"

[dependencies.clap]
version = "4.5"
features = ["std"]

[dependencies.directories]
version = "6"

[dependencies.flate2]
version = "1.1"

[dependencies.greentic-distributor-client]
version = "0.4"
features = [
    "dist-client",
    "oci-components",
]

[dependencies.greentic-i18n]
version = "0.4"

[dependencies.greentic-start]
version = "0.4"

[dependencies.oci-distribution]
version = "0.11"
features = ["rustls-tls"]
default-features = false

[dependencies.rcgen]
version = "0.14"

[dependencies.reqwest]
version = "0.13"
features = [
    "blocking",
    "rustls",
]
default-features = false

[dependencies.rpassword]
version = "7.4"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.tar]
version = "0.4"

[dependencies.tempfile]
version = "3.23"

[dependencies.tokio]
version = "1.48"
features = ["rt"]

[dependencies.zip]
version = "8"
features = ["deflate"]
default-features = false
