[package]
name = "object"
version = "0.27.1"
edition = "2018"
exclude = ["/.github", "/testfiles"]
keywords = ["object", "elf", "mach-o", "pe", "coff"]
license = "Apache-2.0/MIT"
repository = "https://github.com/gimli-rs/object"
description = "A unified interface for reading and writing object file formats."
[package.metadata.docs.rs]
features = ['doc']
[dependencies]
crc32fast = { version = "1.2", optional = true }
flate2 = { version = "1", optional = true }
indexmap = { version = "1.1", optional = true }
wasmparser = { version = "0.57", optional = true }
memchr = { version = "2.4.1", default-features = false }
core = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-core' }
compiler_builtins = { version = '0.1.2', optional = true }
alloc = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-alloc' }
[features]
read_core = []
read = ["read_core", "archive", "coff", "elf", "macho", "pe", "unaligned"]
write_core = ["crc32fast", "indexmap/std", "std"]
write = ["write_core", "coff", "elf", "macho", "pe"]
std = ["memchr/std"]
compression = ["flate2", "std"]
unaligned = []
archive = []
coff = []
elf = []
macho = []
pe = ["coff"]
wasm = ["wasmparser"]
default = ["read", "compression"]
all = ["read", "write", "std", "compression", "wasm"]
cargo-all = []
doc = [
"read_core", "write_core",
"std", "compression",
"archive", "coff", "elf", "macho", "pe", "wasm",
]
rustc-dep-of-std = ['core', 'compiler_builtins', 'alloc', 'memchr/rustc-dep-of-std']
[workspace]
members = ["crates/examples"]
default-members = [".", "crates/examples"]