From bc393b6fd6006edf76e3f0fc7b62964668fd6257 Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Wed, 5 Jan 2022 10:13:10 +0100 Subject: [PATCH] Export dependencies --- .woodpecker/.test.yml | 2 ++ src/lib.rs | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/.woodpecker/.test.yml b/.woodpecker/.test.yml index e17a895..b18d6e5 100644 --- a/.woodpecker/.test.yml +++ b/.woodpecker/.test.yml @@ -18,6 +18,7 @@ pipeline: - rustup component add clippy - export RUSTC_WRAPPER="$PWD"/sccache - export SCCACHE_S3_KEY_PREFIX=$CI_REPO_NAME + - export CARGO_HOME="$PWD/cargo" - cargo clippy -- -D clippy::all --no-deps - ./sccache --show-stats secrets: @@ -44,6 +45,7 @@ pipeline: - rustup component add clippy - export RUSTC_WRAPPER="$PWD"/sccache - export SCCACHE_S3_KEY_PREFIX=$CI_REPO_NAME + - export CARGO_HOME="$PWD/cargo" - cargo test - ./sccache --show-stats secrets: diff --git a/src/lib.rs b/src/lib.rs index f34c28a..4658bee 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,15 @@ pub mod auth; pub mod errors; pub mod guards; + +// Export dependencies for services to use +pub use base64; +pub use chrono; +pub use figment; +pub use hmac; +pub use jwt; +pub use rand; +pub use rocket; +pub use serde; +pub use sha2; +pub use uuid;