blob: fed559d4e4fa292a5c64257782f4f16afc19cd38 [file] [log] [blame] [edit]
# 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.2"
authors = ["Gary Guo <[email protected]>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
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
[lib]
name = "unwinding"
path = "src/lib.rs"
[[test]]
name = "compile_tests"
path = "tests/compile_tests.rs"
[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.30"
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 = []