Update crates for windows builds (#20853)

This commit is contained in:
Cheena Malhotra
2022-10-16 22:40:59 -07:00
committed by GitHub
parent 484fbe836d
commit 4c565b31bc
3 changed files with 241 additions and 149 deletions

19
build/win32/cargo.toml Normal file
View File

@@ -0,0 +1,19 @@
[package]
name = "inno_updater"
version = "0.9.0"
authors = ["Microsoft"]
build = "build.rs"
[dependencies]
byteorder = "1"
crc = "^1.0.0"
slog = "2.1.1"
slog-async = "2.2.0"
slog-term = "2.3.0"
[target.'cfg(windows)'.dependencies]
winapi = { version = "^0.3.9", features = ["winuser", "libloaderapi", "commctrl", "processthreadsapi", "tlhelp32", "handleapi", "psapi", "errhandlingapi", "winbase", "shellapi"] }
[profile.release]
lto = true
panic = 'abort'