# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "lol-core"
version = "0.6.2"
authors = ["Akira Hayakawa <ruby.wktk@gmail.com>"]
description = "A Raft implementation in Rust language."
readme = "../README.md"
keywords = ["raft"]
categories = ["algorithms"]
license = "MIT"
repository = "https://github.com/akiradeveloper/lol"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies.anyhow]
version = "1.0"

[dependencies.async-stream]
version = "0.3"

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

[dependencies.bytes]
version = "0.5.6"

[dependencies.futures]
version = "0.3"

[dependencies.log]
version = "0.4"

[dependencies.phi-detector]
version = "0.3"

[dependencies.prost]
version = "0.6"

[dependencies.rand]
version = "0.7"

[dependencies.rmp]
version = "0.8.9"

[dependencies.rmp-serde]
version = "0.14.3"

[dependencies.rocksdb]
version = "0.15"
optional = true

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

[dependencies.serde_bytes]
version = "0.11"

[dependencies.sync_wrapper]
version = "0.1"

[dependencies.tokio]
version = "0.2"
features = ["macros", "fs"]

[dependencies.tokio-util]
version = "0.3"
features = ["codec"]

[dependencies.tonic]
version = "0.3"
[build-dependencies.tonic-build]
version = "0.3"

[features]
full = ["persistency"]
persistency = ["rocksdb"]
