Merge pull request #231 from philipc/unaligned

Add `unaligned` feature
This commit is contained in:
Philip Craig
2020-05-28 16:18:27 +10:00
committed by GitHub
2 changed files with 327 additions and 138 deletions
+4 -1
View File
@@ -29,12 +29,15 @@ memmap = "0.7"
[features]
read_core = []
read = ["read_core", "coff", "elf", "macho", "pe", "wasm"]
read = ["read_core", "coff", "elf", "macho", "pe", "wasm", "unaligned"]
write_core = ["crc32fast", "indexmap", "std"]
write = ["write_core", "coff", "elf", "macho"]
std = []
compression = ["flate2", "std"]
# Treat all types as unaligned. May be useful to enable when processing files
# for architectures that have no alignment constraints.
unaligned = []
coff = []
elf = []
+323 -137
View File
File diff suppressed because it is too large Load Diff