Skip to content

Commit ea64155

Browse files
committed
feat: update dependencies and switch rand source for password generation
1 parent 5dd24d3 commit ea64155

File tree

10 files changed

+384
-370
lines changed

10 files changed

+384
-370
lines changed

Cargo.lock

Lines changed: 350 additions & 334 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -46,26 +46,26 @@ tokio = "=1.48.0"
4646
futures = "=0.3.31"
4747

4848
# UUID v4 support
49-
uuid = { version = "=1.18.1", features = ["v4", "serde"] }
49+
uuid = { version = "=1.19.0", features = ["v4", "serde"] }
5050

5151
# Date & time
5252
chrono = { version = "=0.4.42", features = ["serde"] }
5353

5454
# Caching
55-
moka = { version = "=0.12.11", features = ["future"] }
55+
moka = { version = "=0.12.12", features = ["future"] }
5656

5757
# Bytes type used for cheap shared bytes (and utilities)
58-
bytes = "=1.10.1"
58+
bytes = "=1.11.0"
5959
bytes-utils = "=0.1.4"
6060

6161
# Logging
62-
tracing = "=0.1.41"
63-
tracing-subscriber = { version = "=0.3.20", features = ["env-filter"] }
62+
tracing = "=0.1.44"
63+
tracing-subscriber = { version = "=0.3.22", features = ["env-filter"] }
6464

6565
# Serialization and JSON
6666
serde = { version = "=1.0.228", features = ["derive"] }
67-
serde_json = "=1.0.145"
68-
serde_with = "=3.15.0"
67+
serde_json = "=1.0.148"
68+
serde_with = "=3.16.1"
6969

7070
# Error handling
7171
thiserror = "=2.0.17"
@@ -79,7 +79,7 @@ mime2ext = "=0.1.54"
7979
url = "=2.5.7"
8080

8181
# HTTP client
82-
reqwest = { version = "=0.12.24", default-features = false, features = [
82+
reqwest = { version = "=0.12.28", default-features = false, features = [
8383
"rustls-tls",
8484
"http2",
8585
] }
@@ -88,7 +88,7 @@ reqwest = { version = "=0.12.24", default-features = false, features = [
8888
http = "=1.3.1"
8989

9090
# Validation
91-
garde = { version = "=0.22.0", features = ["derive", "full"] }
91+
garde = { version = "=0.22.1", features = ["derive", "full"] }
9292

9393
# OpenAPI spec generation
9494
utoipa = { version = "=5.4.0", features = [
@@ -99,7 +99,10 @@ utoipa = { version = "=5.4.0", features = [
9999
] }
100100

101101
# AWS configuration
102-
aws-config = { version = "=1.8.10", features = ["behavior-version-latest"] }
102+
aws-config = { version = "=1.8.12", features = ["behavior-version-latest"] }
103+
104+
# AWS Lambda SDK
105+
aws-sdk-lambda = "=1.112.0"
103106

104107
# HTML parser for OGP metadata and html to text conversion
105108
tl = "=0.7.8"
@@ -110,7 +113,6 @@ base64 = "=0.22.1"
110113
# Iterator utilities
111114
itertools = "=0.14.0"
112115

113-
testcontainers = "=0.25.2"
114-
testcontainers-modules = "=0.13.0"
115-
116-
aws-sdk-lambda = "=1.110.0"
116+
# Test containers for integration tests
117+
testcontainers = "=0.26.3"
118+
testcontainers-modules = "=0.14.0"

packages/docbox-core/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ tracing.workspace = true
4242
# AWS Config
4343
aws-config.workspace = true
4444
# AWS SQS sdk
45-
aws-sdk-sqs = "=1.88.0"
45+
aws-sdk-sqs = "=1.91.0"
4646

4747
bytes.workspace = true
4848

@@ -68,5 +68,4 @@ moka.workspace = true
6868
testcontainers = { workspace = true, features = ["http_wait"] }
6969
testcontainers-modules = { workspace = true, features = ["postgres", "minio"] }
7070
tokio = { workspace = true, features = ["full"] }
71-
# Enable typesense search backend for testing
7271
docbox-search.workspace = true

packages/docbox-database/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,5 @@ strum = { version = "=0.27.2", features = ["derive"] }
5858

5959
utoipa.workspace = true
6060

61-
6261
[dev-dependencies]
6362
testcontainers-modules = { workspace = true, features = ["postgres"] }

packages/docbox-management/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ thiserror.workspace = true
3636
aws-config.workspace = true
3737

3838
# Random for random password generation
39-
rand = "=0.8.5"
39+
rand = "=0.9.2"
4040

4141
tokio.workspace = true
4242
futures.workspace = true
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
use rand::{
2-
distributions::{Alphanumeric, DistString},
3-
rngs::OsRng,
4-
};
1+
use rand::distr::{Alphanumeric, SampleString};
52

63
/// Generates a random password
74
pub fn random_password(length: usize) -> String {
8-
let mut rng = OsRng;
5+
let mut rng = rand::rng();
96
Alphanumeric.sample_string(&mut rng, length)
107
}

packages/docbox-processing/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ office-convert-client = "=0.5.0"
2727
office-convert-lambda-client = "=0.1.0"
2828

2929
# Image conversion and manipulation
30-
image = "=0.25.8"
30+
image = "=0.25.9"
3131

3232
# Email parsing
3333
mail-parser = "=0.11.1"
@@ -71,6 +71,5 @@ aws-config.workspace = true
7171
testcontainers = { workspace = true, features = ["http_wait"] }
7272
testcontainers-modules = { workspace = true, features = ["postgres", "minio"] }
7373
tokio = { workspace = true, features = ["full"] }
74-
# Enable typesense search backend for testing
7574
docbox-search.workspace = true
7675
mime_guess.workspace = true

packages/docbox-secrets/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,11 @@ serde_json.workspace = true
2323
# Logging
2424
tracing.workspace = true
2525

26-
# AWS Config, AWS S3 sdk, AWS typing internals
26+
# AWS Config
2727
aws-config.workspace = true
28-
aws-sdk-secretsmanager = "=1.92.0"
28+
29+
# AWS Secrets Manager SDK
30+
aws-sdk-secretsmanager = "=1.97.0"
2931

3032
[dev-dependencies]
3133
testcontainers = { workspace = true, features = ["http_wait"] }

packages/docbox-storage/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ tracing.workspace = true
2929
aws-config.workspace = true
3030

3131
# S3 SDK
32-
aws-sdk-s3 = "=1.110.0"
32+
aws-sdk-s3 = "=1.119.0"
3333

3434
# Not used: Used to enable the "byte-stream-poll-next" feature, used for the storage
3535
# implementation to implement stream
36-
aws-smithy-types = { version = "=1.3.4", features = [
36+
aws-smithy-types = { version = "=1.3.5", features = [
3737
"byte-stream-poll-next",
3838
"rt-tokio",
3939
] }

packages/docbox/Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,20 @@ tokio = { workspace = true, features = ["full"] }
3838
futures.workspace = true
3939

4040
# HTTP server framework
41-
axum = { version = "=0.8.6", features = ["multipart"] }
41+
axum = { version = "=0.8.8", features = ["multipart"] }
4242

4343
# HTTP server implementation
44-
axum-server = { version = "=0.7.2", features = ["tls-rustls"]}
44+
axum-server = { version = "=0.8.0", features = ["tls-rustls"]}
4545

4646
# Crypto provider
47-
rustls = { version = "=0.23.33", features = ["aws-lc-rs"] }
47+
rustls = { version = "=0.23.35", features = ["aws-lc-rs"] }
4848

4949
# HTTP layers for ratelimiting, CORS, and tracing
50-
tower-http = { version = "=0.6.6", features = ["limit", "cors", "trace"] }
50+
tower-http = { version = "=0.6.8", features = ["limit", "cors", "trace"] }
5151
tower = { version = "=0.5.2" }
5252

5353
# Typed multipart extraction
54-
axum_typed_multipart = "=0.16.4"
54+
axum_typed_multipart = "=0.16.5"
5555

5656
# Validation & Axum validation integration
5757
garde.workspace = true
@@ -88,7 +88,7 @@ utoipa.workspace = true
8888
# URL encoding to decode object key names
8989
urlencoding = "=2.1.3"
9090

91-
sentry = { version = "=0.45.0", default-features = false, features = [
91+
sentry = { version = "=0.46.0", default-features = false, features = [
9292
"backtrace",
9393
"contexts",
9494
"debug-images",
@@ -98,4 +98,4 @@ sentry = { version = "=0.45.0", default-features = false, features = [
9898
"reqwest",
9999
"rustls",
100100
] }
101-
sentry-tracing = "=0.45.0"
101+
sentry-tracing = "=0.46.0"

0 commit comments

Comments
 (0)