# 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 = "2018" name = "kube-leader-election" version = "0.38.0" authors = ["Hendrik Maus "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Leader election implementations for Kubernetes workloads" readme = "README.md" license = "MIT" repository = "https://github.com/hendrikmaus/kube-leader-election" [lib] name = "kube_leader_election" path = "src/lib.rs" [[example]] name = "shared-lease" path = "examples/shared-lease.rs" [[example]] name = "simple-lease" path = "examples/simple-lease.rs" [[test]] name = "create-lease" path = "tests/create-lease.rs" [[test]] name = "leader-election" path = "tests/leader-election.rs" [[test]] name = "release-lease" path = "tests/release-lease.rs" [[test]] name = "utils" path = "tests/utils.rs" [dependencies.chrono] version = "0.4" default-features = false [dependencies.k8s-openapi] version = ">=0.20" [dependencies.kube] version = "0.97" features = ["client"] default-features = false [dependencies.log] version = "0.4" [dependencies.serde] version = "1" [dependencies.serde_json] version = "1" [dependencies.thiserror] version = "1" [dev-dependencies.anyhow] version = "1" [dev-dependencies.cmd_lib] version = "1" [dev-dependencies.env_logger] version = "0.10" [dev-dependencies.k8s-openapi] version = ">=0.20" features = ["v1_28"] [dev-dependencies.kube] version = "0.97" [dev-dependencies.rand] version = "0.8" [dev-dependencies.tokio] version = "1" features = [ "macros", "rt-multi-thread", ]