mirror of
https://github.com/mii443/akaza.git
synced 2025-08-22 14:55:31 +00:00
enable cargo-deny
This commit is contained in:
3
.github/workflows/ci-simple.yml
vendored
3
.github/workflows/ci-simple.yml
vendored
@ -34,8 +34,9 @@ jobs:
|
|||||||
cd ibus-akaza/ && make
|
cd ibus-akaza/ && make
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
components: clippy, rustfmt
|
components: clippy, rustfmt, deny
|
||||||
- run: cargo fmt --all --check
|
- run: cargo fmt --all --check
|
||||||
- run: cargo clippy -- -D warnings
|
- run: cargo clippy -- -D warnings
|
||||||
|
- run: cargo deny check
|
||||||
- run: cargo test
|
- run: cargo test
|
||||||
|
|
||||||
|
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -46,6 +46,7 @@ dependencies = [
|
|||||||
"rayon",
|
"rayon",
|
||||||
"regex",
|
"regex",
|
||||||
"tempfile",
|
"tempfile",
|
||||||
|
"time 0.3.17",
|
||||||
"vibrato",
|
"vibrato",
|
||||||
"walkdir",
|
"walkdir",
|
||||||
]
|
]
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
name = "akaza-data"
|
name = "akaza-data"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
license = "MIT"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
13
deny.toml
Normal file
13
deny.toml
Normal 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"
|
@ -2,6 +2,7 @@
|
|||||||
name = "ibus-akaza"
|
name = "ibus-akaza"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
license = "MIT"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
name = "ibus-sys"
|
name = "ibus-sys"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
license = "MIT"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
name = "libakaza"
|
name = "libakaza"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
license = "MIT"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
name = "marisa-sys"
|
name = "marisa-sys"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
license = "MIT"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user