| 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 are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.63.0" |
| 15 |
name = "goblin" |
| 16 |
version = "0.9.2" |
| 17 |
authors = [ |
| 18 |
"m4b <[email protected]>", |
| 19 |
"seu <[email protected]>", |
| 20 |
"Will Glynn <[email protected]>", |
| 21 |
"Philip Craig <[email protected]>", |
| 22 |
"Lzu Tao <[email protected]>", |
| 23 |
] |
| 24 |
build = false |
| 25 |
include = [ |
| 26 |
"src", |
| 27 |
"CHANGELOG.md", |
| 28 |
"Cargo.toml", |
| 29 |
"LICENSE", |
| 30 |
"README.md", |
| 31 |
] |
| 32 |
autobins = false |
| 33 |
autoexamples = false |
| 34 |
autotests = false |
| 35 |
autobenches = false |
| 36 |
description = "An impish, cross-platform, ELF, Mach-o, and PE binary parsing and loading crate" |
| 37 |
documentation = "https://docs.rs/goblin" |
| 38 |
readme = "README.md" |
| 39 |
keywords = [ |
| 40 |
"binary", |
| 41 |
"elf", |
| 42 |
"mach", |
| 43 |
"pe", |
| 44 |
"archive", |
| 45 |
] |
| 46 |
categories = [ |
| 47 |
"parsing", |
| 48 |
"development-tools::debugging", |
| 49 |
] |
| 50 |
license = "MIT" |
| 51 |
repository = "https://github.com/m4b/goblin" |
| 52 |
|
| 53 |
[lib] |
| 54 |
name = "goblin" |
| 55 |
path = "src/lib.rs" |
| 56 |
|
| 57 |
[dependencies.log] |
| 58 |
version = "0.4" |
| 59 |
optional = true |
| 60 |
default-features = false |
| 61 |
|
| 62 |
[dependencies.plain] |
| 63 |
version = "0.2.3" |
| 64 |
|
| 65 |
[dependencies.scroll] |
| 66 |
version = "0.12" |
| 67 |
default-features = false |
| 68 |
|
| 69 |
[dev-dependencies.stderrlog] |
| 70 |
version = "0.5.4" |
| 71 |
|
| 72 |
[features] |
| 73 |
alloc = [ |
| 74 |
"scroll/derive", |
| 75 |
"log", |
| 76 |
] |
| 77 |
archive = ["alloc"] |
| 78 |
default = [ |
| 79 |
"std", |
| 80 |
"elf32", |
| 81 |
"elf64", |
| 82 |
"mach32", |
| 83 |
"mach64", |
| 84 |
"pe32", |
| 85 |
"pe64", |
| 86 |
"te", |
| 87 |
"archive", |
| 88 |
"endian_fd", |
| 89 |
] |
| 90 |
elf32 = [] |
| 91 |
elf64 = [] |
| 92 |
endian_fd = ["alloc"] |
| 93 |
mach32 = [ |
| 94 |
"alloc", |
| 95 |
"endian_fd", |
| 96 |
"archive", |
| 97 |
] |
| 98 |
mach64 = [ |
| 99 |
"alloc", |
| 100 |
"endian_fd", |
| 101 |
"archive", |
| 102 |
] |
| 103 |
pe32 = [ |
| 104 |
"alloc", |
| 105 |
"endian_fd", |
| 106 |
] |
| 107 |
pe64 = [ |
| 108 |
"alloc", |
| 109 |
"endian_fd", |
| 110 |
] |
| 111 |
std = [ |
| 112 |
"alloc", |
| 113 |
"scroll/std", |
| 114 |
] |
| 115 |
te = [ |
| 116 |
"alloc", |
| 117 |
"endian_fd", |
| 118 |
] |
| 119 |
|
| 120 |
[badges.travis-ci] |
| 121 |
branch = "master" |
| 122 |
repository = "m4b/goblin" |