[[bin]]
doc = false
name = "kubectl-view-allocations"
path = "src/main.rs"
required-features = ["cli"]
[dependencies.chrono]
version = "0.4"
[dependencies.clap]
features = ["derive"]
version = "4.5"
[dependencies.color-eyre]
version = "0.6"
[dependencies.itertools]
version = "0.14"
[dependencies.k8s-openapi]
default-features = false
version = "0.24"
[dependencies.kube]
default-features = false
features = ["client", "oauth", "gzip", "rustls-tls", "socks5"]
version = "0.98"
[dependencies.prettytable-rs]
default-features = false
optional = true
version = "0.10"
[dependencies.serde]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
features = ["full"]
optional = true
version = "1"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-bunyan-formatter]
optional = true
version = "0.3"
[dependencies.tracing-error]
version = "0.2"
[dependencies.tracing-subscriber]
default-features = false
features = ["env-filter"]
optional = true
version = "0.3"
[dev-dependencies.anyhow]
version = "1"
[dev-dependencies.pretty_assertions]
version = "1"
[[example]]
name = "pod_api"
path = "examples/pod_api.rs"
[features]
cli = ["dep:tokio", "k8s-openapi/earliest", "dep:tracing-subscriber", "prettytable"]
default = ["cli"]
prettytable = ["dep:prettytable-rs"]
[lib]
name = "kubectl_view_allocations"
path = "src/lib.rs"
[package]
authors = ["David Bernard"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "kubectl plugin to list allocations (cpu, memory, gpu,... X utilization, requested, limit, allocatable,...)"
edition = "2021"
exclude = ["/.github", ".gitignore"]
homepage = "https://github.com/davidB/kubectl-view-allocations"
keywords = ["kubectl", "k8s"]
license = "CC0-1.0"
name = "kubectl-view-allocations"
readme = "README.md"
repository = "https://github.com/davidB/kubectl-view-allocations"
version = "0.20.2"
[profile.dev.package.backtrace]
opt-level = 3
[profile.release]
codegen-units = 1
lto = true
opt-level = "z"
panic = "abort"
strip = true