Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,24 @@ jobs:
run: cargo doc --no-deps --all-features --workspace
env:
RUSTDOCFLAGS: "-D warnings"

machete:
name: Machete
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ env.RUST_TOOLCHAIN }}

- name: Install cargo-binstall
uses: cargo-bins/cargo-binstall@main

- name: Install cargo-machete
run: cargo binstall cargo-machete --no-confirm --no-symlinks

- name: Run machete
run: cargo machete
17 changes: 0 additions & 17 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,23 +53,6 @@ jobs:
- name: Run deny
run: cargo deny check all

unused:
name: Unused Dependencies
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v7

- name: Install cargo-binstall
uses: cargo-bins/cargo-binstall@main

- name: Install cargo-machete
run: cargo binstall cargo-machete --no-confirm --no-symlinks

- name: Run machete
run: cargo machete

secrets:
name: Secret Scan
runs-on: ubuntu-latest
Expand Down
49 changes: 26 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ derive_more = { version = "2.0", features = [] }
derive_builder = { version = "0.20", features = [] }
anyhow = { version = "1.0", features = [] }
pin-project-lite = { version = "0.2", features = [] }
http-body = { version = "1.0", features = [] }

# Primitive datatypes
uuid = { version = "1.22", features = ["serde", "v4", "v7"] }
Expand Down
1 change: 1 addition & 0 deletions crates/nvisy-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true, features = [] }
toml = { workspace = true, features = ["parse"] }
bytes = { workspace = true, features = [] }
http-body = { workspace = true, features = [] }
validator = { workspace = true, features = [] }

# Text processing
Expand Down
Loading