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 = ["/.github", "/testfiles"]
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 package = "rustc-std-workspace-alloc"
29 [dependencies.compiler_builtins]
36 package = "rustc-std-workspace-core"
38 [dependencies.crc32fast]
46 [dependencies.indexmap]
52 default-features = false
54 [dependencies.wasmparser]
59 all = ["read", "write", "std", "compression", "wasm"]
63 compression = ["flate2", "std"]
64 default = ["read", "compression"]
65 doc = ["read_core", "write_core", "std", "compression", "archive", "coff", "elf", "macho", "pe", "wasm"]
69 read = ["read_core", "archive", "coff", "elf", "macho", "pe", "unaligned"]
71 rustc-dep-of-std = ["core", "compiler_builtins", "alloc", "memchr/rustc-dep-of-std"]
75 write = ["write_core", "coff", "elf", "macho", "pe"]
76 write_core = ["crc32fast", "indexmap/std", "std"]