# 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 = "garage_rpc" version = "1.0.1" authors = ["Alex Auvolat "] description = "Cluster membership management and RPC protocol for the Garage object store" readme = "README.md" license = "AGPL-3.0" repository = "https://git.deuxfleurs.fr/Deuxfleurs/garage" resolver = "2" [lib] path = "lib.rs" [dependencies.arc-swap] version = "1.0" [dependencies.async-trait] version = "0.1.7" [dependencies.bytes] version = "1.0" [dependencies.bytesize] version = "1.1" [dependencies.err-derive] version = "0.3" optional = true [dependencies.format_table] version = "0.1.1" [dependencies.futures] version = "0.3" [dependencies.futures-util] version = "0.3" [dependencies.garage_db] version = "1.0.1" default-features = false [dependencies.garage_net] version = "1.0.1" [dependencies.garage_util] version = "1.0.1" [dependencies.gethostname] version = "0.4" [dependencies.hex] version = "0.4" [dependencies.ipnet] version = "2.9.0" [dependencies.itertools] version = "0.12" [dependencies.k8s-openapi] version = "0.21" features = ["v1_24"] optional = true [dependencies.kube] version = "0.88" features = [ "runtime", "derive", "client", "rustls-tls", ] optional = true default-features = false [dependencies.nix] version = "0.27" features = ["fs"] default-features = false [dependencies.opentelemetry] version = "0.17" features = [ "rt-tokio", "metrics", "trace", ] [dependencies.pnet_datalink] version = "0.34" [dependencies.rand] version = "0.8" [dependencies.reqwest] version = "0.11" features = [ "rustls-tls-manual-roots", "json", ] optional = true default-features = false [dependencies.schemars] version = "0.8" optional = true [dependencies.serde] version = "1.0" features = [ "derive", "rc", ] default-features = false [dependencies.serde_bytes] version = "0.11" [dependencies.serde_json] version = "1.0" [dependencies.sodiumoxide] version = "0.2.5-0" package = "kuska-sodiumoxide" [dependencies.tokio] version = "1.0" features = [ "net", "rt", "rt-multi-thread", "io-util", "net", "time", "macros", "sync", "signal", "fs", ] default-features = false [dependencies.tokio-stream] version = "0.1" features = ["net"] [dependencies.tracing] version = "0.1" [features] consul-discovery = [ "reqwest", "err-derive", ] kubernetes-discovery = [ "kube", "k8s-openapi", "schemars", ] system-libs = ["sodiumoxide/use-pkg-config"]