ash-lock 0.1.0

Distributed coordination / locking for the ash-* ecosystem (etcd-backed; in-memory by default)
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"
rust-version = "1.88"
name = "ash-lock"
version = "0.1.0"
authors = ["Giorgos Ntemiris <gntem@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Distributed coordination / locking for the ash-* ecosystem (etcd-backed; in-memory by default)"
readme = "README.md"
keywords = [
    "lock",
    "distributed",
    "etcd",
    "coordination",
    "mutex",
]
categories = [
    "concurrency",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ashforge-rs/ash-lock"

[features]
ash-time = ["dep:ash-time"]
default = []
etcd = ["dep:etcd-client"]

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

[dependencies.ash-time]
version = "1"
optional = true

[dependencies.async-trait]
version = "0.1"

[dependencies.dashmap]
version = "6.1"

[dependencies.etcd-client]
version = "0.19"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.thiserror]
version = "2.0"

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

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tokio]
version = "1.0"
features = [
    "full",
    "test-util",
]

[dev-dependencies.tracing-subscriber]
version = "0.3"