diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml new file mode 100644 index 0000000..8666461 --- /dev/null +++ b/.github/workflows/nightly.yml @@ -0,0 +1,35 @@ +name: Nightly Checks + +on: + schedule: + # Every night at midnight + - cron: '0 0 * * *' + +jobs: + dependencies: + name: Check for unused dependencies + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Install latest Rust + uses: actions-rs/toolchain@v1 + with: + toolchain: nightly + - name: Install cargo udeps + run: cargo install cargo-udeps --locked + - name: Execute cargo udeps + run: cargo +nightly udeps --workspace + + audit: + name: Check for crates with security vulnerabilities + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Install latest Rust + uses: actions-rs/toolchain@v1 + with: + toolchain: nightly + - name: Install cargo audit + run: cargo install cargo-audit + - name: Execute cargo audit + run: cargo audit diff --git a/README.md b/README.md index 01c25f7..4aeedde 100644 --- a/README.md +++ b/README.md @@ -23,15 +23,6 @@ The PSA Crypto wrapper is currently work-in-progress. This repository is current The software is provided under Apache-2.0. Contributions to this project are accepted under the same license. -This project uses the following third party crates: - -* bingden (BSD-3-Clause) -* cmake (MIT and Apache-2.0) -* cc (MIT and Apache-2.0) -* log (MIT and Apache-2.0) -* serde (MIT and Apache-2.0) -* walkdir (MIT or UNLICENSE) - ## Contributing Please check the [**Contribution Guidelines**](https://parallaxsecond.github.io/parsec-book/contributing.html) diff --git a/psa-crypto-sys/Cargo.toml b/psa-crypto-sys/Cargo.toml index 82b40bb..fec31f0 100644 --- a/psa-crypto-sys/Cargo.toml +++ b/psa-crypto-sys/Cargo.toml @@ -15,10 +15,10 @@ repository = "https://github.com/parallaxsecond/rust-psa-crypto" links = "mbedcrypto" [build-dependencies] -bindgen = "0.54.0" -cc = "1.0.54" +bindgen = "0.55.1" +cc = "1.0.59" cmake = "0.1.44" -walkdir = "2" +walkdir = "2.3.1" [features] default = ["operations"] diff --git a/psa-crypto/Cargo.toml b/psa-crypto/Cargo.toml index 2b25107..a296e7c 100644 --- a/psa-crypto/Cargo.toml +++ b/psa-crypto/Cargo.toml @@ -15,8 +15,8 @@ repository = "https://github.com/parallaxsecond/rust-psa-crypto" [dependencies] psa-crypto-sys = { path = "../psa-crypto-sys", version = "0.5.0", default-features = false } -log = "0.4.8" -serde = { version = "1.0.110", features = ["derive"] } +log = "0.4.11" +serde = { version = "1.0.115", features = ["derive"] } zeroize = { version = "1.1.0", features = ["zeroize_derive"] } [dev-dependencies]