-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
33 lines (29 loc) · 981 Bytes
/
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
[package]
name = "pe_resource"
version = "0.2.0"
edition = "2021"
authors = ["Kyle Sabo"]
description = "Find a resource from a PE image without loading it."
# 1.82 adds use<>, which is required to make the code also compile with edition 2024 (1.85+)
rust-version = "1.82"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
# Note that not enabling this feature does not make the package no_std or not use allocations at all;
# several of the dependencies (i.e. goblin) will always need to allocate memory.
alloc = []
[dependencies]
goblin = {version="0.8", default-features = false, features=["pe32", "pe64"]}
anyhow = { version="1", default-features = false }
thiserror = "1"
memmap2 = "0.9"
either = { version="1.8", default-features = false }
plain = "0.2"
[profile.release]
opt-level = "s"
debug = false
lto = "fat"
incremental = false
debug-assertions = false
overflow-checks = false
panic = "abort"
rpath = false