-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
62 lines (53 loc) · 1.54 KB
/
Copy pathCargo.toml
File metadata and controls
62 lines (53 loc) · 1.54 KB
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
[package]
name = "swdk"
version = "0.1.0"
edition = "2024"
[package.metadata.wdk.driver-model]
driver-type = "KMDF"
kmdf-version-major = 1
target-kmdf-version-minor = 33
[dependencies]
wdk = { git = "https://github.com/microsoft/windows-drivers-rs.git", branch = "main", optional = true }
wdk-alloc = { git = "https://github.com/microsoft/windows-drivers-rs.git", branch = "main", optional = true }
wdk-sys = { git = "https://github.com/microsoft/windows-drivers-rs.git", branch = "main", optional = true }
wdk-panic = { git = "https://github.com/microsoft/windows-drivers-rs.git", branch = "main", optional = true }
paste = "1.0.15"
num_enum = { version = "0.7.6", default-features = false}
[build-dependencies]
wdk-build = { git = "https://github.com/microsoft/windows-drivers-rs.git", branch = "main"}
regex = "1.13.1"
bindgen = "0.72.1"
heck = "0.5.0"
[features]
wdk-nightly = [
"wdk/nightly",
"wdk-sys/nightly",
"wdk-build/nightly"
]
wdk-deps = [
"dep:wdk-panic",
"dep:wdk",
"dep:wdk-alloc",
"dep:wdk-sys",
]
#default = ["kmdf-runtime"]
wdk-default = ["wdk-deps", "wdk-nightly"]
kmdf-runtime = ["minimal-runtime", "wdk-default"]
test-runtime = ["minimal-runtime"]
minimal-runtime = []
wdk-examples = []
unstable = ["wdk-nightly"]
nightly = ["wdk-nightly"]
hid = ["wdk-sys/hid"]
gpio = ["wdk-sys/gpio"]
parallel-ports = ["wdk-sys/parallel-ports"]
test-stubs = ["wdk-sys/test-stubs"]
usb = ["wdk-sys/usb"]
storage = ["wdk-sys/storage"]
[profile.dev]
panic = "abort"
opt-level = 0
debug = 2
[profile.release]
lto = true
panic = "abort"