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
80 changes: 76 additions & 4 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions PR_BODY.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Summary
- fix sqlite sync change-state handling by treating watcher wal_frame/cursor fields as optional strings and cleaning up unused code
- implement FromStr for sqlite ChangeOperation and resolve needless borrow lints in queue/server modules
- keep clippy happy by applying the suggested clamp change and ensuring proto tests build
- vendor `protoc` via `protoc-bin-vendored` so sqlite-watcher can build on runners without system protobuf
- update build script to set `PROTOC` before invoking `tonic_build`
- refresh Cargo.lock to capture the new dependencies

## Testing
- cargo clippy
Expand Down
1 change: 1 addition & 0 deletions sqlite-watcher/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ build = "build.rs"

[build-dependencies]
tonic-build = "0.11"
protoc-bin-vendored = "3"

[dependencies]
anyhow = "1.0"
Expand Down
2 changes: 2 additions & 0 deletions sqlite-watcher/build.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
fn main() -> Result<(), Box<dyn std::error::Error>> {
let protoc = protoc_bin_vendored::protoc_bin_path()?;
std::env::set_var("PROTOC", protoc);
tonic_build::configure()
.build_client(true)
.build_server(true)
Expand Down
Loading