[package]
edition = "2024"
rust-version = "1.89"
name = "fstx"
version = "0.1.1"
build = false
exclude = [
"/ci",
"/fuzz",
"/.github",
"/cli",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Atomic, crash-safe multi-file transactions for directory trees"
homepage = "https://github.com/neptro/fstx"
documentation = "https://docs.rs/fstx"
readme = "README.md"
keywords = [
"filesystem",
"transaction",
"atomic",
"crash-safe",
"rollback",
]
categories = ["filesystem"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/neptro/fstx"
[features]
sim = []
[lib]
name = "fstx"
path = "src/lib.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "crash_demo"
path = "examples/crash_demo.rs"
required-features = ["sim"]
[[example]]
name = "crash_workload"
path = "examples/crash_workload.rs"
[[test]]
name = "api"
path = "tests/api.rs"
[[test]]
name = "crash_sim"
path = "tests/crash_sim.rs"
required-features = ["sim"]
[[test]]
name = "model"
path = "tests/model.rs"
required-features = ["sim"]
[[test]]
name = "path_security"
path = "tests/path_security.rs"
[[test]]
name = "recovery_decisions"
path = "tests/recovery_decisions.rs"
required-features = ["sim"]
[[test]]
name = "sigkill"
path = "tests/sigkill.rs"
[[test]]
name = "symlink_race"
path = "tests/symlink_race.rs"
[dependencies.blake3]
version = "1.8.7"
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.151"
[dependencies.thiserror]
version = "2.0.20"
[dev-dependencies.proptest]
version = "1.11.0"
[dev-dependencies.tempfile]
version = "3.27.0"
[target.'cfg(target_os = "linux")'.dependencies.rustix]
version = "1.1.5"
features = [
"fs",
"process",
]
[target.'cfg(target_os = "linux")'.dev-dependencies.rustix]
version = "1.1.5"
features = [
"fs",
"process",
]
[profile.test]
opt-level = 2