[package]
edition = "2024"
rust-version = "1.95"
name = "greentic-extension-sdk-cli"
version = "1.2.22"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "gtdx: CLI for Greentic Designer Extensions"
readme = false
license = "MIT"
repository = "https://github.com/greenticai/greentic-designer-sdk"
resolver = "2"
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/gtdx-v{ version }-{ target }{ archive-suffix }"
pkg-fmt = "tgz"
bin-dir = "gtdx-v{ version }-{ target }/gtdx{ binary-ext }"
[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 = "gtdx"
path = "src/main.rs"
[[test]]
name = "addon_e2e"
path = "tests/addon_e2e.rs"
[[test]]
name = "addon_scaffold_e2e"
path = "tests/addon_scaffold_e2e.rs"
[[test]]
name = "cli_dev_once"
path = "tests/cli_dev_once.rs"
[[test]]
name = "cli_dev_watch"
path = "tests/cli_dev_watch.rs"
[[test]]
name = "cli_disable"
path = "tests/cli_disable.rs"
[[test]]
name = "cli_doctor_signal"
path = "tests/cli_doctor_signal.rs"
[[test]]
name = "cli_e2e"
path = "tests/cli_e2e.rs"
[[test]]
name = "cli_enable"
path = "tests/cli_enable.rs"
[[test]]
name = "cli_list"
path = "tests/cli_list.rs"
[[test]]
name = "cli_new"
path = "tests/cli_new/main.rs"
[[test]]
name = "cli_outdated"
path = "tests/cli_outdated.rs"
[[test]]
name = "cli_publish"
path = "tests/cli_publish.rs"
[[test]]
name = "cli_registries"
path = "tests/cli_registries.rs"
[[test]]
name = "cli_update"
path = "tests/cli_update.rs"
[[test]]
name = "contract_version_consistency"
path = "tests/contract_version_consistency.rs"
[[test]]
name = "dev_mount_smoke"
path = "tests/dev_mount_smoke.rs"
[[test]]
name = "lint_governance"
path = "tests/lint_governance.rs"
[[test]]
name = "lint_smoke"
path = "tests/lint_smoke.rs"
[[test]]
name = "openapi_generated_compiles"
path = "tests/openapi_generated_compiles.rs"
[[test]]
name = "provider_commands"
path = "tests/provider_commands/main.rs"
[[test]]
name = "rescaffold_reference_exts"
path = "tests/rescaffold_reference_exts.rs"
[[test]]
name = "sign_verify_cmd"
path = "tests/sign_verify_cmd.rs"
[[test]]
name = "templates_schema_conformance"
path = "tests/templates_schema_conformance.rs"
[[test]]
name = "wit_addon_parses"
path = "tests/wit_addon_parses.rs"
[dependencies.anstyle]
version = "1"
[dependencies.anyhow]
version = "1"
[dependencies.base64]
version = "0.22"
[dependencies.chrono]
version = "0.4"
features = [
"serde",
"clock",
]
default-features = false
[dependencies.clap]
version = "4.5"
features = [
"derive",
"env",
]
[dependencies.dialoguer]
version = "0.11"
[dependencies.directories]
version = "5"
[dependencies.ed25519-dalek]
version = "2.1"
features = [
"serde",
"rand_core",
"pkcs8",
"pem",
]
[dependencies.greentic-extension-sdk-contract]
version = "=1.2.22"
[dependencies.greentic-extension-sdk-registry]
version = "=1.2.22"
[dependencies.greentic-extension-sdk-state]
version = "=1.2.22"
[dependencies.greentic-types]
version = "=1.3.0-research.1"
features = [
"std",
"serde",
]
default-features = false
[dependencies.include_dir]
version = "0.7"
[dependencies.notify-debouncer-full]
version = "0.4"
[dependencies.openapiv3]
version = "2"
[dependencies.pkcs8]
version = "0.10"
features = ["pem"]
[dependencies.rand]
version = "0.8"
[dependencies.reqwest]
version = "0.12"
features = [
"rustls-tls",
"json",
"stream",
"multipart",
]
default-features = false
[dependencies.semver]
version = "1"
features = ["serde"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = ["preserve_order"]
[dependencies.serde_yaml_bw]
version = "2"
[dependencies.sha2]
version = "0.10"
[dependencies.tempfile]
version = "3"
[dependencies.time]
version = "0.3"
features = [
"formatting",
"macros",
]
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"sync",
"signal",
"time",
"fs",
"io-util",
"process",
]
[dependencies.tokio-util]
version = "0.7"
features = [
"io",
"rt",
]
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dependencies.walkdir]
version = "2"
[dependencies.which]
version = "6"
[dependencies.zip]
version = "2"
features = ["deflate"]
default-features = false
[dev-dependencies.greentic-extension-sdk-testing]
version = "=1.2.22"
[dev-dependencies.jsonschema]
version = "0.30"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.wiremock]
version = "0.6"
[dev-dependencies.wit-parser]
version = "0.258.0"
[build-dependencies.anyhow]
version = "1"
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1