-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
71 lines (62 loc) · 2.85 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
# https://doc.rust-lang.org/cargo/reference/manifest.html
[package]
name = "hwnd"
version = "0.0.0-git"
authors = ["MaulingMonkey <git@maulingmonkey.com>"]
edition = "2021"
repository = "https://github.com/MaulingMonkey/hwnd"
documentation = "https://docs.rs/hwnd"
license = "Apache-2.0 OR MIT"
readme = "Readme.md"
description = "Well documented, safe-leaning, sound, low-level API bindings to `HWND`-adjacent APIs"
keywords = ["hwnd", "window", "win32", "windowing"]
categories = ["api-bindings", "gui", "os::windows-apis"] # https://crates.io/category_slugs
exclude = [".vscode"]
[lib]
path = "src/_lib.rs"
[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]
raw-window-handle-0-1 = ["hwnd0/raw-window-handle-0-1"]
raw-window-handle-0-2 = ["hwnd0/raw-window-handle-0-2"]
raw-window-handle-0-3 = ["hwnd0/raw-window-handle-0-3"]
raw-window-handle-0-4 = ["hwnd0/raw-window-handle-0-4"]
raw-window-handle-0-5 = ["hwnd0/raw-window-handle-0-5"]
raw-window-handle-0-6 = ["hwnd0/raw-window-handle-0-6"]
[dependencies]
#hwnd0.path = "../hwnd0"
#hwnd0.git = "https://github.com/MaulingMonkey/hwnd0"
hwnd0.version = "0.0.0-2024-01-10"
hwnd0.features = ["bytemuck-1", "winapi-0-3"]
[target.'cfg(windows)'.dependencies]
abibool = "0.5"
abistr = "0.2.0-rc.3"
bytemuck.version = "1"
bytemuck.features = ["derive"]
lazy_static = "1"
winresult = "0.1.3"
#winresult.git = "https://github.com/MaulingMonkey/winresult"
#winresult.rev = "9b877bf59efd8cc89fae4fd5f791a0e51cc53712"
#winresult.path = "../winresult/crates/winresult"
[target.'cfg(windows)'.dependencies.winapi]
version = "0.3.9"
features = [
# misc
"std",
# shared
"d3d9types",
"guiddef",
"minwindef",
"ntdef",
"windef",
"winerror",
# um
"errhandlingapi",
"libloaderapi",
"processthreadsapi",
"sysinfoapi",
"unknwnbase",
"winuser",
]