-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
31 lines (24 loc) · 942 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
[package]
name = "handmadehero-rust"
version = "0.1.0"
authors = ["jest"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.8", features = ["winuser", "memoryapi", "libloaderapi", "xinput", "winerror", "profileapi", "dsound", "fileapi", "handleapi", "synchapi", "timeapi", "winbase", "memoryapi"] }
[features]
default = ["handmade_internal"] # add "handmade_internal" for debug cfg defs to work
handmade_internal = []
[lib]
path = "src/handmade.rs"
name = "handmade"
src = "src/handmade.rs"
crate-type = ["rlib", "cdylib"] #cdylib to make handmade.rs callable from C
[[bin]]
name = "win32_handmade"
path = "src/win32_handmade.rs"
[profile.dev]
# optimize dev builds needed to match hh performance , uncomment for visual studio debugger to work better
# opt-level = 3
overflow-checks = false