diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a0455fd6..35f9e752 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -94,6 +94,24 @@ jobs: - name: Rotation with backgrounded rotation run: cargo bench --features gzip,background_rotation + cargo-audit: + name: Audit the baseline for CVEs + runs-on: ubuntu-latest + steps: + - name: Checkout the source code + uses: actions/checkout@master + + - name: Install Rust toolchain + run: | + rustup toolchain install --no-self-update stable + rustup default stable + + - name: Install Auditting Tools + run: cargo install cargo-audit + + - name: Audit project + run: cargo audit + docs-lint: name: Lint runs-on: ubuntu-latest diff --git a/Cargo.toml b/Cargo.toml index 4e0de2b3..629999aa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -54,7 +54,7 @@ harness = false [dependencies] arc-swap = "1.6" -chrono = { version = "0.4", optional = true } +chrono = { version = "0.4", optional = true, features = ["clock"], default-features = false } flate2 = { version = "1.0", optional = true } fnv = "1.0" humantime = { version = "2.1", optional = true } diff --git a/README.md b/README.md index 970abddf..1559c3d2 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ fn main() { ## Rust Version Requirements -1.60 +1.67 ## Building for Dev