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.25.3" 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 = "ar" 28required-features = ["read_core", "archive"] 29 30[[example]] 31name = "objcopy" 32required-features = ["read", "write"] 33 34[[example]] 35name = "objdump" 36required-features = ["read"] 37 38[[example]] 39name = "objectmap" 40required-features = ["read_core"] 41 42[[example]] 43name = "nm" 44required-features = ["read"] 45 46[[example]] 47name = "readobj" 48required-features = ["read"] 49[dependencies.alloc] 50version = "1.0.0" 51optional = true 52package = "rustc-std-workspace-alloc" 53 54[dependencies.compiler_builtins] 55version = "0.1.2" 56optional = true 57 58[dependencies.core] 59version = "1.0.0" 60optional = true 61package = "rustc-std-workspace-core" 62 63[dependencies.crc32fast] 64version = "1.2" 65optional = true 66 67[dependencies.flate2] 68version = "1" 69optional = true 70 71[dependencies.indexmap] 72version = "1.1" 73optional = true 74 75[dependencies.memchr] 76version = "2.4" 77default-features = false 78 79[dependencies.wasmparser] 80version = "0.57" 81optional = true 82[dev-dependencies.memmap2] 83version = "0.2.2" 84 85[features] 86all = ["read", "write", "std", "compression", "default"] 87archive = [] 88cargo-all = [] 89coff = [] 90compression = ["flate2", "std"] 91default = ["read", "compression"] 92elf = [] 93macho = [] 94pe = ["coff"] 95read = ["read_core", "archive", "coff", "elf", "macho", "pe", "unaligned"] 96read_core = [] 97rustc-dep-of-std = ["core", "compiler_builtins", "alloc"] 98std = ["memchr/std"] 99unaligned = [] 100wasm = ["wasmparser"] 101write = ["write_core", "coff", "elf", "macho"] 102write_core = ["crc32fast", "indexmap", "std"] 103