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