-
Notifications
You must be signed in to change notification settings - Fork 163
/
Copy pathCargo.toml
55 lines (47 loc) · 1.39 KB
/
Cargo.toml
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
[package]
name = "goblin"
version = "0.0.11"
readme = "README.md"
keywords = ["binary", "elf", "mach", "pe", "archive"]
repository = "https://github.com/m4b/goblin"
license = "MIT"
description = "An impish, cross-platform binary parsing and loading crate"
documentation = "https://docs.rs/goblin"
categories = ["parsing"]
include = ["src/**/*", "Cargo.toml", "CHANGELOG.md", "LICENSE", "README.md", "etc/*", "examples/*", "tests/*", "fuzz/**/*"]
[lib]
[dev-dependencies]
env_logger = "0.4.3"
[dependencies]
plain = "0.2.1"
log = { version = "0.3.8", optional = true }
[dependencies.scroll]
version = "0.7.0"
default_features = false
[dependencies.scroll_derive]
version = "0.8.0"
optional = true
[features]
default = ["std", "elf32", "elf64", "mach32", "mach64", "pe32", "pe64", "goblin", "endian_fd", "archive", "scroll/std"]
std = ["scroll/std", "scroll_derive", "log"]
endian_fd = ["std"]
elf32 = []
elf64 = []
# for now we will require mach and pe to be std + endian_fd
mach32 = ["std", "endian_fd"]
mach64 = ["std", "endian_fd"]
pe32 = ["std", "endian_fd"]
pe64 = ["std", "endian_fd"]
archive = ["endian_fd"]
goblin = []
# [profile.dev]
# opt-level = 0
# debug = true
# rpath = false
# lto = false
# debug-assertions = true
# codegen-units = 4
[badges.travis-ci]
branch = "master"
repository = "m4b/goblin"