ctfs 1.0.2

Causal consistency at nanosecond latency. Algebraic invariants without coordination.
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 = "2021"
name = "ctfs"
version = "1.0.2"
authors = ["abokhalill"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Causal consistency at nanosecond latency. Algebraic invariants without coordination."
documentation = "https://docs.rs/cuttlefish"
readme = "README.md"
keywords = [
    "distributed-systems",
    "causality",
    "crdt",
    "invariants",
    "consensus-free",
]
categories = [
    "concurrency",
    "data-structures",
    "algorithms",
]
license = "MIT"
repository = "https://github.com/abokhalill/cuttlefish"

[features]
default = ["std"]
networking = [
    "std",
    "tokio",
    "crc32fast",
]
persistence = [
    "std",
    "io-uring",
    "crc32fast",
]
std = [
    "libc",
    "blake3/std",
]

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

[[example]]
name = "basic_kernel"
path = "examples/basic_kernel.rs"

[[example]]
name = "custom_invariant"
path = "examples/custom_invariant.rs"

[[example]]
name = "escalating_kernel"
path = "examples/escalating_kernel.rs"

[[example]]
name = "graph_invariant"
path = "examples/graph_invariant.rs"

[[example]]
name = "multi_tenant"
path = "examples/multi_tenant.rs"

[[example]]
name = "two_lane_kernel"
path = "examples/two_lane_kernel.rs"

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

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

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

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

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

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

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

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

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

[[bench]]
name = "comparative"
path = "benches/comparative.rs"
harness = false

[[bench]]
name = "delta_i"
path = "benches/delta_i.rs"
harness = false

[[bench]]
name = "durable_admission"
path = "benches/durable_admission.rs"
harness = false
required-features = ["persistence"]

[[bench]]
name = "escalation"
path = "benches/escalation.rs"
harness = false

[[bench]]
name = "evaluation"
path = "benches/evaluation.rs"
harness = false

[[bench]]
name = "hardening"
path = "benches/hardening.rs"
harness = false

[[bench]]
name = "kernel"
path = "benches/kernel.rs"
harness = false

[[bench]]
name = "metrics_overhead"
path = "benches/metrics_overhead.rs"
harness = false

[[bench]]
name = "multi_invariant"
path = "benches/multi_invariant.rs"
harness = false

[[bench]]
name = "network_simulation"
path = "benches/network_simulation.rs"
harness = false
required-features = ["networking"]

[[bench]]
name = "reanchor"
path = "benches/reanchor.rs"
harness = false

[[bench]]
name = "two_lane"
path = "benches/two_lane.rs"
harness = false

[dependencies.arrayvec]
version = "0.7.6"
default-features = false

[dependencies.blake3]
version = "1.5"
default-features = false

[dependencies.crc32fast]
version = "1.4"
optional = true

[dependencies.libc]
version = "0.2"
optional = true

[dependencies.tokio]
version = "1.48"
features = [
    "net",
    "rt-multi-thread",
    "sync",
    "time",
    "macros",
    "io-util",
]
optional = true

[dependencies.zerocopy]
version = "0.8.33"
features = ["derive"]
default-features = false

[dev-dependencies.criterion]
version = "0.8.1"
features = ["html_reports"]

[dev-dependencies.proptest]
version = "1.5"

[target.'cfg(target_os = "linux")'.dependencies.io-uring]
version = "0.7"
optional = true

[profile.bench]
opt-level = 3
lto = "fat"
codegen-units = 1
debug = 2

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"