Skip to content
Open
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
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,25 @@ env:
CARGO_TERM_COLOR: always

jobs:
cargo-deny:
name: Cargo Deny
runs-on: ubuntu-latest
permissions:
contents: read

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install Rust toolchain
run: rustup toolchain install

- name: Install cargo-deny
run: cargo install cargo-deny@0.20.2 --locked

- name: Check Rust dependencies
run: cargo deny --workspace --all-features --locked check

ci:
name: Continuous Integration
runs-on: ubuntu-latest
Expand Down
141 changes: 34 additions & 107 deletions Cargo.lock

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

12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ tauri = "2.12.0"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.145"
thiserror = "2.0.17"
time = "0.3.44"
tokio = { version = "1.48.0", features = ["rt", "sync", "time"] }
time = "0.3.47"
tokio = { version = "1.54.1", features = ["rt", "sync", "time"] }
Comment thread
velocitysystems marked this conversation as resolved.
Resolved
indexmap = { version = "2.12.1", features = ["serde"] }
base64 = "0.22.1"
tracing = { version = "0.1.41", default-features = false, features = ["std", "release_max_level_off"] }
Expand All @@ -32,13 +32,13 @@ uuid = { version = "1.11.0", features = ["v4"] }
sqlx = { version = "0.9.0", features = ["sqlite", "json", "time", "runtime-tokio"] }

# Connection manager
sqlx-sqlite-conn-mgr = { path = "crates/sqlx-sqlite-conn-mgr" }
sqlx-sqlite-conn-mgr = { path = "crates/sqlx-sqlite-conn-mgr", version = "0.9.0" }

# Toolkit (high-level API — builders, transactions, decoding)
sqlx-sqlite-toolkit = { path = "crates/sqlx-sqlite-toolkit", features = ["observer"] }
sqlx-sqlite-toolkit = { path = "crates/sqlx-sqlite-toolkit", version = "0.9.1", features = ["observer"] }

# Observer types (for payload conversion)
sqlx-sqlite-observer = { path = "crates/sqlx-sqlite-observer", features = ["conn-mgr"] }
sqlx-sqlite-observer = { path = "crates/sqlx-sqlite-observer", version = "0.9.1", features = ["conn-mgr"] }

# Async stream support for observer subscriptions
futures = "0.3.31"
Expand All @@ -49,5 +49,5 @@ tauri-plugin = { version = "2.7.1", features = ["build"] }
[dev-dependencies]
tauri = { version = "2.12.0", features = ["test"] }
tempfile = "3.23.0"
tokio = { version = "1.48.0", features = ["rt-multi-thread", "macros"] }
tokio = { version = "1.54.1", features = ["rt-multi-thread", "macros"] }
rstest = { version = "0.28.0", default-features = false }
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1383,6 +1383,17 @@ cargo test # Run tests
npm run standards # Lint and standards checks
```

Rust dependencies are checked with cargo-deny on every push and pull request. The example
apps have their own lockfiles and are not checked. Run the same check locally:

```bash
cargo install cargo-deny@0.20.2 --locked
cargo deny --workspace --all-features --locked check
```

Fix advisories by updating the dependency where possible. Any exception in `deny.toml`
must say why an update cannot resolve it.

## License

MIT
Expand Down
Loading