[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0"
[dependencies.siphasher]
version = "1.0.1"
[dev-dependencies.rand]
version = "0.9.2"
[dev-dependencies.serde_json]
version = "1.0.145"
[[example]]
name = "cluster"
path = "examples/cluster.rs"
[[example]]
name = "simple"
path = "examples/simple.rs"
[features]
derive = ["serde"]
[lib]
name = "hashring_coordinator"
path = "src/lib.rs"
[package]
authors = ["Sebastian Detert <rust-crates@elygor.de>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["algorithms", "command-line-utilities", "config", "data-structures", "database-implementations"]
description = "Calculates hash ranges to help coordinate a hashring (using consistent hashing) for storing and finding keys, and replicating keys between nodes if the cluster changes (add, remove nodes) or between two clusters (for example during deployments) "
edition = "2024"
keywords = ["hashring", "consistent_hashing", "coordinator", "replication", "in_memory_cluster"]
license = "MIT"
name = "hashring_coordinator"
readme = "README.md"
repository = "https://github.com/Thomblin/hashring_coordinator"
version = "0.3.1"
[[test]]
name = "feature_derive_test"
path = "tests/feature_derive_test.rs"