From 920e7f9564e4bf3d83020c66c53e4ae472cb9cf9 Mon Sep 17 00:00:00 2001 From: nathan Date: Thu, 16 Mar 2023 21:33:11 +0800 Subject: [PATCH] ci: fix audit --- .github/workflows/ci.yml | 2 +- Cargo.toml | 4 ++-- crates/token/Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 75420300..2ec0b95c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,7 +50,7 @@ jobs: run: | cargo sqlx prepare --check -- --bin appflowy_server - name: Run tests - run: cargo tes + run: cargo test fmt: name: Rustfmt diff --git a/Cargo.toml b/Cargo.toml index efb308af..c9fd8628 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,7 +34,7 @@ futures-util = "0.3.26" async-stream = "0.3.4" config = { version = "0.13.3", default-features = false, features = ["yaml"] } once_cell = "1.13.0" -chrono = { version = "0.4.23", features = ["serde", "clock"] } +chrono = { version = "0.4.23", features = ["serde", "clock"], default-features = false } derive_more = { version = "0.99" } uuid = { version = "1", features = ["v4", "serde"] } argon2 = { version = "0.5", features = ["std"] } @@ -80,4 +80,4 @@ members = [ "crates/token", "crates/revdb", "crates/snowflake", -] \ No newline at end of file +] diff --git a/crates/token/Cargo.toml b/crates/token/Cargo.toml index 05452623..574be2f7 100644 --- a/crates/token/Cargo.toml +++ b/crates/token/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" [dependencies] serde = { version = "1.0", features = ["derive"] } -chrono = { version = "0.4.22", features = ["serde", "clock"] } +chrono = { version = "0.4.23", features = ["serde", "clock"], default-features = false } jwt = "0.16.0" thiserror = "1.0.30" hmac = "0.12.1"