# 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" name = "power-consistent-hash" version = "0.1.0" authors = ["Rinat Shigapov "] exclude = ["*.svg"] description = "Power consistent hash - constant expected time constant memory consistent hash" readme = "README.md" keywords = [ "consistent-hashing", "load-balancing", "sharding", ] categories = ["algorithms"] license = "Apache-2.0" repository = "https://github.com/DXist/power-consistent-hash" [[bench]] name = "pch_benchmark" harness = false [[bench]] name = "seahash_pch_benchmark" harness = false required-features = ["seahash-bench"] [dependencies.seahash] version = "4.1" optional = true [dependencies.thiserror] version = "1" [dependencies.tracing] version = "0.1" features = ["release_max_level_debug"] [dependencies.uuid] version = "1" features = ["v4"] optional = true [dev-dependencies.criterion] version = "0.5" [dev-dependencies.tracing-subscriber] version = "0.3" [features] seahash = ["dep:seahash"] seahash-bench = [ "seahash", "dep:uuid", ]