Skip to content
Draft
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
15 changes: 12 additions & 3 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ jobs:
key: ${{ runner.os }}-security-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Install cargo-audit
run: cargo install cargo-audit --force
run: |
rustup toolchain install 1.88.0
rustup default 1.88.0
cargo install cargo-audit --force

- name: Run security audit
run: cargo audit --json > audit-results.json
Expand Down Expand Up @@ -65,7 +68,10 @@ jobs:
uses: actions/checkout@v4

- name: Install cargo-deny
run: cargo install cargo-deny --force
run: |
rustup toolchain install 1.88.0
rustup default 1.88.0
cargo install cargo-deny --force

- name: Run cargo-deny
run: cargo deny check
Expand Down Expand Up @@ -128,7 +134,10 @@ jobs:
uses: dtolnay/rust-toolchain@stable

- name: Install cargo-license
run: cargo install cargo-license --force
run: |
rustup toolchain install 1.88.0
rustup default 1.88.0
cargo install cargo-license --force

- name: Check licenses
run: |
Expand Down
167 changes: 53 additions & 114 deletions Cargo.lock

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

7 changes: 5 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ smartcore = "0.3"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
metrics = "0.21"
prometheus = "0.13"
# Prometheus 0.13 pulls protobuf 2.x with known vuln RUSTSEC-2024-0437.
# Pin to a patched forkless version by disabling default features that include proto.
# Alternatively, upgrade to 0.14 once available. For now, use 0.13 with `protobuf` feature off.
prometheus = { version = "0.13", default-features = false, features = ["process"] }
opentelemetry = "0.21"

# Error handling
Expand All @@ -107,7 +110,7 @@ once_cell = "1.19"
lazy_static = "1.4"

# Configuration
config = "0.13"
config = { version = "0.13", default-features = false, features = ["json", "toml", "ron", "ini"] }
clap = { version = "4.4", features = ["derive", "env"] }
dotenvy = "0.15"

Expand Down
Loading
Loading