-
Notifications
You must be signed in to change notification settings - Fork 75
/
Cargo.toml
41 lines (34 loc) · 1.1 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
[package]
authors = ["Elliott Linder <elliott.darfink@gmail.com>"]
description = "A cross-platform detour library written in Rust"
documentation = "https://docs.rs/detour"
homepage = "https://github.com/darfink/detour-rs"
keywords = ["detour", "hook", "function", "api", "redirect"]
license = "BSD-2-Clause"
name = "detour"
readme = "README.md"
repository = "https://github.com/darfink/detour-rs"
version = "0.8.0"
edition = "2018"
[badges]
azure-devops = { project = "darfink/detour-rs", pipeline = "darfink.detour-rs" }
[dependencies]
cfg-if = "1.0.0"
generic-array = "0.14.1"
lazy_static = "1.2"
libc = "0.2.45"
mmap = { package = "mmap-fixed", version = "0.1.0" }
region = "2.0.0"
slice-pool = "0.4.1"
[dev-dependencies]
matches = "0.1.8"
[features]
default = ["nightly"]
nightly = []
[[example]]
name = "messageboxw_detour"
crate-type = ["cdylib"]
[target."cfg(any(target_arch = \"x86\", target_arch = \"x86_64\"))".dependencies]
udis = { package = "libudis86-sys", version = "0.2.1" }
[target."cfg(windows)".dev-dependencies]
winapi = { version = "0.3.7", features = ["minwindef", "windef", "winnt", "libloaderapi"] }