]>
Commit | Line | Data |
---|---|---|
17df50a5 XL |
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 believe there's an error in this file please file an | |
9 | # issue against the rust-lang/cargo repository. If you're | |
10 | # editing this file be aware that the upstream Cargo.toml | |
11 | # will likely look very different (and much more reasonable) | |
12 | ||
13 | [package] | |
14 | edition = "2018" | |
15 | name = "object" | |
136023e0 | 16 | version = "0.26.2" |
17df50a5 XL |
17 | exclude = ["/.coveralls.yml", "/.travis.yml"] |
18 | description = "A unified interface for reading and writing object file formats." | |
19 | keywords = ["object", "elf", "mach-o", "pe", "coff"] | |
20 | license = "Apache-2.0/MIT" | |
21 | repository = "https://github.com/gimli-rs/object" | |
22 | [package.metadata.docs.rs] | |
23 | features = ["all"] | |
24 | ||
25 | [[example]] | |
26 | name = "ar" | |
27 | required-features = ["read_core", "archive"] | |
28 | ||
29 | [[example]] | |
30 | name = "objcopy" | |
31 | required-features = ["read", "write"] | |
32 | ||
33 | [[example]] | |
34 | name = "objdump" | |
35 | required-features = ["read"] | |
36 | ||
37 | [[example]] | |
38 | name = "objectmap" | |
39 | required-features = ["read_core"] | |
40 | ||
41 | [[example]] | |
42 | name = "nm" | |
43 | required-features = ["read"] | |
44 | ||
45 | [[example]] | |
46 | name = "readobj" | |
47 | required-features = ["read"] | |
48 | [dependencies.alloc] | |
49 | version = "1.0.0" | |
50 | optional = true | |
51 | package = "rustc-std-workspace-alloc" | |
52 | ||
53 | [dependencies.compiler_builtins] | |
54 | version = "0.1.2" | |
55 | optional = true | |
56 | ||
57 | [dependencies.core] | |
58 | version = "1.0.0" | |
59 | optional = true | |
60 | package = "rustc-std-workspace-core" | |
61 | ||
62 | [dependencies.crc32fast] | |
63 | version = "1.2" | |
64 | optional = true | |
65 | ||
66 | [dependencies.flate2] | |
67 | version = "1" | |
68 | optional = true | |
69 | ||
70 | [dependencies.indexmap] | |
71 | version = "1.1" | |
72 | optional = true | |
73 | ||
74 | [dependencies.memchr] | |
136023e0 | 75 | version = "2.4.1" |
17df50a5 XL |
76 | default-features = false |
77 | ||
78 | [dependencies.wasmparser] | |
79 | version = "0.57" | |
80 | optional = true | |
81 | [dev-dependencies.memmap2] | |
136023e0 | 82 | version = "0.3" |
17df50a5 XL |
83 | |
84 | [features] | |
136023e0 | 85 | all = ["read", "write", "std", "compression", "wasm"] |
17df50a5 XL |
86 | archive = [] |
87 | cargo-all = [] | |
88 | coff = [] | |
89 | compression = ["flate2", "std"] | |
90 | default = ["read", "compression"] | |
91 | elf = [] | |
92 | macho = [] | |
93 | pe = ["coff"] | |
94 | read = ["read_core", "archive", "coff", "elf", "macho", "pe", "unaligned"] | |
95 | read_core = [] | |
136023e0 | 96 | rustc-dep-of-std = ["core", "compiler_builtins", "alloc", "memchr/rustc-dep-of-std"] |
17df50a5 XL |
97 | std = ["memchr/std"] |
98 | unaligned = [] | |
99 | wasm = ["wasmparser"] | |
100 | write = ["write_core", "coff", "elf", "macho"] | |
101 | write_core = ["crc32fast", "indexmap", "std"] |