[package]
name = "object"
version = "0.35.0"
edition = "2018"
keywords = ["object", "elf", "mach-o", "pe", "coff"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/gimli-rs/object"
rust-version = "1.65"
description = "A unified interface for reading and writing object file formats."
include = [
"/Cargo.toml",
"/CHANGELOG.md",
"/README.md",
"/LICENSE-APACHE",
"/LICENSE-MIT",
"/src",
"/tests",
]
[package.metadata.docs.rs]
features = ['doc']
[dependencies]
crc32fast = { version = "1.2", default-features = false, optional = true }
flate2 = { version = "1", optional = true }
indexmap = { version = "2.0", default-features = false, optional = true }
wasmparser = { version = "0.202.0", optional = true }
memchr = { version = "2.4.1", default-features = false }
hashbrown = { version = "0.14.0", features = ["ahash"], default-features = false, optional = true }
ruzstd = { version = "0.6.0", optional = true }
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", "xcoff", "unaligned"]
write_core = ["dep:crc32fast", "dep:indexmap", "dep:hashbrown"]
write_std = ["write_core", "std", "indexmap?/std", "crc32fast?/std"]
write = ["write_std", "coff", "elf", "macho", "pe", "xcoff"]
build_core = ["read_core", "write_core"]
build = ["build_core", "write_std", "elf"]
std = ["memchr/std"]
compression = ["dep:flate2", "dep:ruzstd", "std"]
unaligned = []
archive = []
coff = []
elf = []
macho = []
pe = ["coff"]
wasm = ["dep:wasmparser"]
xcoff = []
default = ["read", "compression"]
all = ["read", "write", "build", "std", "compression", "wasm"]
cargo-all = []
doc = [
"read_core", "write_std", "build_core",
"std", "compression",
"archive", "coff", "elf", "macho", "pe", "wasm", "xcoff",
]
unstable = []
unstable-all = ["all", "unstable"]
rustc-dep-of-std = ['core', 'compiler_builtins', 'alloc', 'memchr/rustc-dep-of-std']
[workspace]
members = ["crates/*"]
default-members = [".", "crates/examples"]
resolver = "2"