]> git.proxmox.com Git - rustc.git/blame - vendor/object/Cargo.toml
New upstream version 1.55.0+dfsg1
[rustc.git] / vendor / object / Cargo.toml
CommitLineData
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]
14edition = "2018"
15name = "object"
136023e0 16version = "0.26.2"
17df50a5
XL
17exclude = ["/.coveralls.yml", "/.travis.yml"]
18description = "A unified interface for reading and writing object file formats."
19keywords = ["object", "elf", "mach-o", "pe", "coff"]
20license = "Apache-2.0/MIT"
21repository = "https://github.com/gimli-rs/object"
22[package.metadata.docs.rs]
23features = ["all"]
24
25[[example]]
26name = "ar"
27required-features = ["read_core", "archive"]
28
29[[example]]
30name = "objcopy"
31required-features = ["read", "write"]
32
33[[example]]
34name = "objdump"
35required-features = ["read"]
36
37[[example]]
38name = "objectmap"
39required-features = ["read_core"]
40
41[[example]]
42name = "nm"
43required-features = ["read"]
44
45[[example]]
46name = "readobj"
47required-features = ["read"]
48[dependencies.alloc]
49version = "1.0.0"
50optional = true
51package = "rustc-std-workspace-alloc"
52
53[dependencies.compiler_builtins]
54version = "0.1.2"
55optional = true
56
57[dependencies.core]
58version = "1.0.0"
59optional = true
60package = "rustc-std-workspace-core"
61
62[dependencies.crc32fast]
63version = "1.2"
64optional = true
65
66[dependencies.flate2]
67version = "1"
68optional = true
69
70[dependencies.indexmap]
71version = "1.1"
72optional = true
73
74[dependencies.memchr]
136023e0 75version = "2.4.1"
17df50a5
XL
76default-features = false
77
78[dependencies.wasmparser]
79version = "0.57"
80optional = true
81[dev-dependencies.memmap2]
136023e0 82version = "0.3"
17df50a5
XL
83
84[features]
136023e0 85all = ["read", "write", "std", "compression", "wasm"]
17df50a5
XL
86archive = []
87cargo-all = []
88coff = []
89compression = ["flate2", "std"]
90default = ["read", "compression"]
91elf = []
92macho = []
93pe = ["coff"]
94read = ["read_core", "archive", "coff", "elf", "macho", "pe", "unaligned"]
95read_core = []
136023e0 96rustc-dep-of-std = ["core", "compiler_builtins", "alloc", "memchr/rustc-dep-of-std"]
17df50a5
XL
97std = ["memchr/std"]
98unaligned = []
99wasm = ["wasmparser"]
100write = ["write_core", "coff", "elf", "macho"]
101write_core = ["crc32fast", "indexmap", "std"]