[package]
edition = "2024"
rust-version = "1.88"
name = "simraft-core"
version = "0.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sans-I/O Raft consensus core with Pre-Vote, fast log backup, ReadIndex, snapshots, and single-server membership"
documentation = "https://docs.rs/simraft-core"
readme = "README.md"
keywords = [
"raft",
"consensus",
"replication",
"sans-io",
"deterministic",
]
categories = ["algorithms"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/david-engelmann/simraft-kv"
resolver = "2"
[lib]
name = "simraft_core"
path = "src/lib.rs"
[[example]]
name = "embed"
path = "examples/embed.rs"
[[test]]
name = "batching"
path = "tests/batching.rs"
[[test]]
name = "error_context"
path = "tests/error_context.rs"
[[test]]
name = "property_commit"
path = "tests/property_commit.rs"
[[test]]
name = "property_config"
path = "tests/property_config.rs"
[[test]]
name = "property_dedup"
path = "tests/property_dedup.rs"
[[test]]
name = "property_election"
path = "tests/property_election.rs"
[[test]]
name = "property_log"
path = "tests/property_log.rs"
[[test]]
name = "property_membership"
path = "tests/property_membership.rs"
[[test]]
name = "property_persist"
path = "tests/property_persist.rs"
[[test]]
name = "property_prevote"
path = "tests/property_prevote.rs"
[[test]]
name = "property_progress"
path = "tests/property_progress.rs"
[[test]]
name = "property_readindex"
path = "tests/property_readindex.rs"
[[test]]
name = "property_snapshot"
path = "tests/property_snapshot.rs"
[[test]]
name = "single_voter"
path = "tests/single_voter.rs"
[[test]]
name = "stats"
path = "tests/stats.rs"
[[bench]]
name = "replication"
path = "benches/replication.rs"
harness = false
[[bench]]
name = "step_allocations"
path = "benches/step_allocations.rs"
harness = false
[dev-dependencies.criterion]
version = "0.8"
[dev-dependencies.proptest]
version = "1"
[lints.clippy]
all = "deny"
allow_attributes_without_reason = "deny"
nursery = "deny"
pedantic = "deny"
todo = "deny"
unimplemented = "deny"
[lints.rust]
missing_docs = "warn"