diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 392da23d1..8504e0f9d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,6 +32,14 @@ jobs: - name: Run clippy run: scripts/clippy.sh + cargo_deny: + name: cargo deny + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: EmbarkStudios/cargo-deny-action@v1 + arguments: --all-features --workspace + docs: name: Rust doc comments runs-on: ubuntu-latest diff --git a/deltachat-repl/Cargo.toml b/deltachat-repl/Cargo.toml index bab15c6d7..ed209d9af 100644 --- a/deltachat-repl/Cargo.toml +++ b/deltachat-repl/Cargo.toml @@ -1,6 +1,7 @@ [package] name = "deltachat-repl" version = "1.110.0" +license = "MPL-2.0" edition = "2021" [dependencies] diff --git a/deny.toml b/deny.toml new file mode 100644 index 000000000..a49d4bf51 --- /dev/null +++ b/deny.toml @@ -0,0 +1,16 @@ +[advisories] +ignore = [ + "RUSTSEC-2020-0071", +] + +[licenses] +allow = [ + "0BSD", + "Apache-2.0", + "BSD-2-Clause", + "BSD-3-Clause", + "CC0-1.0", + "MIT", + "BSL-1.0", # Boost Software License 1.0 + "Unicode-DFS-2016", +]