From d8fe336b064dde5a9667a91d088058a74350572f Mon Sep 17 00:00:00 2001 From: Philippe Loctaux Date: Sat, 25 Mar 2023 12:28:41 +0100 Subject: [PATCH] ci: update job name, speed up sqlx compile time queries --- .woodpecker/.rust.yml | 2 +- Cargo.toml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.woodpecker/.rust.yml b/.woodpecker/.rust.yml index 7f8b885..d3bb614 100644 --- a/.woodpecker/.rust.yml +++ b/.woodpecker/.rust.yml @@ -2,7 +2,7 @@ variables: - &rust_image 'rust:latest' pipeline: - test: + ci: image: *rust_image pull: true commands: diff --git a/Cargo.toml b/Cargo.toml index 250ba8d..cf4e409 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,4 +12,7 @@ url = "2.3" serde = "1" serde_json = "1" nanoid = "0.4" -nanoid-dictionary = "0.4" \ No newline at end of file +nanoid-dictionary = "0.4" + +[profile.dev.package.sqlx-macros] +opt-level = 3