etcd-client 0.19.0

An etcd v3 API client
Documentation
# 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.80.0"
name = "etcd-client"
version = "0.19.0"
authors = ["The etcd-client Authors <davidli2010@foxmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An etcd v3 API client"
homepage = "https://github.com/etcdv3/etcd-client"
documentation = "https://docs.rs/etcd-client/"
readme = "README.md"
keywords = [
    "etcd",
    "v3",
    "api",
    "client",
    "async",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/etcdv3/etcd-client.git"

[package.metadata.docs.rs]
features = [
    "tls",
    "tls-roots",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
build-server = ["pub-response-field"]
pub-response-field = ["visible"]
raw-channel = []
tls = ["tonic/tls-ring"]
tls-openssl = [
    "openssl",
    "hyper-openssl",
    "hyper",
    "hyper-util",
]
tls-openssl-vendored = [
    "tls-openssl",
    "openssl/vendored",
]
tls-roots = [
    "tls",
    "tonic/tls-native-roots",
]

[lib]
name = "etcd_client"
path = "src/lib.rs"

[[example]]
name = "auth"
path = "examples/auth.rs"

[[example]]
name = "auth_role"
path = "examples/auth_role.rs"

[[example]]
name = "auth_user"
path = "examples/auth_user.rs"

[[example]]
name = "cluster"
path = "examples/cluster.rs"

[[example]]
name = "election"
path = "examples/election.rs"

[[example]]
name = "kv"
path = "examples/kv.rs"

[[example]]
name = "lease"
path = "examples/lease.rs"

[[example]]
name = "lock"
path = "examples/lock.rs"

[[example]]
name = "maintenance"
path = "examples/maintenance.rs"

[[example]]
name = "namespace"
path = "examples/namespace.rs"

[[example]]
name = "watch"
path = "examples/watch.rs"

[[test]]
name = "client"
path = "tests/client.rs"

[[test]]
name = "namespace"
path = "tests/namespace.rs"

[[test]]
name = "testing"
path = "tests/testing.rs"

[dependencies.http]
version = "1.1"

[dependencies.hyper]
version = "1.4"
features = ["client"]
optional = true

[dependencies.hyper-openssl]
version = "0.10"
features = [
    "client-legacy",
    "tokio",
]
optional = true

[dependencies.hyper-util]
version = "0.1"
features = ["client-legacy"]
optional = true

[dependencies.openssl]
version = "0.10"
optional = true

[dependencies.prost]
version = "0.14"

[dependencies.tokio]
version = "1"

[dependencies.tokio-stream]
version = "0.1"

[dependencies.tonic]
version = "0.14"

[dependencies.tonic-prost]
version = "0.14"

[dependencies.tower]
version = "0.5"
default-features = false

[dependencies.tower-service]
version = "0.3"

[dependencies.visible]
version = "0.0.1"
optional = true

[dev-dependencies.tokio]
version = "1.38"
features = ["full"]

[build-dependencies.tonic-build]
version = "0.14"
default-features = false

[build-dependencies.tonic-prost-build]
version = "0.14"