3 Commits

Author SHA1 Message Date
Skipper
9cf87b2058 merge: refactor-integrity-check into main
Some checks failed
ci/woodpecker/pr/server-audit Pipeline was successful
ci/woodpecker/pr/server-lint Pipeline failed
ci/woodpecker/pr/server-vet Pipeline failed
ci/woodpecker/pr/server-test Pipeline was successful
ci/woodpecker/pr/useragent-analyze Pipeline failed
2026-04-18 13:46:28 +02:00
28f84d03ab Merge pull request 'housekeeping(server): dependencies upgrade' (#89) from push-zmvtzuwrnyyv into main
Some checks failed
ci/woodpecker/push/server-audit Pipeline was successful
ci/woodpecker/push/server-vet Pipeline failed
ci/woodpecker/push/server-lint Pipeline was successful
ci/woodpecker/push/server-test Pipeline was successful
Reviewed-on: #89
2026-04-17 19:20:50 +00:00
Skipper
e88df432fb housekeeping(server): dependencies upgrade
Some checks failed
ci/woodpecker/pr/server-lint Pipeline was successful
ci/woodpecker/pr/server-audit Pipeline was successful
ci/woodpecker/pr/server-vet Pipeline failed
ci/woodpecker/pr/server-test Pipeline failed
2026-04-14 19:10:07 +02:00
6 changed files with 71 additions and 56 deletions

View File

@@ -4,7 +4,7 @@
"cargo:cargo-vet" = "0.10.2"
flutter = "3.38.9-stable"
protoc = "29.6"
"rust" = {version = "1.93.0", components = "clippy"}
"rust" = {version = "1.93.0", components = "clippy,rust-analyzer"}
"cargo:cargo-features-manager" = "0.11.1"
"cargo:cargo-nextest" = "0.9.126"
"cargo:cargo-shear" = "latest"

105
server/Cargo.lock generated
View File

@@ -44,9 +44,9 @@ checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923"
[[package]]
name = "alloy"
version = "1.8.3"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "50ab0cd8afe573d1f7dc2353698a51b1f93aec362c8211e28cfd3948c6adba39"
checksum = "85805c194576017df6c11057504e1d60b36f3913f8e365945486931f6ee81e40"
dependencies = [
"alloy-consensus",
"alloy-contract",
@@ -78,9 +78,9 @@ dependencies = [
[[package]]
name = "alloy-consensus"
version = "1.8.3"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7f16daaf7e1f95f62c6c3bf8a3fc3d78b08ae9777810c0bb5e94966c7cd57ef0"
checksum = "8dbe4e5e9107bf6854e7550b666ca654ff2027eabf8153913e2e31ac4b089779"
dependencies = [
"alloy-eips",
"alloy-primitives",
@@ -105,9 +105,9 @@ dependencies = [
[[package]]
name = "alloy-consensus-any"
version = "1.8.3"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "118998d9015332ab1b4720ae1f1e3009491966a0349938a1f43ff45a8a4c6299"
checksum = "88fc7bbfb98cf5605a35aadf0ba43a7d9f1608d6f220d05e4fbd5144d3b0b625"
dependencies = [
"alloy-consensus",
"alloy-eips",
@@ -119,9 +119,9 @@ dependencies = [
[[package]]
name = "alloy-contract"
version = "1.8.3"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7ac9e0c34dc6bce643b182049cdfcca1b8ce7d9c260cbdd561f511873b7e26cd"
checksum = "f4c16fa30b623e40a5b216da00f3b61870f5cbe863b59816ac1ecc2489515a40"
dependencies = [
"alloy-consensus",
"alloy-dyn-abi",
@@ -221,9 +221,9 @@ dependencies = [
[[package]]
name = "alloy-eips"
version = "1.8.3"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e6ef28c9fdad22d4eec52d894f5f2673a0895f1e5ef196734568e68c0f6caca8"
checksum = "afb4919fa34b268842f434bfafa9c09136ab7b1a87ce0dd40a61befa35b5408c"
dependencies = [
"alloy-eip2124",
"alloy-eip2930",
@@ -244,9 +244,9 @@ dependencies = [
[[package]]
name = "alloy-genesis"
version = "1.8.3"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bbf9480307b09d22876efb67d30cadd9013134c21f3a17ec9f93fd7536d38024"
checksum = "1e111e22c1a2133e9ebfd9051ea0eaf63559594d2f50d43cbc6762fbb95fc3c2"
dependencies = [
"alloy-eips",
"alloy-primitives",
@@ -271,9 +271,9 @@ dependencies = [
[[package]]
name = "alloy-json-rpc"
version = "1.8.3"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "422d110f1c40f1f8d0e5562b0b649c35f345fccb7093d9f02729943dcd1eef71"
checksum = "31b6af6f374c1eeef8ab8dc26232cd440db167322a4207a3debd3d1ee565ca47"
dependencies = [
"alloy-primitives",
"alloy-sol-types",
@@ -286,9 +286,9 @@ dependencies = [
[[package]]
name = "alloy-network"
version = "1.8.3"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7197a66d94c4de1591cdc16a9bcea5f8cccd0da81b865b49aef97b1b4016e0fa"
checksum = "f0a3f5a7f3678b71d33fcc45b714fab8928dbc647d5aff2145e72032d5c849bb"
dependencies = [
"alloy-consensus",
"alloy-consensus-any",
@@ -312,9 +312,9 @@ dependencies = [
[[package]]
name = "alloy-network-primitives"
version = "1.8.3"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eb82711d59a43fdfd79727c99f270b974c784ec4eb5728a0d0d22f26716c87ef"
checksum = "fb50dc1fb0e0b2c8748d5bee1aa7acdd18f9e036311bc93a71d97be624030317"
dependencies = [
"alloy-consensus",
"alloy-eips",
@@ -352,9 +352,9 @@ dependencies = [
[[package]]
name = "alloy-provider"
version = "1.8.3"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bf6b18b929ef1d078b834c3631e9c925177f3b23ddc6fa08a722d13047205876"
checksum = "f2ba5468f78c8893be2d68a7f2fda61753336e5653f006af19781001b5f99e6c"
dependencies = [
"alloy-chains",
"alloy-consensus",
@@ -413,9 +413,9 @@ dependencies = [
[[package]]
name = "alloy-rpc-client"
version = "1.8.3"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "94fcc9604042ca80bd37aa5e232ea1cd851f337e31e2babbbb345bc0b1c30de3"
checksum = "222fd4efff0fb9a25184684742c44fe9fa9a16c4ab5bf97583e71c86598ef8f0"
dependencies = [
"alloy-json-rpc",
"alloy-primitives",
@@ -436,9 +436,9 @@ dependencies = [
[[package]]
name = "alloy-rpc-types"
version = "1.8.3"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4faad925d3a669ffc15f43b3deec7fbdf2adeb28a4d6f9cf4bc661698c0f8f4b"
checksum = "974df1e56405c27cb8242381f45d8b212ba9df5006046ccf704764a2a4634366"
dependencies = [
"alloy-primitives",
"alloy-rpc-types-eth",
@@ -448,20 +448,24 @@ dependencies = [
[[package]]
name = "alloy-rpc-types-any"
version = "1.8.3"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3823026d1ed239a40f12364fac50726c8daf1b6ab8077a97212c5123910429ed"
checksum = "949c0f16a94ae33cdb1139b8dbf9e34d7f26ebfe97962e2a4d620b5f65f48fe4"
dependencies = [
"alloy-consensus-any",
"alloy-network-primitives",
"alloy-primitives",
"alloy-rpc-types-eth",
"alloy-serde",
"serde",
"serde_json",
]
[[package]]
name = "alloy-rpc-types-eth"
version = "1.8.3"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "59c095f92c4e1ff4981d89e9aa02d5f98c762a1980ab66bec49c44be11349da2"
checksum = "cc280a41931bd419af86e9e859dd9726b73313aaa2e479b33c0e344f4b892ddb"
dependencies = [
"alloy-consensus",
"alloy-consensus-any",
@@ -480,9 +484,9 @@ dependencies = [
[[package]]
name = "alloy-serde"
version = "1.8.3"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "11ece63b89294b8614ab3f483560c08d016930f842bf36da56bf0b764a15c11e"
checksum = "4848831ff994c88b1c32b7df9c4c1c3eedea4b535bde5eb3c421ef0bdc5ac052"
dependencies = [
"alloy-primitives",
"serde",
@@ -491,9 +495,9 @@ dependencies = [
[[package]]
name = "alloy-signer"
version = "1.8.3"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "43f447aefab0f1c0649f71edc33f590992d4e122bc35fb9cdbbf67d4421ace85"
checksum = "84b8ad9890b212e224291024b1aecfeef72127d27a2f6eebc5e347c40275c4bf"
dependencies = [
"alloy-primitives",
"async-trait",
@@ -506,9 +510,9 @@ dependencies = [
[[package]]
name = "alloy-signer-local"
version = "1.8.3"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f721f4bf2e4812e5505aaf5de16ef3065a8e26b9139ac885862d00b5a55a659a"
checksum = "3c67d2372aada343130d41e249b59a3cef29b1678dcd3fd80f1c2c4d6b5318f2"
dependencies = [
"alloy-consensus",
"alloy-network",
@@ -595,9 +599,9 @@ dependencies = [
[[package]]
name = "alloy-transport"
version = "1.8.3"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8098f965442a9feb620965ba4b4be5e2b320f4ec5a3fff6bfa9e1ff7ef42bed1"
checksum = "32b7b755e64ae6b5de0d762ed2c780e072167ea5e542076a559e00314352a0bf"
dependencies = [
"alloy-json-rpc",
"auto_impl",
@@ -618,9 +622,9 @@ dependencies = [
[[package]]
name = "alloy-transport-http"
version = "1.8.3"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e8597d36d546e1dab822345ad563243ec3920e199322cb554ce56c8ef1a1e2e7"
checksum = "a29980e69119444ed26b75e7ee5bed2043870f904a64318297e55800db686564"
dependencies = [
"alloy-json-rpc",
"alloy-transport",
@@ -650,9 +654,9 @@ dependencies = [
[[package]]
name = "alloy-tx-macros"
version = "1.8.3"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d69722eddcdf1ce096c3ab66cf8116999363f734eb36fe94a148f4f71c85da84"
checksum = "8d8228b9236479ff16b03041b64b86c2bd4e53da1caa45d59b5868cd1571131e"
dependencies = [
"darling 0.23.0",
"proc-macro2",
@@ -699,7 +703,7 @@ version = "0.1.0"
dependencies = [
"alloy",
"chrono",
"hmac",
"hmac 0.13.0",
"memsafe",
"ml-dsa",
"rand 0.10.1",
@@ -764,7 +768,7 @@ dependencies = [
"ed25519-dalek",
"fatality",
"futures",
"hmac",
"hmac 0.13.0",
"insta",
"k256",
"kameo",
@@ -782,9 +786,9 @@ dependencies = [
"rustls",
"secrecy",
"serde_with",
"sha2 0.10.9",
"sha2 0.11.0",
"smlang",
"spki 0.7.3",
"spki 0.8.0",
"strum 0.28.0",
"subtle",
"test-log",
@@ -1977,7 +1981,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4850db49bf08e663084f7fb5c87d202ef91a3907271aff24a94eb97ff039153c"
dependencies = [
"block-buffer 0.12.0",
"const-oid 0.10.2",
"crypto-common 0.2.1",
"ctutils",
]
[[package]]
@@ -2595,6 +2601,15 @@ dependencies = [
"digest 0.10.7",
]
[[package]]
name = "hmac"
version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6303bc9732ae41b04cb554b844a762b4115a61bfaa81e3e83050991eeb56863f"
dependencies = [
"digest 0.11.2",
]
[[package]]
name = "http"
version = "1.4.0"
@@ -4320,7 +4335,7 @@ version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2"
dependencies = [
"hmac",
"hmac 0.12.1",
"subtle",
]

View File

@@ -16,11 +16,11 @@ tonic = { version = "0.14.5", features = [
"zstd",
] }
tracing = "0.1.44"
tokio = { version = "1.50.0", features = ["full"] }
tokio = { version = "1.52.1", features = ["full"] }
ed25519-dalek = { version = "3.0.0-pre.6", features = ["rand_core"] }
chrono = { version = "0.4.44", features = ["serde"] }
rand = "0.10.0"
rustls = { version = "0.23.37", features = ["aws-lc-rs", "logging", "prefer-post-quantum", "std"], default-features = false }
rand = "0.10.1"
rustls = { version = "0.23.38", features = ["aws-lc-rs", "logging", "prefer-post-quantum", "std"], default-features = false }
smlang = "0.8.0"
thiserror = "2.0.18"
async-trait = "0.1.89"
@@ -30,7 +30,7 @@ prost-types = { version = "0.14.3", features = ["chrono"] }
x25519-dalek = { version = "2.0.1", features = ["getrandom"] }
rstest = "0.26.1"
rustls-pki-types = "1.14.0"
alloy = "1.7.3"
alloy = "2.0.0"
rcgen = { version = "0.14.7", features = [
"aws_lc_rs",
"pem",
@@ -39,8 +39,8 @@ rcgen = { version = "0.14.7", features = [
], default-features = false }
k256 = { version = "0.13.4", features = ["ecdsa", "pkcs8"] }
rsa = { version = "0.9", features = ["sha2"] }
sha2 = "0.10"
spki = "0.7"
sha2 = "0.11"
spki = "0.8"
prost = "0.14.3"
miette = { version = "7.6.0", features = ["fancy", "serde"] }
mutants = "0.0.4"
@@ -48,4 +48,4 @@ ml-dsa = { version = "0.1.0-rc.8", features = ["zeroize"] }
base64 = "0.22.1"
kameo = {git = "https://github.com/hdbg/kameo.git", rev = "805b417"}
kameo_actors = {git = "https://github.com/hdbg/kameo.git", rev = "805b417"}
hmac = "0.12.1"
hmac = "0.13.0"

View File

@@ -21,7 +21,7 @@ tokio.workspace = true
tokio-stream.workspace = true
thiserror.workspace = true
http = "1.4.0"
rustls-webpki = { version = "0.103.10", features = ["aws-lc-rs"] }
rustls-webpki = { version = "0.103.12", features = ["aws-lc-rs"] }
async-trait.workspace = true
rand.workspace = true
chrono.workspace = true

View File

@@ -62,7 +62,7 @@ k256.workspace = true
kameo_actors.workspace = true
[dev-dependencies]
insta = "1.46.3"
insta = "1.47.2"
proptest = "1.11.0"
rstest.workspace = true
test-log = { version = "0.2", default-features = false, features = ["trace"] }

View File

@@ -18,7 +18,7 @@ use diesel::{
dsl::{insert_into, update},
};
use diesel_async::{AsyncConnection, RunQueryDsl};
use hmac::Mac as _;
use hmac::{KeyInit as _, Mac as _};
use kameo::{Actor, Reply, actor::ActorRef, messages};
use kameo_actors::message_bus::{MessageBus, Publish};
use strum::{EnumDiscriminants, IntoDiscriminant};