crafty-core 0.2.2

Pure Raft consensus state machine for the crafty framework (no I/O).
Documentation
# 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 = "2024"
rust-version = "1.90"
name = "crafty-core"
version = "0.2.2"
authors = ["crafty contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Raft consensus state machine for the crafty framework (no I/O)."
homepage = "https://gitlab.com/lemarco/craft"
readme = "README.md"
keywords = [
    "raft",
    "actor",
    "distributed",
    "consensus",
    "cluster",
]
categories = [
    "concurrency",
    "network-programming",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://gitlab.com/lemarco/craft"

[package.metadata.docs.rs]
all-features = true

[lib]
name = "crafty_core"
path = "src/lib.rs"

[[test]]
name = "append_entries"
path = "tests/append_entries.rs"

[[test]]
name = "election"
path = "tests/election.rs"

[[test]]
name = "learner"
path = "tests/learner.rs"

[[test]]
name = "lease_read"
path = "tests/lease_read.rs"

[[test]]
name = "membership"
path = "tests/membership.rs"

[[test]]
name = "persistence"
path = "tests/persistence.rs"

[[test]]
name = "queue_autoscale_policy"
path = "tests/queue_autoscale_policy.rs"

[[test]]
name = "reachability_hysteresis"
path = "tests/reachability_hysteresis.rs"

[[test]]
name = "reachable"
path = "tests/reachable.rs"

[[test]]
name = "read_index"
path = "tests/read_index.rs"

[[test]]
name = "replication"
path = "tests/replication.rs"

[[test]]
name = "request_vote"
path = "tests/request_vote.rs"

[[test]]
name = "saga_journal"
path = "tests/saga_journal.rs"

[[test]]
name = "snapshot"
path = "tests/snapshot.rs"

[[test]]
name = "state_machine"
path = "tests/state_machine.rs"

[[test]]
name = "two_phase_client_journal"
path = "tests/two_phase_client_journal.rs"

[[test]]
name = "two_phase_journal"
path = "tests/two_phase_journal.rs"

[dependencies.crafty-proto]
version = "0.2.2"

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

[dependencies.tracing]
version = "0.1"

[lints.rust]
missing_docs = "deny"
unsafe_code = "forbid"