This commit is contained in:
Lev Kokotov
2022-02-08 18:02:26 -08:00
parent 3cc41ab6c8
commit 9fe50c48e8
2 changed files with 14 additions and 11 deletions

View File

@@ -15,12 +15,15 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: cargo-lock-{{ checksum "Cargo.lock" }} key: cargo-lock-2-{{ checksum "Cargo.lock" }}
- run: - run:
name: "Build" name: "Build"
command: "cargo build --release" command: "cargo build"
- run:
name: "Test"
command: "cargo test"
- save_cache: - save_cache:
key: cargo-lock-{{ checksum "Cargo.lock" }} key: cargo-lock-2-{{ checksum "Cargo.lock" }}
paths: paths:
- target - target
- ~/.cargo - ~/.cargo

View File

@@ -8,13 +8,13 @@ edition = "2021"
[dependencies] [dependencies]
tokio = { version = "1", features = ["full"] } tokio = { version = "1", features = ["full"] }
bytes = "1" bytes = "1"
md-5 = "*" md-5 = "0.10"
bb8 = "*" bb8 = "0.7"
async-trait = "*" async-trait = "0.1"
rand = "*" rand = "0.8"
chrono = "0.4" chrono = "0.4"
sha-1 = "*" sha-1 = "0.10"
toml = "*" toml = "0.5"
serde = "*" serde = "1"
serde_derive = "*" serde_derive = "1"
regex = "1" regex = "1"