# 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 = "korrect"
version = "0.3.8"
authors = ["dan@badpacket.in"]
build = "build.rs"
include = [
    "**/*.rs",
    "Cargo.toml",
    "Cargo.lock",
    "tests/fixtures/**/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A kubectl version managing shim that invokes the correct version of kubectl or helm ☸ "
readme = "README.md"
keywords = [
    "k8s",
    "kubectl",
    "helm",
]
license = "MIT"
repository = "https://gitlab.com/cromulentbanana/korrect/"

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

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

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

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

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

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

[dependencies.anyhow]
version = "^1.0.58"

[dependencies.clap]
version = "4.5.21"
features = [
    "derive",
    "env",
    "wrap_help",
]

[dependencies.clap_complete]
version = "4.5.38"

[dependencies.clap_complete_nushell]
version = "4.5.4"

[dependencies.dirs]
version = "6.0.0"

[dependencies.env_logger]
version = "0.11.8"

[dependencies.flate2]
version = "1.1.2"

[dependencies.indicatif]
version = "0.18.0"

[dependencies.k8s-openapi]
version = "0.25.0"
features = ["latest"]

[dependencies.kube]
version = "1.1.0"
features = [
    "runtime",
    "derive",
]

[dependencies.log]
version = "0.4.22"

[dependencies.regex]
version = "1.11.1"

[dependencies.semver]
version = "1.0.26"

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

[dependencies.serde_json]
version = "1.0.133"

[dependencies.sha2]
version = "0.10.8"

[dependencies.simple_logger]
version = "^5"

[dependencies.tar]
version = "0.4.44"

[dependencies.tempfile]
version = "3.14.0"

[dependencies.tokio]
version = "1.45.1"
features = [
    "macros",
    "rt-multi-thread",
]

[dependencies.toml]
version = "0.9"

[dependencies.ureq]
version = "3.0.11"

[dev-dependencies.assert_cmd]
version = "2.0.17"

[dev-dependencies.mockito]
version = "1.6.1"

[dev-dependencies.serial_test]
version = "3.2.0"

[dev-dependencies.tempfile]
version = "3.14.0"
