2021-08-24 20:55:49 -05:00
|
|
|
[package]
|
2021-10-05 14:16:20 -05:00
|
|
|
name = "unwinding"
|
2023-10-27 19:14:25 -05:00
|
|
|
version = "0.2.1"
|
2021-08-24 20:55:49 -05:00
|
|
|
authors = ["Gary Guo <gary@garyguo.net>"]
|
2023-10-27 19:14:25 -05:00
|
|
|
edition = "2021"
|
2021-10-05 14:21:17 -05:00
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
description = "Unwinding library in Rust and for Rust"
|
|
|
|
repository = "https://github.com/nbdd0121/unwinding/"
|
2021-08-24 20:55:49 -05:00
|
|
|
|
2021-08-25 23:01:50 -05:00
|
|
|
[workspace]
|
2023-10-27 19:06:27 -05:00
|
|
|
members = [
|
|
|
|
"cdylib",
|
|
|
|
"test_crates/throw_and_catch",
|
|
|
|
"test_crates/catch_std_exception",
|
|
|
|
"test_crates/std_catch_exception",
|
|
|
|
]
|
2021-08-25 23:01:50 -05:00
|
|
|
|
2021-08-24 20:55:49 -05:00
|
|
|
[dependencies]
|
2023-10-27 18:13:56 -05:00
|
|
|
gimli = { version = "0.28", default-features = false, features = ["read-core"] }
|
2021-08-25 21:51:12 -05:00
|
|
|
libc = { version = "0.2", optional = true }
|
2023-07-01 08:19:12 -05:00
|
|
|
spin = { version = "0.9.8", optional = true, default-features = false, features = ["mutex", "spin_mutex"] }
|
2023-08-05 07:41:26 -05:00
|
|
|
core = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-core' }
|
|
|
|
compiler_builtins = { version = "0.1.2", optional = true }
|
2021-08-25 21:50:33 -05:00
|
|
|
|
|
|
|
[features]
|
2021-08-25 21:51:12 -05:00
|
|
|
alloc = []
|
2021-08-26 06:08:37 -05:00
|
|
|
unwinder = []
|
2021-08-25 21:51:12 -05:00
|
|
|
fde-phdr = ["libc"]
|
2021-10-04 17:01:26 -05:00
|
|
|
fde-phdr-dl = ["fde-phdr"]
|
|
|
|
fde-phdr-aux = ["fde-phdr"]
|
2021-08-25 21:51:12 -05:00
|
|
|
fde-registry = ["alloc"]
|
2021-08-26 16:40:10 -05:00
|
|
|
fde-static = []
|
2021-10-02 12:13:04 -05:00
|
|
|
fde-gnu-eh-frame-hdr = []
|
2022-12-12 05:06:09 -06:00
|
|
|
fde-custom = []
|
2021-08-25 23:37:45 -05:00
|
|
|
dwarf-expr = []
|
2021-08-25 23:40:08 -05:00
|
|
|
hide-trace = []
|
2021-08-26 03:54:50 -05:00
|
|
|
personality = []
|
2021-08-26 02:17:04 -05:00
|
|
|
personality-dummy = []
|
2021-08-26 04:01:58 -05:00
|
|
|
print = ["libc"]
|
2021-10-04 18:30:16 -05:00
|
|
|
panicking = []
|
|
|
|
panic = ["panicking", "alloc"]
|
2021-08-26 04:55:35 -05:00
|
|
|
panic-handler = ["print", "panic"]
|
2021-08-26 04:58:26 -05:00
|
|
|
panic-handler-dummy = []
|
2021-08-25 23:27:28 -05:00
|
|
|
system-alloc = []
|
2021-10-04 17:01:26 -05:00
|
|
|
default = ["unwinder", "dwarf-expr", "hide-trace", "fde-phdr-dl", "fde-registry"]
|
2023-08-05 07:41:26 -05:00
|
|
|
rustc-dep-of-std = ["core", "gimli/rustc-dep-of-std", "compiler_builtins"]
|
2021-08-24 20:55:49 -05:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
debug = true
|
2021-10-04 18:53:26 -05:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
features = ["panic-handler"]
|