rustc/library/backtrace/crates/as-if-std/Cargo.toml
2024-07-31 08:40:13 +02:00

40 lines
1016 B
TOML

[package]
name = "as-if-std"
version = "0.1.0"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
edition = "2021"
publish = false
[lib]
test = false
doc = false
doctest = false
bench = false
[dependencies]
cfg-if = "1.0"
rustc-demangle = "0.1.21"
libc = { version = "0.2.146", default-features = false }
[target.'cfg(not(all(windows, target_env = "msvc", not(target_vendor = "uwp"))))'.dependencies]
miniz_oxide = { version = "0.7.0", optional = true, default-features = false }
addr2line = { version = "0.22.0", optional = true, default-features = false }
[target.'cfg(not(all(windows, target_env = "msvc", not(target_vendor = "uwp"))))'.dependencies.object]
version = "0.36.0"
default-features = false
optional = true
features = ['read_core', 'elf', 'macho', 'pe', 'xcoff', 'unaligned', 'archive']
[build-dependencies]
# Dependency of the `backtrace` crate
cc = "1.0.97"
[features]
default = ['backtrace']
backtrace = ['addr2line', 'miniz_oxide', 'object']
std = []
[lints.rust]
unexpected_cfgs = "allow"