| 1 | # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 | # |
| 3 | # When uploading crates to the registry Cargo will automatically |
| 4 | # "normalize" Cargo.toml files for maximal compatibility |
| 5 | # with all versions of Cargo and also rewrite `path` dependencies |
| 6 | # to registry (e.g., crates.io) dependencies. |
| 7 | # |
| 8 | # If you are reading this file be aware that the original Cargo.toml |
| 9 | # will likely look very different (and much more reasonable). |
| 10 | # See Cargo.toml.orig for the original contents. |
| 11 | |
| 12 | [package] |
| 13 | edition = "2018" |
| 14 | rust-version = "1.65" |
| 15 | name = "addr2line" |
| 16 | version = "0.21.0" |
| 17 | exclude = [ |
| 18 | "/benches/*" , |
| 19 | "/fixtures/*" , |
| 20 | ".github" , |
| 21 | ] |
| 22 | description = "A cross-platform symbolication library written in Rust, using `gimli`" |
| 23 | documentation = "https://docs.rs/addr2line" |
| 24 | readme = "./README.md" |
| 25 | keywords = [ |
| 26 | "DWARF" , |
| 27 | "debug" , |
| 28 | "elf" , |
| 29 | "symbolicate" , |
| 30 | "atos" , |
| 31 | ] |
| 32 | categories = ["development-tools::debugging" ] |
| 33 | license = "Apache-2.0 OR MIT" |
| 34 | repository = "https://github.com/gimli-rs/addr2line" |
| 35 | |
| 36 | [profile.bench] |
| 37 | codegen-units = 1 |
| 38 | debug = true |
| 39 | |
| 40 | [profile.release] |
| 41 | debug = true |
| 42 | |
| 43 | [[example]] |
| 44 | name = "addr2line" |
| 45 | required-features = ["default" ] |
| 46 | |
| 47 | [[test]] |
| 48 | name = "output_equivalence" |
| 49 | harness = false |
| 50 | required-features = ["default" ] |
| 51 | |
| 52 | [[test]] |
| 53 | name = "correctness" |
| 54 | required-features = ["default" ] |
| 55 | |
| 56 | [[test]] |
| 57 | name = "parse" |
| 58 | required-features = ["std-object" ] |
| 59 | |
| 60 | [dependencies.alloc] |
| 61 | version = "1.0.0" |
| 62 | optional = true |
| 63 | package = "rustc-std-workspace-alloc" |
| 64 | |
| 65 | [dependencies.compiler_builtins] |
| 66 | version = "0.1.2" |
| 67 | optional = true |
| 68 | |
| 69 | [dependencies.core] |
| 70 | version = "1.0.0" |
| 71 | optional = true |
| 72 | package = "rustc-std-workspace-core" |
| 73 | |
| 74 | [dependencies.cpp_demangle] |
| 75 | version = "0.4" |
| 76 | features = ["alloc" ] |
| 77 | optional = true |
| 78 | default-features = false |
| 79 | |
| 80 | [dependencies.fallible-iterator] |
| 81 | version = "0.3.0" |
| 82 | optional = true |
| 83 | default-features = false |
| 84 | |
| 85 | [dependencies.gimli] |
| 86 | version = "0.28.0" |
| 87 | features = ["read" ] |
| 88 | default-features = false |
| 89 | |
| 90 | [dependencies.memmap2] |
| 91 | version = "0.5.5" |
| 92 | optional = true |
| 93 | |
| 94 | [dependencies.object] |
| 95 | version = "0.32.0" |
| 96 | features = ["read" ] |
| 97 | optional = true |
| 98 | default-features = false |
| 99 | |
| 100 | [dependencies.rustc-demangle] |
| 101 | version = "0.1" |
| 102 | optional = true |
| 103 | |
| 104 | [dependencies.smallvec] |
| 105 | version = "1" |
| 106 | optional = true |
| 107 | default-features = false |
| 108 | |
| 109 | [dev-dependencies.backtrace] |
| 110 | version = "0.3.13" |
| 111 | |
| 112 | [dev-dependencies.clap] |
| 113 | version = "4.3.21" |
| 114 | features = ["wrap_help" ] |
| 115 | |
| 116 | [dev-dependencies.findshlibs] |
| 117 | version = "0.10" |
| 118 | |
| 119 | [dev-dependencies.libtest-mimic] |
| 120 | version = "0.6.1" |
| 121 | |
| 122 | [dev-dependencies.typed-arena] |
| 123 | version = "2" |
| 124 | |
| 125 | [features] |
| 126 | default = [ |
| 127 | "rustc-demangle" , |
| 128 | "cpp_demangle" , |
| 129 | "std-object" , |
| 130 | "fallible-iterator" , |
| 131 | "smallvec" , |
| 132 | "memmap2" , |
| 133 | ] |
| 134 | rustc-dep-of-std = [ |
| 135 | "core" , |
| 136 | "alloc" , |
| 137 | "compiler_builtins" , |
| 138 | "gimli/rustc-dep-of-std" , |
| 139 | ] |
| 140 | std = ["gimli/std" ] |
| 141 | std-object = [ |
| 142 | "std" , |
| 143 | "object" , |
| 144 | "object/std" , |
| 145 | "object/compression" , |
| 146 | "gimli/endian-reader" , |
| 147 | ] |
| 148 | |