# 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 = "openraft" version = "0.9.17" authors = [ "Databend Authors ", "Anthony Dodd ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Advanced Raft consensus" homepage = "https://github.com/datafuselabs/openraft" documentation = "https://docs.rs/openraft" readme = "README.md" keywords = [ "raft", "consensus", ] categories = [ "algorithms", "asynchronous", "data-structures", ] license = "MIT OR Apache-2.0" repository = "https://github.com/datafuselabs/openraft" [package.metadata.docs.rs] features = [ "bt", "compat", "generic-snapshot-data", "loosen-follower-log-revert", "serde", "storage-v2", "tracing-log", ] [lib] name = "openraft" path = "src/lib.rs" [dependencies.anyerror] version = "0.1.10" [dependencies.anyhow] version = "1.0.63" optional = true [dependencies.byte-unit] version = "5.1.4" [dependencies.chrono] version = "0.4" [dependencies.clap] version = "4.1.11" features = [ "derive", "env", ] [dependencies.derive_more] version = "1.0" features = [ "std", "from", "try_into", "display", ] [dependencies.futures] version = "0.3" [dependencies.maplit] version = "1.0.2" [dependencies.openraft-macros] version = "0.9.6" [dependencies.rand] version = "0.8" [dependencies.serde] version = "1.0.114" features = [ "derive", "rc", ] optional = true [dependencies.serde_json] version = "1.0.57" optional = true [dependencies.thiserror] version = "1.0.49" [dependencies.tokio] version = "1.22" features = [ "io-util", "macros", "rt", "rt-multi-thread", "sync", "time", ] default-features = false [dependencies.tracing] version = "0.1.40" [dependencies.tracing-futures] version = "0.2.4" [dependencies.validit] version = "0.2.2" [dev-dependencies.anyhow] version = "1.0.63" [dev-dependencies.async-entry] version = "0.3.1" [dev-dependencies.pretty_assertions] version = "1.0.0" [dev-dependencies.serde_json] version = "1.0.57" [features] bench = [] bt = [ "anyerror/backtrace", "anyhow/backtrace", ] compat = [] generic-snapshot-data = [] loosen-follower-log-revert = [] serde = ["dep:serde"] single-term-leader = [] singlethreaded = ["openraft-macros/singlethreaded"] storage-v2 = [] tracing-log = ["tracing/log"]