[build-dependencies.cbindgen]
optional = true
version = "0.29"
[build-dependencies.which]
optional = true
version = "8.0.0"
[dependencies.blazesym]
features = ["apk", "demangle", "dwarf", "gsym", "tracing", "zlib"]
version = "=0.2.0"
[dependencies.libc]
version = "0.2"
[dependencies.memoffset]
version = "0.9"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
default-features = false
features = ["fmt"]
version = "0.3"
[dev-dependencies.bindgen]
default-features = false
features = ["runtime"]
version = "0.72"
[dev-dependencies.blazesym]
features = ["test"]
version = "=0.2.0"
[dev-dependencies.criterion]
default-features = false
features = ["rayon", "cargo_bench_support"]
version = "0.7"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.test-log]
default-features = false
features = ["trace"]
version = "0.2.14"
[dev-dependencies.test-tag]
version = "0.1"
[features]
capi = []
check-doc-snippets = []
default = ["dwarf"]
dwarf = ["blazesym/dwarf"]
generate-c-header = ["dep:cbindgen", "dep:which"]
[lib]
crate-type = ["cdylib", "staticlib", "lib"]
name = "blazesym_c"
path = "src/lib.rs"
[lints.clippy]
absolute-paths = "warn"
allow-attributes = "warn"
clone-on-ref-ptr = "warn"
collapsible-else-if = "allow"
collapsible-if = "allow"
dbg-macro = "warn"
doc-markdown = "warn"
fn-to-numeric-cast = "allow"
join-absolute-paths = "warn"
large-enum-variant = "warn"
let-and-return = "allow"
let-unit-value = "allow"
module-inception = "allow"
redundant-closure-for-method-calls = "warn"
type-complexity = "allow"
unchecked-duration-subtraction = "warn"
uninlined-format-args = "warn"
wildcard-imports = "warn"
[lints.rust]
deprecated-safe = "warn"
future-incompatible = "warn"
keyword-idents = "warn"
let-underscore = "warn"
missing-debug-implementations = "warn"
missing-docs = "warn"
trivial-numeric-casts = "warn"
unsafe-op-in-unsafe-fn = "warn"
unused = "warn"
[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(has_procmap_query_ioctl)", "cfg(has_large_test_files)"]
level = "warn"
priority = 0
[package]
authors = ["Daniel Müller <deso@posteo.net>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["algorithms", "api-bindings", "development-tools::debugging", "os::unix-apis", "value-formatting"]
description = "C bindings for blazesym"
documentation = "https://docs.rs/blazesym-c"
edition = "2021"
homepage = "https://github.com/libbpf/blazesym"
include = ["src/**/*", "include/**/*", "!**/examples/**/*", "LICENSE", "README.md", "CHANGELOG.md", "examples/input-struct-init.c", "build.rs", "cbindgen.toml"]
keywords = ["dwarf", "elf", "gsym", "stacktrace", "tracing"]
license = "BSD-3-Clause"
name = "blazesym-c"
readme = "README.md"
repository = "https://github.com/libbpf/blazesym"
rust-version = "1.75"
version = "0.1.5"
[package.metadata.capi.header]
generation = false
subdirectory = false
[[package.metadata.capi.install.include.asset]]
from = "include/blazesym.h"
[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies.blazesym]
features = ["bpf"]
version = "=0.2.0"