-
Notifications
You must be signed in to change notification settings - Fork 42
/
Cargo.toml
58 lines (48 loc) · 1.73 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
56
57
58
[package]
name = "pelite"
version = "0.10.0"
authors = ["Casper <[email protected]>"]
edition = "2018"
license = "MIT"
description = "Lightweight, memory-safe, zero-allocation library for reading and navigating PE binaries."
documentation = "https://docs.rs/pelite/"
repository = "https://github.com/CasualX/pelite"
readme = "readme.md"
keywords = ["exe", "dll", "mui", "bin", "pe"]
categories = ["parser-implementations", "command-line-utilities"]
exclude = ["tests/pocs/blob"]
[workspace]
members = [".", "./src/proc-macros", "./wasm"]
[features]
default = ["mmap", "derive_pod"]
unsafe_alignment = []
mmap = ["std", "libc", "winapi"]
unstable = []
derive_pod = ["dataview/derive_pod"]
std = ["no-std-compat/std"]
resources_nostd = ["hashbrown"]
[badges]
appveyor = { repository = "CasualX/pelite", branch = "master", service = "github" }
travis-ci = { repository = "CasualX/pelite", branch = "master", service = "github" }
maintenance = { status = "actively-developed" }
[profile.release]
lto = true
opt-level = 2
[package.metadata.docs.rs]
all-features = true
default-target = "x86_64-pc-windows-msvc"
[dependencies]
pelite-macros = { path = "src/proc-macros", version = "0.1.1" }
dataview = { version = "1.0", default-features = false }
serde = { version = "1.0", optional = true, features = ["derive"] }
data-encoding = { version = "2.3", optional = true }
no-std-compat = { version = "0.4.0", features = ["alloc"] }
hashbrown = { version = "0.8.0", optional = true }
[target.'cfg(unix)'.dependencies]
libc = { version = "0.2", optional = true }
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", optional = true, features = ["fileapi", "memoryapi", "handleapi"] }
[dev-dependencies]
rand = "0.5"
lde = "0.3"
format_xml = "0.2"