• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies.
7#
8# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13edition = "2021"
14rust-version = "1.65.0"
15name = "backtrace"
16version = "0.3.73"
17authors = ["The Rust Project Developers"]
18build = "build.rs"
19exclude = ["/ci/"]
20autobins = false
21autoexamples = false
22autotests = false
23autobenches = false
24description = """
25A library to acquire a stack trace (backtrace) at runtime in a Rust program.
26"""
27homepage = "https://github.com/rust-lang/backtrace-rs"
28documentation = "https://docs.rs/backtrace"
29readme = "README.md"
30license = "MIT OR Apache-2.0"
31repository = "https://github.com/rust-lang/backtrace-rs"
32
33[lib]
34name = "backtrace"
35path = "src/lib.rs"
36
37[[example]]
38name = "backtrace"
39path = "examples/backtrace.rs"
40required-features = ["std"]
41
42[[example]]
43name = "raw"
44path = "examples/raw.rs"
45required-features = ["std"]
46
47[[test]]
48name = "skip_inner_frames"
49path = "tests/skip_inner_frames.rs"
50required-features = ["std"]
51
52[[test]]
53name = "long_fn_name"
54path = "tests/long_fn_name.rs"
55required-features = ["std"]
56
57[[test]]
58name = "smoke"
59path = "tests/smoke.rs"
60required-features = ["std"]
61edition = "2021"
62
63[[test]]
64name = "accuracy"
65path = "tests/accuracy/main.rs"
66required-features = ["std"]
67edition = "2021"
68
69[[test]]
70name = "concurrent-panics"
71path = "tests/concurrent-panics.rs"
72harness = false
73required-features = ["std"]
74
75[[test]]
76name = "current-exe-mismatch"
77path = "tests/current-exe-mismatch.rs"
78harness = false
79required-features = ["std"]
80
81[[test]]
82name = "sgx-image-base"
83path = "tests/sgx-image-base.rs"
84
85[[bench]]
86name = "benchmarks"
87path = "benches/benchmarks.rs"
88
89[dependencies.cfg-if]
90version = "1.0"
91
92[dependencies.cpp_demangle]
93version = "0.4.0"
94features = ["alloc"]
95optional = true
96default-features = false
97
98[dependencies.rustc-demangle]
99version = "0.1.24"
100
101[dependencies.serde]
102version = "1.0"
103features = ["derive"]
104optional = true
105
106[dev-dependencies.libloading]
107version = "0.7"
108
109[build-dependencies.cc]
110version = "1.0.97"
111
112[features]
113coresymbolication = []
114dbghelp = []
115default = ["std"]
116dl_iterate_phdr = []
117dladdr = []
118kernel32 = []
119libunwind = []
120serialize-serde = ["serde"]
121std = []
122unix-backtrace = []
123verify-winapi = [
124    "winapi/dbghelp",
125    "winapi/handleapi",
126    "winapi/libloaderapi",
127    "winapi/memoryapi",
128    "winapi/minwindef",
129    "winapi/processthreadsapi",
130    "winapi/synchapi",
131    "winapi/tlhelp32",
132    "winapi/winbase",
133    "winapi/winnt",
134    "winapi/winnls",
135    "winapi/stringapiset",
136]
137
138[target."cfg(not(all(windows, target_env = \"msvc\", not(target_vendor = \"uwp\"))))".dependencies.addr2line]
139version = "0.22.0"
140default-features = false
141
142[target."cfg(not(all(windows, target_env = \"msvc\", not(target_vendor = \"uwp\"))))".dependencies.libc]
143version = "0.2.146"
144default-features = false
145
146[target."cfg(not(all(windows, target_env = \"msvc\", not(target_vendor = \"uwp\"))))".dependencies.miniz_oxide]
147version = "0.7.0"
148default-features = false
149
150[target."cfg(not(all(windows, target_env = \"msvc\", not(target_vendor = \"uwp\"))))".dependencies.object]
151version = "0.36.0"
152features = [
153    "read_core",
154    "elf",
155    "macho",
156    "pe",
157    "xcoff",
158    "unaligned",
159    "archive",
160]
161default-features = false
162
163[target."cfg(windows)".dependencies.winapi]
164version = "0.3.9"
165optional = true
166
167[lints.rust]
168unexpected_cfgs = "allow"
169