Debian Codegraph @

third_party/rust/object/Cargo.toml

raw
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 = "object"
16 version = "0.36.4"
17 build = false
18 include = [
19 "/Cargo.toml",
20 "/CHANGELOG.md",
21 "/README.md",
22 "/LICENSE-APACHE",
23 "/LICENSE-MIT",
24 "/src",
25 "/tests",
26 ]
27 autobins = false
28 autoexamples = false
29 autotests = false
30 autobenches = false
31 description = "A unified interface for reading and writing object file formats."
32 readme = "README.md"
33 keywords = [
34 "object",
35 "elf",
36 "mach-o",
37 "pe",
38 "coff",
39 ]
40 license = "Apache-2.0 OR MIT"
41 repository = "https://github.com/gimli-rs/object"
42 resolver = "2"
43
44 [package.metadata.docs.rs]
45 features = ["doc"]
46
47 [lib]
48 name = "object"
49 path = "src/lib.rs"
50
51 [[test]]
52 name = "integration"
53 path = "tests/integration.rs"
54
55 [[test]]
56 name = "parse_self"
57 path = "tests/parse_self.rs"
58
59 [dependencies.alloc]
60 version = "1.0.0"
61 optional = true
62 package = "rustc-std-workspace-alloc"
63
64 [dependencies.compiler_builtins]
65 version = "0.1.2"
66 optional = true
67
68 [dependencies.core]
69 version = "1.0.0"
70 optional = true
71 package = "rustc-std-workspace-core"
72
73 [dependencies.crc32fast]
74 version = "1.2"
75 optional = true
76 default-features = false
77
78 [dependencies.flate2]
79 version = "1"
80 optional = true
81
82 [dependencies.hashbrown]
83 version = "0.14.0"
84 features = ["ahash"]
85 optional = true
86 default-features = false
87
88 [dependencies.indexmap]
89 version = "2.0"
90 optional = true
91 default-features = false
92
93 [dependencies.memchr]
94 version = "2.4.1"
95 default-features = false
96
97 [dependencies.ruzstd]
98 version = "0.7.0"
99 optional = true
100
101 [dependencies.wasmparser]
102 version = "0.216.0"
103 optional = true
104 default-features = false
105
106 [features]
107 all = [
108 "read",
109 "write",
110 "build",
111 "std",
112 "compression",
113 "wasm",
114 ]
115 archive = []
116 build = [
117 "build_core",
118 "write_std",
119 "elf",
120 ]
121 build_core = [
122 "read_core",
123 "write_core",
124 ]
125 cargo-all = []
126 coff = []
127 compression = [
128 "dep:flate2",
129 "dep:ruzstd",
130 "std",
131 ]
132 default = [
133 "read",
134 "compression",
135 ]
136 doc = [
137 "read_core",
138 "write_std",
139 "build_core",
140 "std",
141 "compression",
142 "archive",
143 "coff",
144 "elf",
145 "macho",
146 "pe",
147 "wasm",
148 "xcoff",
149 ]
150 elf = []
151 macho = []
152 pe = ["coff"]
153 read = [
154 "read_core",
155 "archive",
156 "coff",
157 "elf",
158 "macho",
159 "pe",
160 "xcoff",
161 "unaligned",
162 ]
163 read_core = []
164 rustc-dep-of-std = [
165 "core",
166 "compiler_builtins",
167 "alloc",
168 "memchr/rustc-dep-of-std",
169 ]
170 std = ["memchr/std"]
171 unaligned = []
172 unstable = []
173 unstable-all = [
174 "all",
175 "unstable",
176 ]
177 wasm = ["dep:wasmparser"]
178 write = [
179 "write_std",
180 "coff",
181 "elf",
182 "macho",
183 "pe",
184 "xcoff",
185 ]
186 write_core = [
187 "dep:crc32fast",
188 "dep:indexmap",
189 "dep:hashbrown",
190 ]
191 write_std = [
192 "write_core",
193 "std",
194 "indexmap?/std",
195 "crc32fast?/std",
196 ]
197 xcoff = []