-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
764 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Tests & Build | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
test: | ||
name: cargo test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@stable | ||
- run: sudo apt-get update && sudo apt-get install -y libudev-dev | ||
- run: cargo test | ||
working-directory: bestool | ||
audit: | ||
name: cargo audits | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@stable | ||
with: | ||
components: clippy,rustfmt | ||
- run: sudo apt-get update && sudo apt-get install -y libudev-dev | ||
- run: cargo install cargo-audit | ||
working-directory: bestool | ||
- run: cargo clippy -- -D warnings --no-deps | ||
working-directory: bestool | ||
# Ignoring mach being unmaintained for now as limited options + its only for MacOS | ||
- run: cargo audit -D unsound -D yanked -D unmaintained --ignore "RUSTSEC-2020-0168" | ||
working-directory: bestool | ||
- run: cargo install --locked cargo-vet | ||
working-directory: bestool | ||
- run: cargo vet --locked | ||
working-directory: bestool | ||
vet: | ||
name: cargo vet | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@stable | ||
with: | ||
components: clippy,rustfmt | ||
- run: sudo apt-get update && sudo apt-get install -y libudev-dev | ||
- run: cargo install --locked cargo-vet | ||
working-directory: bestool | ||
- run: cargo vet --locked | ||
working-directory: bestool | ||
build: | ||
name: cargo build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@stable | ||
- run: sudo apt-get update && sudo apt-get install -y libudev-dev | ||
- run: cargo build | ||
working-directory: bestool |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,217 @@ | ||
|
||
# cargo-vet audits file | ||
|
||
[[audits.pkg-config]] | ||
who = "Ben V. Brown <[email protected]>" | ||
criteria = "safe-to-deploy" | ||
delta = "0.3.26 -> 0.3.27" | ||
|
||
[[trusted.aho-corasick]] | ||
criteria = "safe-to-deploy" | ||
user-id = 189 # Andrew Gallant (BurntSushi) | ||
start = "2019-03-28" | ||
end = "2024-11-26" | ||
|
||
[[trusted.anstream]] | ||
criteria = "safe-to-deploy" | ||
user-id = 6743 # Ed Page (epage) | ||
start = "2023-03-16" | ||
end = "2024-11-26" | ||
|
||
[[trusted.anstyle]] | ||
criteria = "safe-to-deploy" | ||
user-id = 6743 # Ed Page (epage) | ||
start = "2022-05-18" | ||
end = "2024-11-26" | ||
|
||
[[trusted.anstyle-parse]] | ||
criteria = "safe-to-deploy" | ||
user-id = 6743 # Ed Page (epage) | ||
start = "2023-03-08" | ||
end = "2024-11-26" | ||
|
||
[[trusted.anstyle-query]] | ||
criteria = "safe-to-deploy" | ||
user-id = 6743 # Ed Page (epage) | ||
start = "2023-04-13" | ||
end = "2024-11-26" | ||
|
||
[[trusted.anstyle-wincon]] | ||
criteria = "safe-to-deploy" | ||
user-id = 6743 # Ed Page (epage) | ||
start = "2023-03-08" | ||
end = "2024-11-26" | ||
|
||
[[trusted.clap]] | ||
criteria = "safe-to-deploy" | ||
user-id = 6743 # Ed Page (epage) | ||
start = "2021-12-08" | ||
end = "2024-11-26" | ||
|
||
[[trusted.clap_builder]] | ||
criteria = "safe-to-deploy" | ||
user-id = 6743 # Ed Page (epage) | ||
start = "2023-03-28" | ||
end = "2024-11-26" | ||
|
||
[[trusted.clap_derive]] | ||
criteria = "safe-to-deploy" | ||
user-id = 6743 # Ed Page (epage) | ||
start = "2021-12-08" | ||
end = "2024-11-26" | ||
|
||
[[trusted.clap_lex]] | ||
criteria = "safe-to-deploy" | ||
user-id = 6743 # Ed Page (epage) | ||
start = "2022-04-15" | ||
end = "2024-11-26" | ||
|
||
[[trusted.colorchoice]] | ||
criteria = "safe-to-deploy" | ||
user-id = 6743 # Ed Page (epage) | ||
start = "2023-04-13" | ||
end = "2024-11-26" | ||
|
||
[[trusted.libc]] | ||
criteria = "safe-to-deploy" | ||
user-id = 2915 # Amanieu d'Antras (Amanieu) | ||
start = "2021-01-27" | ||
end = "2024-11-26" | ||
|
||
[[trusted.memchr]] | ||
criteria = "safe-to-deploy" | ||
user-id = 189 # Andrew Gallant (BurntSushi) | ||
start = "2019-07-07" | ||
end = "2024-11-26" | ||
|
||
[[trusted.proc-macro2]] | ||
criteria = "safe-to-deploy" | ||
user-id = 3618 # David Tolnay (dtolnay) | ||
start = "2019-04-23" | ||
end = "2024-11-26" | ||
|
||
[[trusted.quote]] | ||
criteria = "safe-to-deploy" | ||
user-id = 3618 # David Tolnay (dtolnay) | ||
start = "2019-04-09" | ||
end = "2024-11-26" | ||
|
||
[[trusted.regex]] | ||
criteria = "safe-to-deploy" | ||
user-id = 189 # Andrew Gallant (BurntSushi) | ||
start = "2019-02-27" | ||
end = "2024-11-26" | ||
|
||
[[trusted.regex-automata]] | ||
criteria = "safe-to-deploy" | ||
user-id = 189 # Andrew Gallant (BurntSushi) | ||
start = "2019-02-25" | ||
end = "2024-11-26" | ||
|
||
[[trusted.regex-syntax]] | ||
criteria = "safe-to-deploy" | ||
user-id = 189 # Andrew Gallant (BurntSushi) | ||
start = "2019-03-30" | ||
end = "2024-11-26" | ||
|
||
[[trusted.scopeguard]] | ||
criteria = "safe-to-deploy" | ||
user-id = 2915 # Amanieu d'Antras (Amanieu) | ||
start = "2020-02-16" | ||
end = "2024-11-26" | ||
|
||
[[trusted.smallvec]] | ||
criteria = "safe-to-deploy" | ||
user-id = 2017 # Matt Brubeck (mbrubeck) | ||
start = "2019-10-28" | ||
end = "2024-11-26" | ||
|
||
[[trusted.syn]] | ||
criteria = "safe-to-deploy" | ||
user-id = 3618 # David Tolnay (dtolnay) | ||
start = "2019-03-01" | ||
end = "2024-11-26" | ||
|
||
[[trusted.thiserror]] | ||
criteria = "safe-to-deploy" | ||
user-id = 3618 # David Tolnay (dtolnay) | ||
start = "2019-10-09" | ||
end = "2024-11-26" | ||
|
||
[[trusted.thiserror-impl]] | ||
criteria = "safe-to-deploy" | ||
user-id = 3618 # David Tolnay (dtolnay) | ||
start = "2019-10-09" | ||
end = "2024-11-26" | ||
|
||
[[trusted.thread_local]] | ||
criteria = "safe-to-deploy" | ||
user-id = 2915 # Amanieu d'Antras (Amanieu) | ||
start = "2019-09-07" | ||
end = "2024-11-26" | ||
|
||
[[trusted.unicode-ident]] | ||
criteria = "safe-to-deploy" | ||
user-id = 3618 # David Tolnay (dtolnay) | ||
start = "2021-10-02" | ||
end = "2024-11-26" | ||
|
||
[[trusted.valuable]] | ||
criteria = "safe-to-deploy" | ||
user-id = 10 # Carl Lerche (carllerche) | ||
start = "2022-01-03" | ||
end = "2024-11-26" | ||
|
||
[[trusted.windows-sys]] | ||
criteria = "safe-to-deploy" | ||
user-id = 64539 # Kenny Kerr (kennykerr) | ||
start = "2021-11-15" | ||
end = "2024-11-26" | ||
|
||
[[trusted.windows-targets]] | ||
criteria = "safe-to-deploy" | ||
user-id = 64539 # Kenny Kerr (kennykerr) | ||
start = "2022-09-09" | ||
end = "2024-11-26" | ||
|
||
[[trusted.windows_aarch64_gnullvm]] | ||
criteria = "safe-to-deploy" | ||
user-id = 64539 # Kenny Kerr (kennykerr) | ||
start = "2022-09-01" | ||
end = "2024-11-26" | ||
|
||
[[trusted.windows_aarch64_msvc]] | ||
criteria = "safe-to-deploy" | ||
user-id = 64539 # Kenny Kerr (kennykerr) | ||
start = "2021-11-05" | ||
end = "2024-11-26" | ||
|
||
[[trusted.windows_i686_gnu]] | ||
criteria = "safe-to-deploy" | ||
user-id = 64539 # Kenny Kerr (kennykerr) | ||
start = "2021-10-28" | ||
end = "2024-11-26" | ||
|
||
[[trusted.windows_i686_msvc]] | ||
criteria = "safe-to-deploy" | ||
user-id = 64539 # Kenny Kerr (kennykerr) | ||
start = "2021-10-27" | ||
end = "2024-11-26" | ||
|
||
[[trusted.windows_x86_64_gnu]] | ||
criteria = "safe-to-deploy" | ||
user-id = 64539 # Kenny Kerr (kennykerr) | ||
start = "2021-10-28" | ||
end = "2024-11-26" | ||
|
||
[[trusted.windows_x86_64_gnullvm]] | ||
criteria = "safe-to-deploy" | ||
user-id = 64539 # Kenny Kerr (kennykerr) | ||
start = "2022-09-01" | ||
end = "2024-11-26" | ||
|
||
[[trusted.windows_x86_64_msvc]] | ||
criteria = "safe-to-deploy" | ||
user-id = 64539 # Kenny Kerr (kennykerr) | ||
start = "2021-10-27" | ||
end = "2024-11-26" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
|
||
# cargo-vet config file | ||
|
||
[cargo-vet] | ||
version = "0.8" | ||
|
||
[imports.bytecode-alliance] | ||
url = "https://raw.githubusercontent.com/bytecodealliance/wasmtime/main/supply-chain/audits.toml" | ||
|
||
[imports.fermyon] | ||
url = "https://raw.githubusercontent.com/fermyon/spin/main/supply-chain/audits.toml" | ||
|
||
[imports.google] | ||
url = "https://raw.githubusercontent.com/google/supply-chain/main/audits.toml" | ||
|
||
[imports.isrg] | ||
url = "https://raw.githubusercontent.com/divviup/libprio-rs/main/supply-chain/audits.toml" | ||
|
||
[imports.mozilla] | ||
url = "https://raw.githubusercontent.com/mozilla/supply-chain/main/audits.toml" | ||
|
||
[imports.zcash] | ||
url = "https://raw.githubusercontent.com/zcash/rust-ecosystem/main/supply-chain/audits.toml" | ||
|
||
[[exemptions.CoreFoundation-sys]] | ||
version = "0.1.4" | ||
criteria = "safe-to-deploy" | ||
|
||
[[exemptions.IOKit-sys]] | ||
version = "0.1.5" | ||
criteria = "safe-to-deploy" | ||
|
||
[[exemptions.bitflags]] | ||
version = "1.3.2" | ||
criteria = "safe-to-deploy" | ||
|
||
[[exemptions.crc]] | ||
version = "3.0.1" | ||
criteria = "safe-to-deploy" | ||
|
||
[[exemptions.crc-catalog]] | ||
version = "2.4.0" | ||
criteria = "safe-to-deploy" | ||
|
||
[[exemptions.libudev]] | ||
version = "0.3.0" | ||
criteria = "safe-to-deploy" | ||
|
||
[[exemptions.libudev-sys]] | ||
version = "0.1.4" | ||
criteria = "safe-to-deploy" | ||
|
||
[[exemptions.mach]] | ||
version = "0.1.2" | ||
criteria = "safe-to-deploy" | ||
|
||
[[exemptions.nix]] | ||
version = "0.26.4" | ||
criteria = "safe-to-deploy" | ||
|
||
[[exemptions.once_cell]] | ||
version = "1.18.0" | ||
criteria = "safe-to-deploy" | ||
|
||
[[exemptions.serialport]] | ||
version = "4.2.2" | ||
criteria = "safe-to-deploy" | ||
|
||
[[exemptions.sharded-slab]] | ||
version = "0.1.7" | ||
criteria = "safe-to-deploy" | ||
|
||
[[exemptions.strsim]] | ||
version = "0.10.0" | ||
criteria = "safe-to-deploy" | ||
|
||
[[exemptions.tracing]] | ||
version = "0.1.40" | ||
criteria = "safe-to-deploy" | ||
|
||
[[exemptions.tracing-attributes]] | ||
version = "0.1.27" | ||
criteria = "safe-to-deploy" | ||
|
||
[[exemptions.tracing-core]] | ||
version = "0.1.32" | ||
criteria = "safe-to-deploy" | ||
|
||
[[exemptions.tracing-log]] | ||
version = "0.2.0" | ||
criteria = "safe-to-deploy" | ||
|
||
[[exemptions.tracing-subscriber]] | ||
version = "0.3.18" | ||
criteria = "safe-to-deploy" | ||
|
||
[[exemptions.winapi]] | ||
version = "0.3.9" | ||
criteria = "safe-to-deploy" | ||
|
||
[[exemptions.winapi-i686-pc-windows-gnu]] | ||
version = "0.4.0" | ||
criteria = "safe-to-deploy" | ||
|
||
[[exemptions.winapi-x86_64-pc-windows-gnu]] | ||
version = "0.4.0" | ||
criteria = "safe-to-deploy" |
Oops, something went wrong.