[package]
edition = "2024"
rust-version = "1.85"
name = "setback"
version = "0.1.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "no_std setjmp/longjmp-based failure recovery confined to C frames"
readme = "README.md"
license = "MIT OR Apache-2.0"
[features]
default = []
std = ["critical-section/std"]
[lib]
name = "setback"
path = "src/lib.rs"
[[test]]
name = "cause_roundtrip"
path = "tests/cause_roundtrip.rs"
[[test]]
name = "nesting"
path = "tests/nesting.rs"
[[test]]
name = "recovery_gap"
path = "tests/recovery_gap.rs"
[dependencies.critical-section]
version = "1.2"
[build-dependencies.cc]
version = "1"