feat: hatter fork

This commit is contained in:
2024-11-17 10:50:06 +08:00
parent 90372941be
commit f2388b11cf
3 changed files with 6 additions and 8 deletions

7
Cargo.lock generated
View File

@@ -1459,9 +1459,10 @@ dependencies = [
]
[[package]]
name = "rust-crypto"
name = "rust-crypto-hatter-fork"
version = "0.2.36"
source = "git+https://github.com/jht5945/rust-crypto.git#71627b888929297f3eb0b5c685f516aa0764d540"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d98d0ee2782d25af4e3f61fe6def8aba687f2ee821a575a47595eb4642429b02"
dependencies = [
"base64 0.21.7",
"gcc",
@@ -1893,7 +1894,7 @@ dependencies = [
"rand 0.8.5",
"rpassword",
"rsa",
"rust-crypto",
"rust-crypto-hatter-fork",
"rust_util",
"secrecy 0.10.3",
"security-framework",

View File

@@ -33,7 +33,7 @@ rand = "0.8"
# reqwest = { version = "0.11", features = ["blocking", "rustls", "rustls-tls"] }
rpassword = "7.3"
rsa = { version = "0.9", features = ["pem"] }
rust-crypto = "0.2"
rust-crypto-hatter-fork = "0.2"
rust_util = "0.6"
security-framework = { version = "3.0", features = ["OSX_10_15"], optional = true }
serde = { version = "1.0", features = ["derive"] }
@@ -56,9 +56,6 @@ ctrlc = "3.4"
[build-dependencies]
swift-rs = { path = "swift-rs", features = ["build"], optional = true }
[patch.crates-io]
rust-crypto = { git = "https://github.com/jht5945/rust-crypto.git" }
[profile.release]
codegen-units = 1
opt-level = 'z'

View File

@@ -1,5 +1,5 @@
[package]
name = "swift-rs"
name = "swift-rs-hatter-fork"
version = "1.0.6"
description = "Call Swift from Rust with ease!"
authors = ["The swift-rs contributors"]