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.20.0" 17authors = ["Nick Fitzgerald <fitzgen@gmail.com>", "Philip Craig <philipjcraig@gmail.com>"] 18exclude = ["/.coveralls.yml", "/.travis.yml"] 19description = "A unified interface for reading and writing object file formats." 20keywords = ["object", "elf", "mach-o", "pe", "coff"] 21license = "Apache-2.0/MIT" 22repository = "https://github.com/gimli-rs/object" 23[package.metadata.docs.rs] 24features = ["all"] 25 26[[example]] 27name = "nm" 28required-features = ["read"] 29 30[[example]] 31name = "objcopy" 32required-features = ["read", "write"] 33 34[[example]] 35name = "objdump" 36required-features = ["read"] 37[dependencies.alloc] 38version = "1.0.0" 39optional = true 40package = "rustc-std-workspace-alloc" 41 42[dependencies.compiler_builtins] 43version = "0.1.2" 44optional = true 45 46[dependencies.core] 47version = "1.0.0" 48optional = true 49package = "rustc-std-workspace-core" 50 51[dependencies.crc32fast] 52version = "1.2" 53optional = true 54 55[dependencies.flate2] 56version = "1" 57optional = true 58 59[dependencies.indexmap] 60version = "1.1" 61optional = true 62 63[dependencies.wasmparser] 64version = "0.57" 65optional = true 66[dev-dependencies.memmap] 67version = "0.7" 68 69[features] 70all = ["read", "write", "std", "compression", "default"] 71cargo-all = [] 72coff = [] 73compression = ["flate2", "std"] 74default = ["read", "compression"] 75elf = [] 76macho = [] 77pe = ["coff"] 78read = ["read_core", "coff", "elf", "macho", "pe", "wasm", "unaligned"] 79read_core = [] 80rustc-dep-of-std = ["core", "compiler_builtins", "alloc"] 81std = [] 82unaligned = [] 83wasm = ["wasmparser"] 84write = ["write_core", "coff", "elf", "macho"] 85write_core = ["crc32fast", "indexmap", "std"] 86