[package]
name = "korrect"
version = "0.3.8"
authors = ["dan@badpacket.in"]
license = "MIT"
edition = "2024"
repository = "https://gitlab.com/cromulentbanana/korrect/"
description = "A kubectl version managing shim that invokes the correct version of kubectl or helm ☸ "
keywords = ["k8s", "kubectl", "helm"]
include = [
  "**/*.rs",
  "Cargo.toml",
  "Cargo.lock",
  "tests/fixtures/**/*",
]

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

[[bin]]
name = "korrect-shim"
path = "src/bin/korrect-shim.rs"

[dependencies]
#https://doc.rust-lang.org/cargo/reference/resolver.html
anyhow = "^1.0.58"
clap_complete = "4.5.38"
clap_complete_nushell = "4.5.4"
clap = { version = "4.5.21", features = ["derive", "env", "wrap_help"] }
dirs = "6.0.0"
env_logger = "0.11.8"
flate2 = "1.1.2"
indicatif = "0.18.0"
k8s-openapi = { version = "0.25.0", features = ["latest"] }
kube = { version = "1.1.0", features = ["runtime", "derive"] }
log = "0.4.22"
regex = "1.11.1"
semver = "1.0.26"
serde_json = "1.0.133"
serde = { version = "1.0.219", features = ["derive"] }
sha2 = "0.10.8"
simple_logger = "^5"
tar = "0.4.44"
tempfile = "3.14.0"
tokio = { version = "1.45.1", features = ["macros", "rt-multi-thread"] }
toml = "0.9"
ureq = "3.0.11"

[dev-dependencies]
assert_cmd = "2.0.17"
mockito = "1.6.1"
serial_test = "3.2.0"
tempfile = "3.14.0"
