3 Star 0 Fork 0

依赖极速下载/backtrace-rs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Cargo.toml 3.25 KB
一键复制 编辑 原始数据 按行查看 历史
[package]
name = "backtrace"
version = "0.3.73"
authors = ["The Rust Project Developers"]
build = "build.rs"
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/rust-lang/backtrace-rs"
homepage = "https://github.com/rust-lang/backtrace-rs"
documentation = "https://docs.rs/backtrace"
description = """
A library to acquire a stack trace (backtrace) at runtime in a Rust program.
"""
autoexamples = true
autotests = true
edition = "2021"
exclude = ["/ci/"]
rust-version = "1.65.0"
[workspace]
members = ['crates/cpp_smoke_test', 'crates/as-if-std']
exclude = [
'crates/without_debuginfo',
'crates/macos_frames_test',
'crates/line-tables-only',
'crates/debuglink',
]
[dependencies]
cfg-if = "1.0"
rustc-demangle = "0.1.24"
# Optionally enable the ability to serialize a `Backtrace`, controlled through
# the `serialize-serde` feature below.
serde = { version = "1.0", optional = true, features = ['derive'] }
# Optionally demangle C++ frames' symbols in backtraces.
cpp_demangle = { default-features = false, version = "0.4.0", optional = true, features = [
"alloc",
] }
[target.'cfg(not(all(windows, target_env = "msvc", not(target_vendor = "uwp"))))'.dependencies]
miniz_oxide = { version = "0.7.0", default-features = false }
addr2line = { version = "0.22.0", default-features = false }
libc = { version = "0.2.146", default-features = false }
[target.'cfg(not(all(windows, target_env = "msvc", not(target_vendor = "uwp"))))'.dependencies.object]
version = "0.36.0"
default-features = false
features = ['read_core', 'elf', 'macho', 'pe', 'xcoff', 'unaligned', 'archive']
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.9", optional = true }
[build-dependencies]
# Only needed for Android, but cannot be target dependent
# https://github.com/rust-lang/cargo/issues/4932
cc = "1.0.97"
[dev-dependencies]
dylib-dep = { path = "crates/dylib-dep" }
libloading = "0.7"
[features]
# By default libstd support is enabled.
default = ["std"]
# Include std support. This enables types like `Backtrace`.
std = []
serialize-serde = ["serde"]
#=======================================
# Deprecated/internal features
#
# Only here for backwards compatibility purposes or for internal testing
# purposes. New code should use none of these features.
coresymbolication = []
dbghelp = []
dl_iterate_phdr = []
dladdr = []
kernel32 = []
libunwind = []
unix-backtrace = []
verify-winapi = [
'winapi/dbghelp',
'winapi/handleapi',
'winapi/libloaderapi',
'winapi/memoryapi',
'winapi/minwindef',
'winapi/processthreadsapi',
'winapi/synchapi',
'winapi/tlhelp32',
'winapi/winbase',
'winapi/winnt',
'winapi/winnls',
'winapi/stringapiset',
]
[[example]]
name = "backtrace"
required-features = ["std"]
[[example]]
name = "raw"
required-features = ["std"]
[[test]]
name = "skip_inner_frames"
required-features = ["std"]
[[test]]
name = "long_fn_name"
required-features = ["std"]
[[test]]
name = "smoke"
required-features = ["std"]
edition = '2021'
[[test]]
name = "accuracy"
required-features = ["std"]
edition = '2021'
[[test]]
name = "concurrent-panics"
required-features = ["std"]
harness = false
[[test]]
name = "current-exe-mismatch"
required-features = ["std"]
harness = false
[lints.rust]
# This crate uses them pervasively
unexpected_cfgs = "allow"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_addons/backtrace-rs.git
git@gitee.com:mirrors_addons/backtrace-rs.git
mirrors_addons
backtrace-rs
backtrace-rs
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385