]>
Commit | Line | Data |
---|---|---|
a2a8927a 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 | |
5099ac24 | 6 | # to registry (e.g., crates.io) dependencies. |
a2a8927a | 7 | # |
5099ac24 FG |
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. | |
a2a8927a XL |
11 | |
12 | [package] | |
13 | edition = "2018" | |
fe692bf9 | 14 | rust-version = "1.60" |
a2a8927a | 15 | name = "object" |
4b012472 | 16 | version = "0.32.1" |
04454e1e FG |
17 | exclude = [ |
18 | "/.github", | |
19 | "/testfiles", | |
20 | ] | |
a2a8927a | 21 | description = "A unified interface for reading and writing object file formats." |
9c376795 | 22 | readme = "README.md" |
04454e1e FG |
23 | keywords = [ |
24 | "object", | |
25 | "elf", | |
26 | "mach-o", | |
27 | "pe", | |
28 | "coff", | |
29 | ] | |
30 | license = "Apache-2.0 OR MIT" | |
a2a8927a | 31 | repository = "https://github.com/gimli-rs/object" |
9c376795 | 32 | resolver = "2" |
04454e1e | 33 | |
a2a8927a XL |
34 | [package.metadata.docs.rs] |
35 | features = ["doc"] | |
04454e1e | 36 | |
a2a8927a XL |
37 | [dependencies.alloc] |
38 | version = "1.0.0" | |
39 | optional = true | |
40 | package = "rustc-std-workspace-alloc" | |
41 | ||
42 | [dependencies.compiler_builtins] | |
43 | version = "0.1.2" | |
44 | optional = true | |
45 | ||
46 | [dependencies.core] | |
47 | version = "1.0.0" | |
48 | optional = true | |
49 | package = "rustc-std-workspace-core" | |
50 | ||
51 | [dependencies.crc32fast] | |
52 | version = "1.2" | |
53 | optional = true | |
5099ac24 | 54 | default-features = false |
a2a8927a XL |
55 | |
56 | [dependencies.flate2] | |
57 | version = "1" | |
58 | optional = true | |
59 | ||
5099ac24 | 60 | [dependencies.hashbrown] |
fe692bf9 | 61 | version = "0.14.0" |
5099ac24 FG |
62 | features = ["ahash"] |
63 | optional = true | |
64 | default-features = false | |
65 | ||
a2a8927a | 66 | [dependencies.indexmap] |
fe692bf9 | 67 | version = "2.0" |
a2a8927a | 68 | optional = true |
fe692bf9 | 69 | default-features = false |
a2a8927a XL |
70 | |
71 | [dependencies.memchr] | |
72 | version = "2.4.1" | |
73 | default-features = false | |
74 | ||
49aad941 | 75 | [dependencies.ruzstd] |
fe692bf9 | 76 | version = "0.4.0" |
49aad941 FG |
77 | optional = true |
78 | ||
a2a8927a | 79 | [dependencies.wasmparser] |
fe692bf9 | 80 | version = "0.110.0" |
a2a8927a XL |
81 | optional = true |
82 | ||
83 | [features] | |
04454e1e FG |
84 | all = [ |
85 | "read", | |
86 | "write", | |
87 | "std", | |
88 | "compression", | |
89 | "wasm", | |
90 | ] | |
a2a8927a XL |
91 | archive = [] |
92 | cargo-all = [] | |
93 | coff = [] | |
04454e1e | 94 | compression = [ |
fe692bf9 FG |
95 | "dep:flate2", |
96 | "dep:ruzstd", | |
04454e1e FG |
97 | "std", |
98 | ] | |
99 | default = [ | |
100 | "read", | |
101 | "compression", | |
102 | ] | |
103 | doc = [ | |
104 | "read_core", | |
105 | "write_std", | |
106 | "std", | |
107 | "compression", | |
108 | "archive", | |
109 | "coff", | |
110 | "elf", | |
111 | "macho", | |
112 | "pe", | |
113 | "wasm", | |
49aad941 | 114 | "xcoff", |
04454e1e | 115 | ] |
a2a8927a XL |
116 | elf = [] |
117 | macho = [] | |
118 | pe = ["coff"] | |
04454e1e FG |
119 | read = [ |
120 | "read_core", | |
121 | "archive", | |
122 | "coff", | |
123 | "elf", | |
124 | "macho", | |
125 | "pe", | |
49aad941 | 126 | "xcoff", |
04454e1e FG |
127 | "unaligned", |
128 | ] | |
a2a8927a | 129 | read_core = [] |
04454e1e FG |
130 | rustc-dep-of-std = [ |
131 | "core", | |
132 | "compiler_builtins", | |
133 | "alloc", | |
134 | "memchr/rustc-dep-of-std", | |
135 | ] | |
a2a8927a XL |
136 | std = ["memchr/std"] |
137 | unaligned = [] | |
9c376795 FG |
138 | unstable = [] |
139 | unstable-all = [ | |
140 | "all", | |
141 | "unstable", | |
9c376795 | 142 | ] |
fe692bf9 | 143 | wasm = ["dep:wasmparser"] |
04454e1e FG |
144 | write = [ |
145 | "write_std", | |
146 | "coff", | |
147 | "elf", | |
148 | "macho", | |
149 | "pe", | |
49aad941 | 150 | "xcoff", |
04454e1e FG |
151 | ] |
152 | write_core = [ | |
fe692bf9 FG |
153 | "dep:crc32fast", |
154 | "dep:indexmap", | |
155 | "dep:hashbrown", | |
04454e1e FG |
156 | ] |
157 | write_std = [ | |
158 | "write_core", | |
159 | "std", | |
fe692bf9 FG |
160 | "indexmap?/std", |
161 | "crc32fast?/std", | |
04454e1e | 162 | ] |
9c376795 | 163 | xcoff = [] |