[package]
edition = "2024"
rust-version = "1.88"
name = "faultbox"
version = "0.1.0"
authors = ["Farhan Syah"]
build = false
exclude = [
"src/bin",
"tests/multiprocess.rs",
".claude",
"scripts",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Production black-box recorder: structured crash, corruption, and invariant-violation reports with a flight-recorder breadcrumb trail — debuggable from a report without reproduction or shipped symbols."
homepage = "https://github.com/farhan-syah/faultbox"
documentation = "https://docs.rs/faultbox"
readme = "README.md"
keywords = [
"crash",
"diagnostics",
"corruption",
"reporting",
"observability",
]
categories = ["development-tools::debugging"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/farhan-syah/faultbox"
resolver = "3"
[package.metadata.docs.rs]
all-features = true
[features]
native-crash = [
"dep:crash-handler",
"dep:minidumper",
]
shared-ring = ["dep:memmap2"]
tracing = [
"dep:tracing",
"dep:tracing-subscriber",
]
[lib]
name = "faultbox"
path = "src/lib.rs"
[[test]]
name = "coalescing"
path = "tests/coalescing.rs"
[[test]]
name = "end_to_end"
path = "tests/end_to_end.rs"
[[test]]
name = "layered_stack"
path = "tests/layered_stack.rs"
[dependencies.crash-handler]
version = "0.8"
optional = true
[dependencies.memmap2]
version = "0.9"
optional = true
[dependencies.minidumper]
version = "0.11"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tracing]
version = "0.1"
features = ["std"]
optional = true
default-features = false
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"registry",
"std",
]
optional = true
default-features = false
[dev-dependencies.tempfile]
version = "3"