forked from gimli-rs/gimli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
70 lines (59 loc) · 2.01 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[package]
name = "gimli"
version = "0.27.2"
categories = ["development-tools::debugging", "development-tools::profiling", "parser-implementations"]
description = "A library for reading and writing the DWARF debugging format."
documentation = "https://docs.rs/gimli"
edition = "2018"
exclude = ["/releases/*", "/.github"]
keywords = ["DWARF", "debug", "ELF", "eh_frame"]
license = "MIT OR Apache-2.0"
readme = "./README.md"
repository = "https://github.com/gimli-rs/gimli"
[dependencies]
fallible-iterator = { version = "0.2.0", default-features = false, optional = true }
indexmap = { version = "1.0.2", optional = true }
stable_deref_trait = { version = "1.1.0", default-features = false, optional = true }
# Internal feature, only used when building as part of libstd, not part of the
# stable interface of this crate.
core = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-core' }
alloc = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-alloc' }
compiler_builtins = { version = '0.1.2', optional = true }
[dev-dependencies]
crossbeam = "0.8"
getopts = "0.2"
memmap2 = "0.5.5"
num_cpus = "1"
object = { version = "0.30.0", features = ["wasm"] }
rayon = "1.0"
regex = "1"
test-assembler = "0.1.3"
typed-arena = "2"
[features]
read-core = []
read = ["read-core"]
endian-reader = ["read", "stable_deref_trait"]
write = ["indexmap"]
std = ["fallible-iterator/std", "stable_deref_trait/std"]
default = ["read", "write", "std", "fallible-iterator", "endian-reader"]
# Internal feature, only used when building as part of libstd, not part of the
# stable interface of this crate.
rustc-dep-of-std = ['core', 'alloc', 'compiler_builtins']
[profile.test]
split-debuginfo = 'packed'
[profile.bench]
debug = true
codegen-units = 1
split-debuginfo = 'packed'
[[example]]
name = "simple"
required-features = ["read"]
[[example]]
name = "simple_line"
required-features = ["read"]
[[example]]
name = "dwarfdump"
required-features = ["read", "std"]
[[example]]
name = "dwarf-validate"
required-features = ["read", "std"]