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"
16version = "0.27.1"
17exclude = ["/.github", "/testfiles"]
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 = ["doc"]
24[dependencies.alloc]
25version = "1.0.0"
26optional = true
27package = "rustc-std-workspace-alloc"
28
29[dependencies.compiler_builtins]
30version = "0.1.2"
31optional = true
32
33[dependencies.core]
34version = "1.0.0"
35optional = true
36package = "rustc-std-workspace-core"
37
38[dependencies.crc32fast]
39version = "1.2"
40optional = true
41
42[dependencies.flate2]
43version = "1"
44optional = true
45
46[dependencies.indexmap]
47version = "1.1"
48optional = true
49
50[dependencies.memchr]
51version = "2.4.1"
52default-features = false
53
54[dependencies.wasmparser]
55version = "0.57"
56optional = true
57
58[features]
59all = ["read", "write", "std", "compression", "wasm"]
60archive = []
61cargo-all = []
62coff = []
63compression = ["flate2", "std"]
64default = ["read", "compression"]
65doc = ["read_core", "write_core", "std", "compression", "archive", "coff", "elf", "macho", "pe", "wasm"]
66elf = []
67macho = []
68pe = ["coff"]
69read = ["read_core", "archive", "coff", "elf", "macho", "pe", "unaligned"]
70read_core = []
71rustc-dep-of-std = ["core", "compiler_builtins", "alloc", "memchr/rustc-dep-of-std"]
72std = ["memchr/std"]
73unaligned = []
74wasm = ["wasmparser"]
75write = ["write_core", "coff", "elf", "macho", "pe"]
76write_core = ["crc32fast", "indexmap/std", "std"]
77