[package]
name = "faultbox"
version = "0.1.2"
edition = "2024"
rust-version = "1.88"
license = "MIT OR Apache-2.0"
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."
repository = "https://github.com/farhan-syah/faultbox"
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"]
authors = ["Farhan Syah"]
resolver = "3"
exclude = ["src/bin", "tests/multiprocess.rs", ".claude", "scripts"]
[package.metadata.docs.rs]
all-features = true
[lib]
[features]
native-crash = ["dep:crash-handler", "dep:minidumper"]
tracing = ["dep:tracing", "dep:tracing-subscriber"]
shared-ring = ["dep:memmap2"]
[dependencies]
serde = { version = "1", features = ["derive"] }
serde_json = "1"
crash-handler = { version = "0.8", optional = true }
minidumper = { version = "0.11", optional = true }
tracing = { version = "0.1", optional = true, default-features = false, features = [
"std",
] }
tracing-subscriber = { version = "0.3", optional = true, default-features = false, features = [
"registry",
"std",
] }
memmap2 = { version = "0.9", optional = true }
[dev-dependencies]
tempfile = "3"