sjlj2 0.5.0

Safer, cheaper and more ergonomic setjmp/longjmp in Rust
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.93"
name = "sjlj2"
version = "0.5.0"
build = "build.rs"
exclude = [
    "flake.nix",
    "flake.lock",
    ".github",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safer, cheaper and more ergonomic setjmp/longjmp in Rust"
documentation = "https://docs.rs/sjlj2"
readme = "README.md"
keywords = [
    "setjmp",
    "longjmp",
]
categories = [
    "embedded",
    "no-std::no-alloc",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/oxalica/sjlj2"

[features]
default = []
unwind = []

[lib]
name = "sjlj2"
path = "src/lib.rs"

[[example]]
name = "codegen"
crate-type = ["staticlib"]
path = "examples/codegen.rs"

[[test]]
name = "dwarf"
path = "tests/dwarf.rs"

[[test]]
name = "smoke"
path = "tests/smoke.rs"

[[bench]]
name = "bench"
path = "benches/bench.rs"
harness = false

[dependencies]

[dev-dependencies.criterion]
version = "0.8"

[target.'cfg(target_os = "linux")'.dev-dependencies.pprof]
version = "0.15.0"
default-features = false

[lints.clippy.pedantic]
level = "warn"
priority = -1

[profile.release]
debug = "line-tables-only"