- notify-ci-failure.yml lists its workflows by name. `workflows: ['*']` is not a wildcard to workflow_run: it matched nothing, so `main` was red from 2026-09-23 with no one told. - cargo audit runs a prebuilt cargo-audit (taiki-e/install-action, pinned by commit) with `--deny warnings`, replacing rustsec/audit-check@v2 - Node 20, a check-run write token, and on a pull request a failure only for "critical", which is how September's advisories passed every PR. .cargo/audit.toml's contract (a new informational advisory fails CI) is now what runs. - security-scan.yml: both audits daily against `main`, so an advisory against something already merged is reported the day it is published, not at the next PR. - cargo deny (licences, sources, bans) with deny.toml: the licence allowlist makes "every bundled licence is GPL-3.0-compatible" a test. The workspace declares `publish = false`, which it never had - and without which cargo-deny judged the app crates as published ones. - CodeQL analyses rust and actions as well as javascript-typescript. The comment saying CodeQL had no Rust support stopped being true in 2025. - ci-node.yml: Pages and id-token write move from the workflow to the one job that needs them (Sonar S8233); the audit installs with --ignore-scripts (S6505); a new `tauri lockstep` job fails when a Tauri crate and its npm package drift apart on Cargo.lock and package-lock.json. - release.yml: build (read-only token, no persisted credentials) and publish (attest + draft) are separate jobs; the tag must match all five version fields; SHA256SUMS.txt is LF, which `sha256sum -c` elsewhere needs; actions/attest-build-provenance attests the .exe and .msi; softprops/action-gh-release is pinned by commit; `workflow_dispatch` with `dry_run` builds any ref without attesting or drafting. - ci-integration.yml also runs for the CLI, exec, audit, release metadata, errors, store, index, Cargo.lock and rust-toolchain.toml - every one of which its end-to-end steps run through. - dependabot.yml: cooldowns, a group per ecosystem for Tauri packages and for actions and pip, TypeScript held below 6.1 (typescript-eslint's peer range), and the rust-toolchain ecosystem. A multi-ecosystem group would put both Tauri halves in one PR, but what it does to dependencies outside its patterns is undocumented; the lockstep job covers the gap instead. - Sonar: NOSONAR with reasons on the dev scripts' argv and PATH lookups; bundle-cli.mjs no longer claims to run from beforeBuildCommand. The dev CSP moves out of index.html into a Vite plugin that reads devCsp from tauri.conf.json, so a release build carries one policy, the strict one (S7039); checked in the dev server, where React Refresh's preamble still runs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
47 lines
1.6 KiB
TOML
47 lines
1.6 KiB
TOML
[package]
|
|
name = "pipdock-core"
|
|
description = "Domain logic for PipDock: engine adapters, planning, snapshots, dependency graph."
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
publish.workspace = true
|
|
repository.workspace = true
|
|
authors.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
# `fixtures.rs`: the L3 payloads xtask writes for the frontend's tests.
|
|
fixtures = []
|
|
|
|
[dependencies]
|
|
async-trait = "0.1.92"
|
|
jiff = { version = "0.2.38", features = ["serde"] }
|
|
nucleo = "0.5.0"
|
|
reqwest = { version = "0.13.5", default-features = false, features = ["rustls", "http2", "json", "gzip", "charset"] }
|
|
rusqlite = { version = "0.40.2", features = ["bundled"] }
|
|
schemars = "1.2.3"
|
|
serde = { version = "1.0.229", features = ["derive"] }
|
|
serde_json = "1.0.154"
|
|
sha2 = "0.11.1"
|
|
thiserror = "2.0.21"
|
|
tokio = { version = "1.53.3", features = ["rt-multi-thread", "macros", "process", "io-util", "time", "sync"] }
|
|
# First-party tokio, for CancellationToken. The alternative was an AtomicBool plus a Notify,
|
|
# which is what CancellationToken already is, written worse.
|
|
tokio-util = "0.7.20"
|
|
tracing = "0.1.44"
|
|
|
|
[dev-dependencies]
|
|
insta = { version = "1.49.0", features = ["json"] }
|
|
jiff = "0.2.38"
|
|
tokio = { version = "1.53.3", features = ["rt-multi-thread", "macros"] }
|
|
|
|
[target."cfg(windows)".dependencies]
|
|
winreg = "0.56.0"
|
|
# Cancelling a build has to reach the compilers `python -m pip` spawns, not just pip itself, and
|
|
# on Windows that means a Job Object. A safe wrapper rather than hand-written unsafe, because
|
|
# `unsafe_code = "forbid"` in the workspace lints is absolute and worth keeping that way.
|
|
win32job = "2.0.3"
|