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