Closed oko closed 10 months ago
Update the version of winreg to latest, which eliminates the build dependency on winapi.
winreg
winapi
cargo test -q results:
cargo test -q
running 5 tests ..... test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
cargo tree output diff:
cargo tree
$ diff ../before.txt ../after.txt 25c25 < └── winreg v0.11.0 --- > └── winreg v0.51.0 27c27,29 < └── winapi v0.3.9 --- > └── windows-sys v0.48.0 > └── windows-targets v0.48.5 > └── windows_x86_64_msvc v0.48.5
Further tested by updating build.rs for tray-item's examples/windows app to use embed_resource::compile(...) and verified that the example app properly built with icon embedding.
build.rs
tray-item
examples/windows
embed_resource::compile(...)
Definitely a pog moment; released in v2.3.0.
v2.3.0
Update the version of
winreg
to latest, which eliminates the build dependency onwinapi
.cargo test -q
results:cargo tree
output diff:Further tested by updating
build.rs
fortray-item
'sexamples/windows
app to useembed_resource::compile(...)
and verified that the example app properly built with icon embedding.