elock 0.1.1

A lightweight distributed lock implementation built on top of etcd using leases and watch
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 = "2024"
name = "elock"
version = "0.1.1"
authors = ["CeerDecy <CeerDecy@163.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight distributed lock implementation built on top of etcd using leases and watch"
readme = "README.md"
keywords = [
    "distributed-lock",
    "etcd",
    "rust",
]
categories = [
    "concurrency",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/nautilus-ops/elock"

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

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

[dependencies.etcd-client]
version = "0.15.0"
features = ["tls"]

[dependencies.tokio]
version = "1.46.1"
features = ["full"]

[dependencies.tokio-util]
version = "0.7.15"

[dependencies.tracing]
version = "0.1.41"

[dependencies.tracing-subscriber]
version = "0.3.19"
features = ["env-filter"]