-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
101 lines (84 loc) · 2.96 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
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
# https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace]
members = ["crates/*"]
exclude = ["crates/no-std"] # separate workspace
[package]
name = "firehazard"
version = "0.0.0-2022-09-10"
# rust-version = "1.63" # TODO: verify or downlevel
description = "Unopinionated low level API bindings focused on soundness, safety, and stronger types over raw FFI."
authors = ["MaulingMonkey <[email protected]>"]
edition = "2021"
license = "Apache-2.0 OR MIT"
readme = "Readme.md"
documentation = "https://docs.rs/firehazard"
repository = "https://github.com/MaulingMonkey/firehazard"
keywords = [
# Note: crates.io has a maximum of 5 keywords
"windows",
"win32",
"security",
"sandbox",
"sandboxing",
]
categories = [
# https://crates.io/category_slugs
"api-bindings",
# "cryptography" # not yet, but eventually?
"no-std",
"os::windows-apis",
# "virtualization" # not yet, but eventually?
]
[package.metadata.docs.rs]
all-features = true
default-target = "x86_64-pc-windows-msvc"
targets = ["x86_64-pc-windows-msvc", "i686-pc-windows-msvc"]
[features]
default = ["std"]
std = ["abistr/std", "abistr/widestring", "lazy_static", "minidl", "winapi/std"]
[target.'cfg(windows)'.dependencies]
abibool = "0.5.3"
#abibool.git = "https://github.com/MaulingMonkey/abibool"
#abibool.rev = "7998497f56ec339d1cf2ea70532d55550b2380f3"
abistr.default-features = false
abistr.version = "0.2.0-rc3"
#abistr.git = "https://github.com/MaulingMonkey/abistr"
#abistr.rev = "3d57e647dbbdc00f953dea779497758a226d8191"
bytemuck.version = "1"
bytemuck.features = ["derive"]
lazy_static.version = "1"
lazy_static.optional = true # alternatively, enable `spin_no_std` feature
minidl.version = "0.1"
minidl.optional = true # make non-optional after unblocking https://github.com/MaulingMonkey/minidl/issues/1
winapi.version = "0.3"
winapi.features = [
# common
"impl-default",
# shared
"bcrypt",
"sddl",
"winerror",
# um
"combaseapi",
"debugapi",
"errhandlingapi",
"handleapi",
"heapapi",
"jobapi",
"jobapi2",
"lsalookup",
"memoryapi",
"namedpipeapi",
"ntlsa",
"processthreadsapi",
"securitybaseapi",
"synchapi",
"userenv",
"winbase",
"winnt",
"winuser",
]
[target.'cfg(windows)'.dev-dependencies]
#thindx = "0.0.0-unsound.5"
thindx.git = "https://github.com/MaulingMonkey/thindx"
thindx.rev = "aa03b40980d2170698ffcf89ed9d64bdb69116ef"