Export dependencies
parent
c543dae46a
commit
bc393b6fd6
|
@ -18,6 +18,7 @@ pipeline:
|
||||||
- rustup component add clippy
|
- rustup component add clippy
|
||||||
- export RUSTC_WRAPPER="$PWD"/sccache
|
- export RUSTC_WRAPPER="$PWD"/sccache
|
||||||
- export SCCACHE_S3_KEY_PREFIX=$CI_REPO_NAME
|
- export SCCACHE_S3_KEY_PREFIX=$CI_REPO_NAME
|
||||||
|
- export CARGO_HOME="$PWD/cargo"
|
||||||
- cargo clippy -- -D clippy::all --no-deps
|
- cargo clippy -- -D clippy::all --no-deps
|
||||||
- ./sccache --show-stats
|
- ./sccache --show-stats
|
||||||
secrets:
|
secrets:
|
||||||
|
@ -44,6 +45,7 @@ pipeline:
|
||||||
- rustup component add clippy
|
- rustup component add clippy
|
||||||
- export RUSTC_WRAPPER="$PWD"/sccache
|
- export RUSTC_WRAPPER="$PWD"/sccache
|
||||||
- export SCCACHE_S3_KEY_PREFIX=$CI_REPO_NAME
|
- export SCCACHE_S3_KEY_PREFIX=$CI_REPO_NAME
|
||||||
|
- export CARGO_HOME="$PWD/cargo"
|
||||||
- cargo test
|
- cargo test
|
||||||
- ./sccache --show-stats
|
- ./sccache --show-stats
|
||||||
secrets:
|
secrets:
|
||||||
|
|
12
src/lib.rs
12
src/lib.rs
|
@ -1,3 +1,15 @@
|
||||||
pub mod auth;
|
pub mod auth;
|
||||||
pub mod errors;
|
pub mod errors;
|
||||||
pub mod guards;
|
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;
|
||||||
|
|
Loading…
Reference in New Issue