# 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 = "snap-kube" version = "0.1.1" build = false exclude = ["script.sh"] autobins = false autoexamples = false autotests = false autobenches = false description = "The snap-kube is a Rust-based tool that can backup and restore Kubernetes PVCs across namespaces using AWS EBS snapshots" homepage = "https://github.com/nikoshet/snap-kube" documentation = "https://docs.rs/snap-kube" readme = "README.md" keywords = [ "k8s", "pvc", "snapshot", "ebs", "aws", ] license = "MIT" repository = "https://github.com/nikoshet/snap-kube" [lib] name = "snap_kube" crate-type = ["lib"] path = "src/lib.rs" test = true edition = "2021" [dependencies.anyhow] version = "1.0.89" [dependencies.async-trait] version = "0.1.83" [dependencies.aws-config] version = "1.5.7" [dependencies.aws-sdk-ec2] version = "1.75.0" [dependencies.clap] version = "4.5.20" features = ["derive"] [dependencies.colored] version = "2.1.0" [dependencies.k8s-openapi] version = "0.23.0" features = ["v1_30"] [dependencies.kube] version = "0.96.0" features = [ "runtime", "derive", ] [dependencies.kube-custom-resources-rs] version = "2024.9.1" features = ["snapshot_storage_k8s_io"] [dependencies.mockall] version = "0.13" [dependencies.pretty_assertions] version = "1.4.1" [dependencies.schemars] version = "0.8.21" [dependencies.serde] version = "1.0.210" [dependencies.serde_json] version = "1.0.128" [dependencies.tokio] version = "1" features = ["full"] [dependencies.tracing] version = "0.1.40" [dependencies.tracing-subscriber] version = "0.3.18" [features] backup = [] default = ["full"] full = [ "backup", "restore", ] restore = []