Add cargo-deny config and CI

This commit is contained in:
link2xt
2023-02-25 20:40:56 +00:00
parent 8177070673
commit 7e132b5383
4 changed files with 27 additions and 0 deletions

View File

@@ -32,6 +32,15 @@ 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
with:
arguments: --all-features --workspace
docs:
name: Rust doc comments
runs-on: ubuntu-latest

View File

@@ -5,6 +5,7 @@
### Changes
- Make smeared timestamp generation non-async. #4075
- Set minimum TLS version to 1.2. #4096
- Run `cargo-deny` in CI. #4101
### Fixes
- Do not block async task executor while decrypting the messages. #4079

View File

@@ -1,6 +1,7 @@
[package]
name = "deltachat-repl"
version = "1.110.0"
license = "MPL-2.0"
edition = "2021"
[dependencies]

16
deny.toml Normal file
View File

@@ -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",
]