diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a7de82ab..fd741947 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: services: postgres: - image: postgres:16.1-alpine + image: postgres:16.4-alpine env: POSTGRES_USER: postgres POSTGRES_PASSWORD: root diff --git a/Cargo.toml b/Cargo.toml index e1945b96..3450a8e5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,7 +27,7 @@ edition = "2021" [dependencies] server = { path = "crates/server" } -tokio = { version = "1.26.0", features = ["macros", "rt-multi-thread", "fs"] } +tokio = { version = "1.41.1", features = ["macros", "rt-multi-thread", "fs"] } [target.'cfg(not(target_env = "msvc"))'.dependencies] -jemallocator = "0.5.0" +jemallocator = "0.5.4" diff --git a/Dockerfile b/Dockerfile index 53bb2168..1c88d9b4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,7 +31,7 @@ RUN cargo build --target x86_64-unknown-linux-musl --release ## Build CA Certificates #################################################################################################### -FROM alpine:3.17.2 as ca-certificates +FROM alpine:3.20.3 as ca-certificates RUN apk add -U --no-cache ca-certificates #################################################################################################### diff --git a/Dockerfile.dev b/Dockerfile.dev index 85a07777..fbbf8667 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -1,4 +1,4 @@ -FROM rust:1.68 AS builder +FROM rust:1.82 AS builder RUN apt update && apt install -y nodejs npm RUN npm i -g npm bunyan diff --git a/crates/entity/Cargo.toml b/crates/entity/Cargo.toml index 7b7b430c..b1b589b6 100644 --- a/crates/entity/Cargo.toml +++ b/crates/entity/Cargo.toml @@ -10,9 +10,9 @@ name = "entity" path = "src/lib.rs" [dependencies] -serde = { version = "1.0.158", features = ["derive"] } -serde_json = "1.0.94" -chrono = { version = "0.4.24", features = ["serde"] } -sea-orm = { version = "0.11.1", features = ["postgres-array"] } -sea-query = { version = "0.28.3", features = ["postgres-array"] } -getset = "0.1.2" +serde = { version = "1.0.214", features = ["derive"] } +serde_json = "1.0.132" +chrono = { version = "0.4.38", features = ["serde"] } +sea-orm = { version = "0.12.15", features = ["postgres-array"] } +sea-query = { version = "0.32.0", features = ["postgres-array"] } +getset = "0.1.3" diff --git a/crates/health-check/Cargo.toml b/crates/health-check/Cargo.toml index 21e6c912..d6971a8a 100644 --- a/crates/health-check/Cargo.toml +++ b/crates/health-check/Cargo.toml @@ -6,4 +6,4 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -minreq = { version = "2.7.0", default-features = false } +minreq = { version = "2.12.0", default-features = false } diff --git a/crates/migration/Cargo.toml b/crates/migration/Cargo.toml index a18c7ba7..7076fcd1 100644 --- a/crates/migration/Cargo.toml +++ b/crates/migration/Cargo.toml @@ -11,10 +11,10 @@ path = "src/lib.rs" [dependencies] entity = { path = "../entity" } -sea-orm-migration = { version = "0.11.1", features = ["sqlx-postgres", "runtime-tokio-native-tls"] } -chrono = "0.4.24" -tracing = "0.1.37" -tracing-subscriber = "0.3.16" -tokio = { version = "1.26.0", features = ["macros"] } -openssl = { version = "0.10.47", features = ["vendored"] } +sea-orm-migration = { version = "0.12.15", features = ["sqlx-postgres", "runtime-tokio-native-tls"] } +chrono = "0.4.38" +tracing = "0.1.40" +tracing-subscriber = "0.3.18" +tokio = { version = "1.41.1", features = ["macros"] } +openssl = { version = "0.10.68", features = ["vendored"] } openssl-probe = "0.1.5" diff --git a/crates/server/Cargo.toml b/crates/server/Cargo.toml index f57872f1..b001a239 100644 --- a/crates/server/Cargo.toml +++ b/crates/server/Cargo.toml @@ -8,49 +8,49 @@ publish = false [dependencies] entity = { path = "../entity" } migration = { path = "../migration" } -actix-web = "4.3.1" -actix-multipart = { version = "0.6.0" } -actix-cors = { version = "0.6.4" } +actix-web = "4.9.0" +actix-multipart = { version = "0.7.2" } +actix-cors = { version = "0.7.0" } mime = { version = "0.3.17" } -tokio = { version = "1.26.0", features = ["macros", "rt-multi-thread", "fs"] } -tokio-util = { version = "0.7.7", features = ["codec"] } -serde = "1.0.158" -tracing = "0.1.37" -tracing-actix-web = { version = "0.7.3", features = ["default", "opentelemetry_0_17"] } -opentelemetry = { version = "0.18", features = ["rt-tokio-current-thread"] } -opentelemetry-jaeger = { version = "0.17", features = ["rt-tokio-current-thread"] } -tracing-opentelemetry = { version = "0.18.0" } -tracing-subscriber = { version = "0.3.16", features = ["registry", "env-filter"] } -tracing-bunyan-formatter = "0.3.6" -tracing-log = "0.1.3" -sea-orm = { version = "0.11.1", features = ["debug-print", "runtime-tokio-native-tls", "sqlx-postgres", "postgres-array"] } -config = { version = "0.13.3" } -serde_json = "1.0.94" -chrono = "0.4.24" -futures = "0.3.27" -getset = "0.1.2" -uuid = { version = "1.3.0", features = ["serde"] } -derive_more = "0.99.17" -url = "2.3.1" -async-trait = "0.1.67" -once_cell = "1.17.1" -aws-sdk-s3 = { version = "0.24.0", features = ["native-tls", "rt-tokio"], default-features = false } -aws-types = { version = "0.54.1" } -aws-config = { version = "0.54.1", features = ["native-tls", "rt-tokio"], default-features = false } -aws-smithy-http = { version = "0.54.4", features = ["rt-tokio"] } -aws-smithy-async = { version = "0.54.4", features = ["rt-tokio"] } -image = { version = "0.24.5" } -openssl = { version = "0.10.47", features = ["vendored"] } +tokio = { version = "1.41.1", features = ["macros", "rt-multi-thread", "fs"] } +tokio-util = { version = "0.7.12", features = ["codec"] } +serde = "1.0.214" +tracing = "0.1.40" +tracing-actix-web = { version = "0.7.14", features = ["default", "opentelemetry_0_17"] } +opentelemetry = { version = "0.26.0", features = ["rt-tokio-current-thread"] } +opentelemetry-jaeger = { version = "0.22.0", features = ["rt-tokio-current-thread"] } +tracing-opentelemetry = { version = "0.27.0" } +tracing-subscriber = { version = "0.3.18", features = ["registry", "env-filter"] } +tracing-bunyan-formatter = "0.3.9" +tracing-log = "0.2.0" +sea-orm = { version = "0.12.15", features = ["debug-print", "runtime-tokio-native-tls", "sqlx-postgres", "postgres-array"] } +config = { version = "0.14.1" } +serde_json = "1.0.132" +chrono = "0.4.38" +futures = "0.3.31" +getset = "0.1.3" +uuid = { version = "1.11.0", features = ["serde"] } +derive_more = "0.99.18" +url = "2.5.3" +async-trait = "0.1.83" +once_cell = "1.20.2" +aws-sdk-s3 = { version = "0.39.1", features = ["native-tls", "rt-tokio"], default-features = false } +aws-types = { version = "0.101.0" } +aws-config = { version = "0.101.0", features = ["native-tls", "rt-tokio"], default-features = false } +aws-smithy-http = { version = "0.60.11", features = ["rt-tokio"] } +aws-smithy-async = { version = "0.101.0", features = ["rt-tokio"] } +image = { version = "0.25.5" } +openssl = { version = "0.10.68", features = ["vendored"] } openssl-probe = "0.1.5" -deunicode = { version = "1.3.3" } -lazy_static = { version = "1.4.0" } -base64 = "0.21.0" -reqwest = { version = "0.11.15", features = ["json", "cookies", "multipart", "stream"] } -typed-builder = "0.14.0" +deunicode = { version = "1.6.0" } +lazy_static = { version = "1.5.0" } +base64 = "0.22.1" +reqwest = { version = "0.12.9", features = ["json", "cookies", "multipart", "stream"] } +typed-builder = "0.20.0" humansize = { version = "2.1.3", features = ["impl_style"] } -aws-credential-types = "0.54.1" +aws-credential-types = "0.101.0" [dev-dependencies] -insta = { version = "1.28.0", features = ["json"] } +insta = { version = "1.41.1", features = ["json"] } portpicker = "0.1.1" -test-context = "0.1.4" +test-context = "0.3.0" diff --git a/docker-compose.yml b/docker-compose.yml index 765102fb..c50461cd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -34,7 +34,7 @@ services: postgres: - image: postgres:16.1-alpine + image: postgres:16.4-alpine restart: unless-stopped ports: - "5432:5432"