Skip to content

Commit

Permalink
bumped rust dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Dec 13, 2024
1 parent c754b1c commit 90812c5
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
6 changes: 3 additions & 3 deletions server/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 19 additions & 19 deletions server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,51 +17,51 @@ path = "src/main.rs"
[dependencies]
# logging/obeservability
actix-web-prom = { version = "0.9.0", default-features = false, features = [] }
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "json", "fmt"] }
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.19", features = ["env-filter", "json", "fmt"] }
tracing = "0.1.41"
tracing-log = { version = "0.2.0", features = ["std", "log-tracer", "interest-cache"] }
tracing-actix-web = "0.7.11"
tracing-actix-web = "0.7.15"
sentry = { version = "0.35.0", features = ["tracing", "metrics", "backtrace", "contexts", "debug-images", "panic", "reqwest", "rustls"] }
sentry-actix = "0.35.0"

# errors
anyhow = { version = "1.0.86", features = ["backtrace"] }
anyhow = { version = "1.0.94", features = ["backtrace"] }

#serialisation
serde = { version = "1.0.208", features = ["derive"] }
serde_json = { version = "1.0.125", features = ["raw_value"] }
serde = { version = "1.0.216", features = ["derive"] }
serde_json = { version = "1.0.133", features = ["raw_value"] }
serde_yaml = "0.9.34"

# runtime + webserver
tokio = { version = "1.39", default-features = false, features = ["rt-multi-thread", "time", "sync", "process"] }
tokio = { version = "1.42.0", default-features = false, features = ["rt-multi-thread", "time", "sync", "process"] }
actix-web = { version = "4.9.0", default-features = false, features = ["compress-brotli", "compress-gzip", "compress-zstd", "cookies", "http2", "macros"] }
actix-cors = "0.7.0"
rustls = "0.23.14"
rustls = "0.23.20"

cached = { version = "0.54.0", features = ["default", "async", "disk_store"] }
futures = "0.3.30"
futures = "0.3.31"
unicode-truncate = "2.0.0"

# database
sqlx = { version = "0.8.0", features = ['chrono', 'json', 'macros', 'migrate', 'postgres', 'runtime-tokio', 'tls-rustls'], default-features = false }
chrono = { version = "0.4.38", default-features = false, features = ["serde"] }
chrono = { version = "0.4.39", default-features = false, features = ["serde"] }

# search
meilisearch-sdk = "0.27.1"
logos = "0.15.0"
regex = "1.10.6"
regex = "1.11.1"

# web access
oauth2 = { version = "4.4.2", default-features = false, features = ["rustls-tls", "reqwest"] }
reqwest = { version = "0.12.7", default-features = false, features = ["gzip", "hickory-dns", "http2", "json", "rustls-tls"] }
reqwest = { version = "0.12.9", default-features = false, features = ["gzip", "hickory-dns", "http2", "json", "rustls-tls"] }

# image production
image = { version = "0.25.2", default-features = false, features = ["jpeg", "png", "webp"] }
image = { version = "0.25.5", default-features = false, features = ["jpeg", "png", "webp"] }
imageproc = "0.25.0"
ab_glyph = { version = "0.2.28", default-features = false }

rand = "0.8.5"
octocrab = { version = "0.42.0", default-features = false, features = ["default-client", "retry", "rustls", "rustls-webpki-tokio"] }
octocrab = { version = "0.42.1", default-features = false, features = ["default-client", "retry", "rustls", "rustls-webpki-tokio"] }

# auth/security
jsonwebtoken = { version = "9.3.0", default-features = false, features = [] }
Expand All @@ -73,16 +73,16 @@ base64 = "0.22.1"
polars = { version = "0.44.2", features = ["dtype-struct", "dtype-date", "dtype-datetime", "dtype-duration", "parquet"], default-features = false }

# geodata
geo = { version = "0.29.0", features = ["use-serde"], default-features = false }
geo = { version = "0.29.3", features = ["use-serde"], default-features = false }
geozero = { version = "0.14.0", features = ["with-postgis-sqlx", "with-geo"], default-features = false }
geo-types = { version = "0.7.13", default-features = false }
actix-middleware-etag = "0.4.1"
actix-middleware-etag = "0.4.2"

[dev-dependencies]
insta = { version = "1.39.0", features = ["json", "redactions", "yaml"] }
pretty_assertions = "1.4.0"
testcontainers = { version = "0.23.0", features = ["watchdog"] }
testcontainers-modules = { version = "0.11.0", features = ["meilisearch", "postgres"] }
pretty_assertions = "1.4.1"
testcontainers = { version = "0.23.1", features = ["watchdog"] }
testcontainers-modules = { version = "0.11.4", features = ["meilisearch", "postgres"] }
tracing-test = "0.2.5"


Expand Down
2 changes: 1 addition & 1 deletion server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ async fn run_maintenance_work(
set.spawn(async move { maps::refresh::all_entries(&map_pool).await });
let cal_pool = pool.clone();
set.spawn(async move { calendar::refresh::all_entries(&cal_pool).await });
while set.join_next().await.is_some() {}
set.join_all().await;
}

/// we split main and run because otherwise sentry could not be properly instrumented
Expand Down

0 comments on commit 90812c5

Please sign in to comment.