summaryrefslogtreecommitdiffstats
path: root/third_party/rust/goblin/Cargo.toml
blob: 7c586a3e0d8441973c172420e272be9c6f594f73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.60.0"
name = "goblin"
version = "0.7.1"
authors = [
    "m4b <m4b.github.io@gmail.com>",
    "seu <seu@panopticon.re>",
    "Will Glynn <will@willglynn.com>",
    "Philip Craig <philipjcraig@gmail.com>",
    "Lzu Tao <taolzu@gmail.com>",
]
include = [
    "src",
    "CHANGELOG.md",
    "Cargo.toml",
    "LICENSE",
    "README.md",
]
description = "An impish, cross-platform, ELF, Mach-o, and PE binary parsing and loading crate"
documentation = "https://docs.rs/goblin"
readme = "README.md"
keywords = [
    "binary",
    "elf",
    "mach",
    "pe",
    "archive",
]
categories = [
    "parsing",
    "development-tools::debugging",
]
license = "MIT"
repository = "https://github.com/m4b/goblin"

[dependencies.log]
version = "0.4"
optional = true
default-features = false

[dependencies.plain]
version = "0.2.3"

[dependencies.scroll]
version = "0.11"
default_features = false

[features]
alloc = [
    "scroll/derive",
    "log",
]
archive = ["alloc"]
default = [
    "std",
    "elf32",
    "elf64",
    "mach32",
    "mach64",
    "pe32",
    "pe64",
    "archive",
    "endian_fd",
]
elf32 = []
elf64 = []
endian_fd = ["alloc"]
mach32 = [
    "alloc",
    "endian_fd",
    "archive",
]
mach64 = [
    "alloc",
    "endian_fd",
    "archive",
]
pe32 = [
    "alloc",
    "endian_fd",
]
pe64 = [
    "alloc",
    "endian_fd",
]
std = [
    "alloc",
    "scroll/std",
]

[badges.travis-ci]
branch = "master"
repository = "m4b/goblin"