Skip to content

Commit 341f6bc

Browse files
committed
A few tweaks
Switching the sha256 crate: - rust-crypto can fail to compile on windows - not supported anymore HWID expect instead of unwrap: -HWID is not necessary, so if it can not be parsed (due to not being specified), it will throw an error. We can handle this using expect.
1 parent 30af1ff commit 341f6bc

File tree

4 files changed

+103
-140
lines changed

4 files changed

+103
-140
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
target/*
1+
target/*
2+
.idea/*

Cargo.lock

+82-115
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ version = "0.5.0"
77
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
88

99
[dependencies]
10-
aes = "0.7.4"
10+
aes = "0.8.2"
1111
base16 = "0.2.1"
12-
block-modes = "0.8.1"
12+
block-modes = "0.9.1"
1313
machine_uuid = "0.1.0"
14-
obfstr = "0.3.0"
14+
obfstr = "0.4.1"
1515
reqwest = {version = "0.11.3", features = ["blocking"]}
16-
rust-crypto = "0.2.36"
16+
sha256 = "1.1.1"
1717
serde = {version = "1.0.126", features = ["derive"]}
1818
serde_json = "1.0.64"
1919
uuid = {version = "0.8.2", features = ["v4"]}

0 commit comments

Comments
 (0)