[package]
edition = "2021"
rust-version = "1.94"
name = "osproxy-etcd"
version = "1.0.2"
authors = ["Huy Nguyen"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reference distributed DirectiveStore backed by etcd v3: a watch-fed, locally-cached fleet directive set."
readme = false
license = "Apache-2.0"
repository = "https://github.com/huyz0/opensearch-proxy"
[lib]
name = "osproxy_etcd"
path = "src/lib.rs"
[[test]]
name = "etcd_live"
path = "tests/etcd_live.rs"
[dependencies.arc-swap]
version = "1"
[dependencies.etcd-client]
version = "0.19"
default-features = false
[dependencies.osproxy-core]
version = "1.0.2"
[dependencies.osproxy-observe]
version = "1.0.2"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt",
"sync",
]
default-features = false
[dev-dependencies.testcontainers]
version = "0.26"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"time",
]
default-features = false
[lints.clippy]
cognitive_complexity = "warn"
expect_used = "deny"
module_name_repetitions = "allow"
panic = "deny"
todo = "deny"
too_many_arguments = "warn"
too_many_lines = "warn"
unimplemented = "deny"
unwrap_used = "deny"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"