From cb6cb4c1cda8ae7a5286bd62b5adb05e9018a9bc Mon Sep 17 00:00:00 2001 From: Jake Meyer Date: Fri, 6 Oct 2023 19:56:30 -0700 Subject: [PATCH] bump to rust v1.73.0 --- Cargo.toml | 8 ++++---- Dockerfile | 2 +- migrations/20221213021516_create_core.up.sql | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 621d458..91873ad 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,20 +5,20 @@ edition = "2021" [dependencies] anyhow = "1.0.75" -async-stripe = { version = "0.23.0", default-features = false, features = ["runtime-tokio-hyper-rustls", "billing", "connect", "webhook-events", "uuid", "stream", "checkout"] } +async-stripe = { version = "0.25.2", default-features = false, features = ["runtime-tokio-hyper-rustls", "billing", "connect", "webhook-events", "uuid", "stream", "checkout"] } 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.10", features = ["env"] } +figment = { version = "0.10.11", features = ["env"] } jsonwebtoken = { version = "8.3.0", default-features = false } owasp-headers = "0.1.2" -reqwest = { version = "0.11.20", default-features = false, features = ["rustls-tls", "trust-dns"] } +reqwest = { version = "0.11.22", default-features = false, features = ["rustls-tls", "trust-dns"] } sea-orm = { version = "0.12.3", features = [ "sqlx-postgres", "runtime-tokio-rustls", "macros", "with-json", "with-chrono", "with-uuid" ] } serde = { version = "1.0.188", features = ["derive"] } serde_json = "1.0.107" serde_with = "3.3.0" -thiserror = "1.0.48" +thiserror = "1.0.49" tokio = { version = "1.32.0", features = ["full"] } tower = "0.4.13" tower-default-headers = "0.1.1" diff --git a/Dockerfile b/Dockerfile index 9122dd9..dfea86e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:1.72.0-alpine AS base +FROM rust:1.73.0-alpine AS base RUN apk add musl-dev musl-utils RUN cargo install cargo-chef diff --git a/migrations/20221213021516_create_core.up.sql b/migrations/20221213021516_create_core.up.sql index 9498724..f8fc95e 100644 --- a/migrations/20221213021516_create_core.up.sql +++ b/migrations/20221213021516_create_core.up.sql @@ -38,10 +38,10 @@ CREATE TABLE subscriptions( CREATE UNIQUE INDEX subscriptions_stripe_subscription_id_idx ON subscriptions(stripe_subscription_id); INSERT INTO accounts(id, name, status) VALUES -('00758f79-9c7f-4a50-b671-df3b433513c0', 'Jake''s Lawn Care', 1); +('018ae25a-2c34-738b-b75e-c72e8e1f13a3', 'Jake''s Lawn Care', 1); INSERT INTO users(id, provider_id, stripe_customer_id) VALUES -('98e8c838-8be5-46e1-af88-2dd822ee4a1b', 'auth0|640697bfd9f505ef159beb14', 'cus_GkkgWE9SjOw326'); +('018ae25a-725e-7a81-9b80-8292272c29b8', 'auth0|640697bfd9f505ef159beb14', 'cus_GkkgWE9SjOw326'); INSERT INTO users_accounts(user_id, account_id) VALUES -('98e8c838-8be5-46e1-af88-2dd822ee4a1b', '00758f79-9c7f-4a50-b671-df3b433513c0'); +('018ae25a-725e-7a81-9b80-8292272c29b8', '018ae25a-2c34-738b-b75e-c72e8e1f13a3');