# 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.69" name = "blazesym-c" version = "0.1.0-rc.2" authors = ["Daniel Müller "] build = "build.rs" include = [ "src/**/*", "include/**/*", "!**/examples/**/*", "LICENSE", "README.md", "CHANGELOG.md", "examples/input-struct-init.c", "build.rs", "cbindgen.toml", ] autobins = false autoexamples = false autotests = false autobenches = false description = "C bindings for blazesym" 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" [lib] name = "blazesym_c" crate-type = [ "cdylib", "staticlib", "lib", ] path = "src/lib.rs" [dependencies.blazesym] version = "=0.2.0-rc.2" features = [ "apk", "demangle", "dwarf", "gsym", "zlib", ] [dependencies.libc] version = "0.2.137" [dependencies.memoffset] version = "0.9" [dev-dependencies.tempfile] version = "3.4" [dev-dependencies.test-log] version = "0.2.14" features = ["trace"] default-features = false [dev-dependencies.test-tag] version = "0.1" [build-dependencies.cbindgen] version = "0.27" optional = true [build-dependencies.which] version = "7.0.0" optional = true [features] check-doc-snippets = [] default = ["dwarf"] dwarf = ["blazesym/dwarf"] generate-c-header = [ "dep:cbindgen", "dep:which", ] [target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies.blazesym] version = "=0.2.0-rc.2" features = ["bpf"]