1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
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
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)
17 exclude = ["/.coveralls.yml", "/.travis.yml"]
18 description = "A unified interface for reading and writing object file formats."
19 keywords = ["object", "elf", "mach-o", "pe", "coff"]
20 license = "Apache-2.0/MIT"
21 repository = "https://github.com/gimli-rs/object"
22 [package.metadata.docs.rs]
27 required-features = ["read_core", "archive"]
31 required-features = ["read", "write"]
35 required-features = ["read"]
39 required-features = ["read_core"]
43 required-features = ["read"]
47 required-features = ["read"]
51 package = "rustc-std-workspace-alloc"
53 [dependencies.compiler_builtins]
60 package = "rustc-std-workspace-core"
62 [dependencies.crc32fast]
70 [dependencies.indexmap]
76 default-features = false
78 [dependencies.wasmparser]
81 [dev-dependencies.memmap2]
85 all = ["read", "write", "std", "compression", "wasm"]
89 compression = ["flate2", "std"]
90 default = ["read", "compression"]
94 read = ["read_core", "archive", "coff", "elf", "macho", "pe", "unaligned"]
96 rustc-dep-of-std = ["core", "compiler_builtins", "alloc", "memchr/rustc-dep-of-std"]
100 write = ["write_core", "coff", "elf", "macho"]
101 write_core = ["crc32fast", "indexmap", "std"]