summaryrefslogtreecommitdiffstats
path: root/vendor/unwinding/Cargo.toml
blob: 851d1eee04033387e00c9cb4f393ae3f50236b2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# 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 = "2021"
name = "unwinding"
version = "0.2.1"
authors = ["Gary Guo <gary@garyguo.net>"]
description = "Unwinding library in Rust and for Rust"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/nbdd0121/unwinding/"

[package.metadata.docs.rs]
features = ["panic-handler"]

[profile.release]
debug = 2

[dependencies.compiler_builtins]
version = "0.1.2"
optional = true

[dependencies.core]
version = "1.0.0"
optional = true
package = "rustc-std-workspace-core"

[dependencies.gimli]
version = "0.28"
features = ["read-core"]
default-features = false

[dependencies.libc]
version = "0.2"
optional = true

[dependencies.spin]
version = "0.9.8"
features = [
    "mutex",
    "spin_mutex",
]
optional = true
default-features = false

[features]
alloc = []
default = [
    "unwinder",
    "dwarf-expr",
    "hide-trace",
    "fde-phdr-dl",
    "fde-registry",
]
dwarf-expr = []
fde-custom = []
fde-gnu-eh-frame-hdr = []
fde-phdr = ["libc"]
fde-phdr-aux = ["fde-phdr"]
fde-phdr-dl = ["fde-phdr"]
fde-registry = ["alloc"]
fde-static = []
hide-trace = []
panic = [
    "panicking",
    "alloc",
]
panic-handler = [
    "print",
    "panic",
]
panic-handler-dummy = []
panicking = []
personality = []
personality-dummy = []
print = ["libc"]
rustc-dep-of-std = [
    "core",
    "gimli/rustc-dep-of-std",
    "compiler_builtins",
]
system-alloc = []
unwinder = []