Compare commits

...
Author SHA1 Message Date
df85b7e2bc Update Rust crate aes-gcm to 0.11
Some checks failed
renovate/artifacts Artifact file update failure
CI / checks (pull_request) Failing after 7m48s
renovate/stability-days Updates have met minimum release age requirement
2026-08-06 03:02:33 +02:00
7182272e3e Merge pull request 'Update Rust crate base64 to 0.23' (#10) from renovate/base64-0.x into master
Some checks failed
CI / checks (push) Failing after 2m26s
2026-08-06 02:10:40 +02:00
190a5e2f12 Merge pull request 'Update Rust crate getrandom to 0.4.0' (#12) from renovate/getrandom-0.x into master
Some checks failed
CI / checks (push) Has been cancelled
2026-08-06 02:10:39 +02:00
9fc6bf9e24 Merge pull request 'Update Rust crate http to v1.5.0' (#13) from renovate/http-1.x-lockfile into master
Some checks failed
CI / checks (push) Has been cancelled
2026-08-06 02:10:38 +02:00
1d010bc7a3 Merge pull request 'Update Rust crate rand to 0.10' (#14) from renovate/rand-0.x into master
Some checks failed
CI / checks (push) Has been cancelled
2026-08-06 02:10:37 +02:00
5effb763f0 Update Rust crate rand to 0.10
All checks were successful
CI / checks (pull_request) Successful in 7m57s
2026-08-06 02:02:36 +02:00
b4cd71411b Update Rust crate http to v1.5.0
All checks were successful
CI / checks (pull_request) Successful in 8m24s
2026-08-06 02:02:34 +02:00
5a030073a8 Update Rust crate getrandom to 0.4.0
Some checks failed
renovate/artifacts Artifact file update failure
CI / checks (pull_request) Failing after 6m57s
2026-08-06 01:04:05 +02:00
2809435304 Update Rust crate base64 to 0.23
Some checks failed
CI / checks (pull_request) Failing after 5m7s
2026-08-06 00:02:57 +02:00
7 changed files with 24 additions and 18 deletions

4
Cargo.lock generated
View file

@ -841,9 +841,9 @@ checksum = "1a9fcbcc408c5526c3ab80d534e5c86e7967c1fb7aa0a8c76abd1edc27deb877"
[[package]] [[package]]
name = "http" name = "http"
version = "1.4.2" version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6970f50e31d6fc17d3fa27329444bfa74e196cf62e95052a3f6fee181dba6425" checksum = "918d3568bebf352712bc2ef3d46a8bcf1a75b373be6539de198e9105cbbf9ce0"
dependencies = [ dependencies = [
"bytes", "bytes",
"itoa", "itoa",

View file

@ -7,7 +7,7 @@ edition = "2024"
mtp-type-map = { version = "0.2.0", path = "../type-map" } mtp-type-map = { version = "0.2.0", path = "../type-map" }
mtp-common = { version = "0.2.0", path = "../common" } mtp-common = { version = "0.2.0", path = "../common" }
mtp-crypto = { version = "0.2.0", path = "../crypto", optional = true } mtp-crypto = { version = "0.2.0", path = "../crypto", optional = true }
base64 = "0.22" base64 = "0.23"
byteorder = "1.5" byteorder = "1.5"
rand = { version = "0.10.1", features = ["std", "std_rng"] } rand = { version = "0.10.1", features = ["std", "std_rng"] }

View file

@ -8,7 +8,7 @@ ignored = ["rand_core"]
[dependencies] [dependencies]
chacha20poly1305 = { version = "0.10", optional = true } chacha20poly1305 = { version = "0.10", optional = true }
aes-gcm = { version = "0.10", optional = true } aes-gcm = { version = "0.11", optional = true }
ed25519-dalek = { version = "2.2", optional = true, features = [ ed25519-dalek = { version = "2.2", optional = true, features = [
"pkcs8", "pkcs8",
"pem", "pem",
@ -17,7 +17,7 @@ hkdf = { version = "0.13", optional = true }
sha2 = { version = "0.11", optional = true } sha2 = { version = "0.11", optional = true }
zeroize = { version = "1.9", features = ["derive"] } zeroize = { version = "1.9", features = ["derive"] }
thiserror = "1" thiserror = "1"
base64 = "0.22" base64 = "0.23"
rand_core = { version = "0.10.1" } rand_core = { version = "0.10.1" }
rand = "0.10.2" rand = "0.10.2"
getrandom = "0.4.3" getrandom = "0.4.3"

26
example/Cargo.lock generated
View file

@ -104,6 +104,12 @@ version = "0.22.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
[[package]]
name = "base64"
version = "0.23.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5"
[[package]] [[package]]
name = "base64ct" name = "base64ct"
version = "1.8.3" version = "1.8.3"
@ -495,7 +501,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
dependencies = [ dependencies = [
"libc", "libc",
"windows-sys 0.52.0", "windows-sys 0.61.2",
] ]
[[package]] [[package]]
@ -793,9 +799,9 @@ checksum = "1a9fcbcc408c5526c3ab80d534e5c86e7967c1fb7aa0a8c76abd1edc27deb877"
[[package]] [[package]]
name = "http" name = "http"
version = "1.4.2" version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6970f50e31d6fc17d3fa27329444bfa74e196cf62e95052a3f6fee181dba6425" checksum = "918d3568bebf352712bc2ef3d46a8bcf1a75b373be6539de198e9105cbbf9ce0"
dependencies = [ dependencies = [
"bytes", "bytes",
"itoa", "itoa",
@ -1257,7 +1263,7 @@ dependencies = [
name = "mtp-codec" name = "mtp-codec"
version = "0.2.0" version = "0.2.0"
dependencies = [ dependencies = [
"base64", "base64 0.23.1",
"byteorder", "byteorder",
"mtp-common", "mtp-common",
"mtp-crypto", "mtp-crypto",
@ -1279,7 +1285,7 @@ dependencies = [
name = "mtp-crypto" name = "mtp-crypto"
version = "0.2.0" version = "0.2.0"
dependencies = [ dependencies = [
"base64", "base64 0.23.1",
"chacha20poly1305", "chacha20poly1305",
"ed25519-dalek", "ed25519-dalek",
"getrandom 0.4.3", "getrandom 0.4.3",
@ -1490,7 +1496,7 @@ version = "3.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1d30c53c26bc5b31a98cd02d20f25a7c8567146caf63ed593a9d87b2775291be" checksum = "1d30c53c26bc5b31a98cd02d20f25a7c8567146caf63ed593a9d87b2775291be"
dependencies = [ dependencies = [
"base64", "base64 0.22.1",
"serde_core", "serde_core",
] ]
@ -1648,7 +1654,7 @@ dependencies = [
"once_cell", "once_cell",
"socket2", "socket2",
"tracing", "tracing",
"windows-sys 0.52.0", "windows-sys 0.61.2",
] ]
[[package]] [[package]]
@ -1840,7 +1846,7 @@ dependencies = [
"security-framework", "security-framework",
"security-framework-sys", "security-framework-sys",
"webpki-root-certs", "webpki-root-certs",
"windows-sys 0.52.0", "windows-sys 0.61.2",
] ]
[[package]] [[package]]
@ -1986,7 +1992,7 @@ dependencies = [
name = "server" name = "server"
version = "0.2.0" version = "0.2.0"
dependencies = [ dependencies = [
"base64", "base64 0.23.1",
"hex", "hex",
"http", "http",
"mtp", "mtp",
@ -2579,7 +2585,7 @@ version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
dependencies = [ dependencies = [
"windows-sys 0.52.0", "windows-sys 0.61.2",
] ]
[[package]] [[package]]

View file

@ -13,7 +13,7 @@ tokio = { version = "1", features = ["full"] }
http = "1" http = "1"
serde_json = { version = "1" } serde_json = { version = "1" }
hex = "0.4" hex = "0.4"
base64 = "0.22" base64 = "0.23"
tracing-subscriber = "0.3.23" tracing-subscriber = "0.3.23"
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }
rand = "0.10.1" rand = "0.10.1"

View file

@ -8,7 +8,7 @@ mtp-common = { version = "0.2.0", path = "../common" }
mtp-codec = { version = "0.2.0", path = "../codec", features = ["registry"] } mtp-codec = { version = "0.2.0", path = "../codec", features = ["registry"] }
mtp-transport = { version = "0.2.0", path = "../transport", features = ["host"] } mtp-transport = { version = "0.2.0", path = "../transport", features = ["host"] }
mtp-crypto = { version = "0.2.0", path = "../crypto", optional = true } mtp-crypto = { version = "0.2.0", path = "../crypto", optional = true }
rand = "0.8" rand = "0.10"
tokio = { version = "1", features = ["macros", "rt", "time", "sync"] } tokio = { version = "1", features = ["macros", "rt", "time", "sync"] }
tracing = "0.1" tracing = "0.1"
wtransport = "0.7" wtransport = "0.7"

View file

@ -21,7 +21,7 @@ wasm-tracing = "2.1"
hex = "0.4" hex = "0.4"
getrandom = { version = "0.2.17", features = ["js"] } getrandom = { version = "0.4.0", features = ["js"] }
getrandom-v04 = { package = "getrandom", version = "0.4.3", features = ["wasm_js"] } getrandom-v04 = { package = "getrandom", version = "0.4.3", features = ["wasm_js"] }
mtp-common = { version = "0.2.0", path = "../common" } mtp-common = { version = "0.2.0", path = "../common" }