From 5c775f361dc811a84f6fec78335efd87b5d14d47 Mon Sep 17 00:00:00 2001 From: Jake Meyer Date: Mon, 20 Nov 2023 20:09:28 -0800 Subject: [PATCH] Bump to rust v1.74 + stabilize uuid v7 --- .cargo/config.toml | 2 -- Cargo.toml | 14 +++++++------- Dockerfile | 2 +- 3 files changed, 8 insertions(+), 10 deletions(-) delete mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml deleted file mode 100644 index 37afa5d..0000000 --- a/.cargo/config.toml +++ /dev/null @@ -1,2 +0,0 @@ -[build] -rustflags = ["--cfg", "uuid_unstable"] \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml index 9aecb61..813db91 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,19 +10,19 @@ axum = { version = "0.6.20", features = ["http2", "headers"] } chrono = { version = "0.4.31", features = ["serde"] } dashmap = "5.5.3" dotenvy = "0.15.7" -figment = { version = "0.10.11", features = ["env"] } +figment = { version = "0.10.12", features = ["env"] } jsonwebtoken = { version = "9.1.0", default-features = false } owasp-headers = "0.1.2" reqwest = { version = "0.11.22", default-features = false, features = ["rustls-tls", "trust-dns"] } -sea-orm = { version = "0.12.4", features = [ "sqlx-postgres", "runtime-tokio-rustls", "macros", "with-json", "with-chrono", "with-uuid" ] } -serde = { version = "1.0.189", features = ["derive"] } -serde_json = "1.0.107" +sea-orm = { version = "0.12.6", features = [ "sqlx-postgres", "runtime-tokio-rustls", "macros", "with-json", "with-chrono", "with-uuid" ] } +serde = { version = "1.0.193", features = ["derive"] } +serde_json = "1.0.108" serde_with = "3.4.0" thiserror = "1.0.50" -tokio = { version = "1.33.0", features = ["full"] } +tokio = { version = "1.34.0", features = ["full"] } tower = "0.4.13" tower-default-headers = "0.1.1" tower-http = { version = "0.4.4", features = ["trace", "cors", "compression-full", "request-id", "timeout"] } tracing = "0.1.40" -tracing-subscriber = { version = "0.3.17", features = ["env-filter"] } -uuid = { version = "1.5.0", features = ["serde", "v7"] } +tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } +uuid = { version = "1.6.1", features = ["serde", "v7"] } diff --git a/Dockerfile b/Dockerfile index dfea86e..21aa7ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:1.73.0-alpine AS base +FROM rust:1.74.0-alpine AS base RUN apk add musl-dev musl-utils RUN cargo install cargo-chef