[dependencies.colored]
optional = true
version = "3.0.0"
[dev-dependencies.anyhow]
version = "1.0.100"
[dev-dependencies.tempfile]
version = "3.23.0"
[[example]]
name = "atomic_replace_file"
path = "examples/atomic_replace_file.rs"
[features]
default = ["fancy-traces"]
fancy-traces = ["dep:colored"]
[lib]
name = "faine"
path = "src/lib.rs"
[package]
authors = ["Dmitry Marakasov <amdmi3@amdmi3.ru>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Failpoints implementation with automatic path exploration"
documentation = "https://docs.rs/faine"
edition = "2024"
homepage = "https://github.com/AMDmi3/faine"
keywords = ["failpoint", "failpoints", "fault", "injection", "testing"]
license = "MIT OR Apache-2.0"
name = "faine"
readme = "README.md"
repository = "https://github.com/AMDmi3/faine"
rust-version = "1.88"
version = "0.2.1"
[[test]]
name = "consumer"
path = "tests/consumer.rs"
[[test]]
name = "main"
path = "tests/main.rs"
[[test]]
name = "traces"
path = "tests/traces.rs"
[[test]]
name = "zerocost"
path = "tests/zerocost.rs"