bin = [
    { name = "gtc-dev", path = "src/bin/gtc.rs" },
]
bench = [
    { name = "perf", harness = false },
]

[package]
name = "gtc-dev"
version = "1.2.29076234023"
edition = "2024"
rust-version = "1.95"
description = "Greentic - The digital workers operating system"
license = "MIT"
repository = "https://github.com/greenticai/greentic"
homepage = "https://greentic.ai"
build = "build.rs"
exclude = [
    "greentic_readme_assets/**",
    ".i18n/translator-state.json",
    ".greentic/**",
    ".codex/**",
    "myfirst.gtbundle/**",
]

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

[dependencies]
backhand = "0.25"
directories = "6"
flate2 = "1.1"
greentic-i18n-lib = ">=1.2.0-dev, <1.3.0-0"
greentic-types = ">=1.2.0-dev, <1.3.0-0"
rcgen = "0.14"
rpassword = "7.4"
serde_json = "1.0"
serde_yaml_bw = "2.5"
sha2 = "0.11"
tar = "0.4"
tempfile = "3.23"
thiserror = "2.0"
which = "8"
zeroize = "1.8"

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

[dependencies.greentic-distributor-client]
version = ">=1.2.0-dev, <1.3.0-0"
features = [
    "dist-client",
    "oci-components",
    "pack-fetch",
]

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

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

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

[dependencies.tokio]
version = "1.52"
features = [
    "rt",
]

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

[dev-dependencies]
criterion = "0.8"
insta = "1.43"
proptest = "1.7"

[lib]
name = "gtc"
