2021-08-25 02:55:49 +01:00
|
|
|
[package]
|
2021-10-05 20:16:20 +01:00
|
|
|
name = "unwinding"
|
2022-09-12 21:46:09 +01:00
|
|
|
version = "0.1.5"
|
2021-08-25 02:55:49 +01:00
|
|
|
authors = ["Gary Guo <gary@garyguo.net>"]
|
|
|
|
edition = "2018"
|
2021-10-05 20:21:17 +01:00
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
description = "Unwinding library in Rust and for Rust"
|
|
|
|
repository = "https://github.com/nbdd0121/unwinding/"
|
2021-08-25 02:55:49 +01:00
|
|
|
|
2021-08-26 05:01:50 +01:00
|
|
|
[workspace]
|
2021-08-26 11:06:45 +01:00
|
|
|
members = ["cdylib", "example"]
|
2021-08-26 05:01:50 +01:00
|
|
|
|
2021-08-25 02:55:49 +01:00
|
|
|
[dependencies]
|
2022-05-04 15:29:40 +01:00
|
|
|
gimli = { version = "0.26.1", default-features = false, features = ["read-core"] }
|
2021-08-26 03:51:12 +01:00
|
|
|
libc = { version = "0.2", optional = true }
|
2021-10-03 09:40:20 -07:00
|
|
|
spin = { version = "0.9", optional = true, default-features = false, features = ["mutex", "spin_mutex"] }
|
2021-08-26 03:50:33 +01:00
|
|
|
|
|
|
|
[features]
|
2021-08-26 03:51:12 +01:00
|
|
|
alloc = []
|
2021-08-26 12:08:37 +01:00
|
|
|
unwinder = []
|
2021-08-26 03:51:12 +01:00
|
|
|
fde-phdr = ["libc"]
|
2021-10-04 23:01:26 +01:00
|
|
|
fde-phdr-dl = ["fde-phdr"]
|
|
|
|
fde-phdr-aux = ["fde-phdr"]
|
2021-08-26 03:51:12 +01:00
|
|
|
fde-registry = ["alloc"]
|
2021-08-26 22:40:10 +01:00
|
|
|
fde-static = []
|
2021-10-02 10:13:04 -07:00
|
|
|
fde-gnu-eh-frame-hdr = []
|
2022-12-12 11:06:09 +00:00
|
|
|
fde-custom = []
|
2021-08-26 05:37:45 +01:00
|
|
|
dwarf-expr = []
|
2021-08-26 05:40:08 +01:00
|
|
|
hide-trace = []
|
2021-08-26 09:54:50 +01:00
|
|
|
personality = []
|
2021-08-26 08:17:04 +01:00
|
|
|
personality-dummy = []
|
2021-08-26 10:01:58 +01:00
|
|
|
print = ["libc"]
|
2021-10-05 00:30:16 +01:00
|
|
|
panicking = []
|
|
|
|
panic = ["panicking", "alloc"]
|
2021-08-26 10:55:35 +01:00
|
|
|
panic-handler = ["print", "panic"]
|
2021-08-26 10:58:26 +01:00
|
|
|
panic-handler-dummy = []
|
2021-08-26 05:27:28 +01:00
|
|
|
system-alloc = []
|
2021-10-04 23:01:26 +01:00
|
|
|
default = ["unwinder", "dwarf-expr", "hide-trace", "fde-phdr-dl", "fde-registry"]
|
2021-08-25 02:55:49 +01:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
debug = true
|
2021-10-05 00:53:26 +01:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
features = ["panic-handler"]
|