# 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" rust-version = "1.77.2" name = "kube-lease-manager" version = "0.5.0" authors = ["Oleksii Karpenko "] build = false exclude = [ ".github/**", ".vscode/**", "TODO.md", "Cargo.lock", "target/**", ".gitignore", ".cargo/**", "mutants.*/**", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Ergonomic and reliable leader election using Kubernetes Lease API." homepage = "https://github.com/alex-karpenko/kube-lease-manager" readme = "README.md" keywords = [ "kubernetes", "async", "lease", "leader", "election", ] categories = [ "api-bindings", "asynchronous", ] license = "MIT" repository = "https://github.com/alex-karpenko/kube-lease-manager" [package.metadata.docs.rs] features = ["k8s-openapi/v1_26"] [lib] name = "kube_lease_manager" path = "src/lib.rs" [[example]] name = "jobs_logger" path = "examples/jobs_logger.rs" [[test]] name = "auto" path = "tests/auto.rs" [[test]] name = "manual" path = "tests/manual.rs" [[test]] name = "watch_many_threads" path = "tests/watch_many_threads.rs" [dependencies.k8s-openapi] version = "0.23.0" default-features = false [dependencies.kube] version = "0.96.0" features = ["client"] default-features = false [dependencies.rand] version = "0.8.5" [dependencies.thiserror] version = "1.0.61" [dependencies.tokio] version = "1.38.0" features = [ "sync", "time", "macros", ] default-features = false [dependencies.tracing] version = "0.1.40" features = ["std"] default-features = false [dev-dependencies.anyhow] version = "1.0.89" [dev-dependencies.futures] version = "0.3.31" features = ["async-await"] default-features = false [dev-dependencies.kube] version = "0.96.0" features = [ "rustls-tls", "runtime", ] default-features = false [dev-dependencies.tokio] version = "1.38.0" features = ["rt-multi-thread"] default-features = false [dev-dependencies.tracing-subscriber] version = "0.3.18" [dev-dependencies.uuid] version = "1.10.0" features = ["v4"]