[package]
edition = "2021"
rust-version = "1.80"
name = "durability"
version = "0.3.0"
authors = ["Arc <attobop@gmail.com>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Crash-consistent persistence primitives: directory abstraction, generic WAL, checkpoints, and recovery."
homepage = "https://github.com/arclabs561/durability"
documentation = "https://docs.rs/durability"
readme = "README.md"
keywords = [
"persistence",
"wal",
"checkpoint",
"durability",
]
categories = [
"filesystem",
"database-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/arclabs561/durability"
[features]
default = []
[lib]
name = "durability"
path = "src/lib.rs"
[[example]]
name = "segment_lifecycle"
path = "examples/segment_lifecycle.rs"
[[test]]
name = "crashloop_publish_powerloss"
path = "tests/crashloop_publish_powerloss.rs"
[[test]]
name = "e2e_checkpoint_wal_recovery"
path = "tests/e2e_checkpoint_wal_recovery.rs"
[[test]]
name = "e2e_durable_directory"
path = "tests/e2e_durable_directory.rs"
[[test]]
name = "e2e_publish_checkpoint"
path = "tests/e2e_publish_checkpoint.rs"
[[test]]
name = "e2e_walog_append_then_complete"
path = "tests/e2e_walog_append_then_complete.rs"
[[test]]
name = "fault_countdown_recovery"
path = "tests/fault_countdown_recovery.rs"
[[test]]
name = "fault_publish_checkpoint"
path = "tests/fault_publish_checkpoint.rs"
[[test]]
name = "fault_publish_matrix"
path = "tests/fault_publish_matrix.rs"
[[test]]
name = "prop_crash_recovery_model"
path = "tests/prop_crash_recovery_model.rs"
[[test]]
name = "prop_parser_robustness"
path = "tests/prop_parser_robustness.rs"
[[test]]
name = "prop_publish_cadence_invariance"
path = "tests/prop_publish_cadence_invariance.rs"
[[test]]
name = "prop_publish_lifecycle"
path = "tests/prop_publish_lifecycle.rs"
[[test]]
name = "prop_recordlog_prefix"
path = "tests/prop_recordlog_prefix.rs"
[[test]]
name = "prop_streaming_replay"
path = "tests/prop_streaming_replay.rs"
[[test]]
name = "prop_wal_resume"
path = "tests/prop_wal_resume.rs"
[[test]]
name = "prop_wal_resume_multiseg"
path = "tests/prop_wal_resume_multiseg.rs"
[[test]]
name = "prop_wal_segmentation_invariance"
path = "tests/prop_wal_segmentation_invariance.rs"
[[test]]
name = "prop_walog_negative_corpus"
path = "tests/prop_walog_negative_corpus.rs"
[[test]]
name = "prop_walog_prefix"
path = "tests/prop_walog_prefix.rs"
[[test]]
name = "soak_publish_truncate"
path = "tests/soak_publish_truncate.rs"
[[bench]]
name = "bench_checkpoint"
path = "benches/bench_checkpoint.rs"
harness = false
[[bench]]
name = "bench_recordlog"
path = "benches/bench_recordlog.rs"
harness = false
[[bench]]
name = "bench_recover"
path = "benches/bench_recover.rs"
harness = false
[[bench]]
name = "bench_walog"
path = "benches/bench_walog.rs"
harness = false
[dependencies.byteorder]
version = "1.5"
[dependencies.crc32fast]
version = "1.4"
[dependencies.postcard]
version = "1.0"
features = [
"alloc",
"use-std",
]
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.thiserror]
version = "2"
[dev-dependencies.criterion]
version = "0.5.1"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1.9.0"
[dev-dependencies.tempfile]
version = "3.24.0"