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