blazesym-c 0.1.9

C bindings for blazesym
Documentation
# 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"
rust-version = "1.88"
name = "blazesym-c"
version = "0.1.9"
authors = ["Daniel Müller <deso@posteo.net>"]
build = "build.rs"
include = [
    "src/**/*",
    "include/**/*",
    "!**/examples/**/*",
    "LICENSE",
    "README.md",
    "CHANGELOG.md",
    "examples/input-struct-init.c",
    "build.rs",
    "cbindgen.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "C bindings for blazesym"
homepage = "https://github.com/libbpf/blazesym"
documentation = "https://docs.rs/blazesym-c"
readme = "README.md"
keywords = [
    "dwarf",
    "elf",
    "gsym",
    "stacktrace",
    "tracing",
]
categories = [
    "algorithms",
    "api-bindings",
    "development-tools::debugging",
    "os::unix-apis",
    "value-formatting",
]
license = "BSD-3-Clause"
repository = "https://github.com/libbpf/blazesym"

[package.metadata.capi.header]
generation = false
subdirectory = false

[[package.metadata.capi.install.include.asset]]
from = "include/blazesym.h"

[features]
capi = []
check-doc-snippets = []
default = ["dwarf"]
dwarf = ["blazesym/dwarf"]
generate-c-header = [
    "dep:cbindgen",
    "dep:which",
]
zstd = ["blazesym/zstd"]

[lib]
name = "blazesym_c"
crate-type = [
    "cdylib",
    "staticlib",
    "lib",
]
path = "src/lib.rs"

[dependencies.blazesym]
version = ">=0.2.0, <=0.2.5"
features = [
    "apk",
    "demangle",
    "gsym",
    "tracing",
    "zlib",
]

[dependencies.libc]
version = "0.2"

[dependencies.memoffset]
version = "0.9"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["fmt"]
default-features = false

[dev-dependencies.bindgen]
version = "0.72"
features = ["runtime"]
default-features = false

[dev-dependencies.blazesym]
version = "0.2"
features = ["test"]

[dev-dependencies.criterion]
version = "0.8"
features = [
    "rayon",
    "cargo_bench_support",
]
default-features = false

[dev-dependencies.tempfile]
version = "3"
default-features = false

[dev-dependencies.test-log]
version = "0.2"
features = ["trace"]
default-features = false

[dev-dependencies.test-tag]
version = "0.1"

[build-dependencies.cbindgen]
version = "0.29"
optional = true

[build-dependencies.which]
version = "8"
optional = true

[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies.blazesym]
version = ">=0.2.0, <=0.2.5"
features = ["bpf"]

[lints.clippy]
absolute-paths = "warn"
clone-on-ref-ptr = "warn"
collapsible-else-if = "allow"
collapsible-if = "allow"
collapsible-match = "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"
manual-c-str-literals = "allow"
module-inception = "allow"
redundant-closure-for-method-calls = "warn"
type-complexity = "allow"
unchecked-time-subtraction = "warn"
uninlined-format-args = "warn"
use-self = "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]
level = "warn"
priority = 0
check-cfg = [
    "cfg(has_procmap_query_ioctl)",
    "cfg(has_large_test_files)",
]