enable cargo-deny

This commit is contained in:
Tokuhiro Matsuno
2023-01-17 17:06:11 +09:00
parent bc68286fee
commit a08c8ab6ed
8 changed files with 21 additions and 1 deletions

View File

@ -34,8 +34,9 @@ jobs:
cd ibus-akaza/ && make
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
components: clippy, rustfmt, deny
- run: cargo fmt --all --check
- run: cargo clippy -- -D warnings
- run: cargo deny check
- run: cargo test

1
Cargo.lock generated
View File

@ -46,6 +46,7 @@ dependencies = [
"rayon",
"regex",
"tempfile",
"time 0.3.17",
"vibrato",
"walkdir",
]

View File

@ -2,6 +2,7 @@
name = "akaza-data"
version = "0.1.0"
edition = "2021"
license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

13
deny.toml Normal file
View File

@ -0,0 +1,13 @@
[licenses]
allow-osi-fsf-free = "either"
copyleft = "deny"
[advisories]
ignore = [
"RUSTSEC-2021-0145", # atty: dev deps
"RUSTSEC-2021-0139", # ansi_term: dev deps
]
unmaintained = "deny"
unsound = "deny"
yanked = "deny"

View File

@ -2,6 +2,7 @@
name = "ibus-akaza"
version = "0.1.0"
edition = "2021"
license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -2,6 +2,7 @@
name = "ibus-sys"
version = "0.1.0"
edition = "2021"
license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -2,6 +2,7 @@
name = "libakaza"
version = "0.1.0"
edition = "2021"
license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -2,6 +2,7 @@
name = "marisa-sys"
version = "0.1.0"
edition = "2021"
license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html