feat: fix compile imcompat warnning

This commit is contained in:
2023-10-18 00:30:26 +08:00
parent 452cb2b666
commit aa6c4f325d
2 changed files with 6 additions and 9 deletions

12
Cargo.lock generated
View File

@@ -1352,13 +1352,13 @@ dependencies = [
[[package]]
name = "rust-crypto"
version = "0.2.36"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f76d05d3993fd5f4af9434e8e436db163a12a9d40e1a58a726f27a01dfd12a2a"
source = "git+https://github.com/jht5945/rust-crypto.git#71627b888929297f3eb0b5c685f516aa0764d540"
dependencies = [
"base64",
"gcc",
"hex",
"libc",
"rand 0.3.23",
"rustc-serialize",
"time 0.1.45",
]
@@ -1380,12 +1380,6 @@ version = "0.1.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76"
[[package]]
name = "rustc-serialize"
version = "0.3.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dcf128d1287d2ea9d80910b5f1120d0b8eede3fbf1abe91c40d39ea7d51e6fda"
[[package]]
name = "rustc_version"
version = "0.4.0"

View File

@@ -36,6 +36,9 @@ x509-parser = "0.15"
yubikey = { version = "0.8", features = ["untested"] }
zeroize = "1.6"
[patch.crates-io]
rust-crypto = { git="https://github.com/jht5945/rust-crypto.git" }
[profile.release]
codegen-units = 1
opt-level = 'z'