Add a cargo deny workflow (#89)

* Add a cargo deny workflow

Also trims out a pointless submodule checkout (we have none).

* Remove no longer relevant advisories/allowances

* Patch for array-bytes

* Remove unused properties

* Restore chrono advisory

* Allow MPL-2.0, correct GPL-3.0 allowance specification

* Properly ban copyleft, run on all crates

* Exceptions for Serai crates (AGPL-3.0)

* Remove top comments

* Clarify reasoning for not checking advisories in CI

* Run all checks in CI

While this may bring down an unrelated commit, we can manually review, before creating a followup commit allowing it. If it's critical, then this did its job.
This commit is contained in:
Luke Parker
2022-11-16 20:53:35 -06:00
committed by GitHub
parent 4a3178ed8f
commit 56574f2f5b
5 changed files with 102 additions and 10 deletions

3
Cargo.lock generated
View File

@@ -118,8 +118,7 @@ dependencies = [
[[package]]
name = "array-bytes"
version = "4.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6a913633b0c922e6b745072795f50d90ebea78ba31a57e2ac8c2fc7b50950949"
source = "git+https://github.com/hack-ink/array-bytes?rev=994cd29b66bd2ab5c8c15f0b15a1618d4bb2d94c#994cd29b66bd2ab5c8c15f0b15a1618d4bb2d94c"
[[package]]
name = "array-init"