Skip to content

Commit

Permalink
feat: kv.watch support (#26)
Browse files Browse the repository at this point in the history
This commit adds support for the `Database::watch` method in both SQLite
and remote backends, and the `/watch` method in the KV Connect protocol.

---------

Co-authored-by: losfair <[email protected]>
  • Loading branch information
lucacasonato and losfair authored Dec 4, 2023
1 parent 061ffbd commit 801b32a
Show file tree
Hide file tree
Showing 16 changed files with 796 additions and 280 deletions.
177 changes: 45 additions & 132 deletions Cargo.lock

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

9 changes: 3 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@ denokv_remote = { version = "0.4.0", path = "./remote" }
denokv_timemachine = { version = "0.2.0", path = "./timemachine" }

anyhow = "1"
async-stream = "0.3"
async-trait = "0.1"
aws-config = "0.55.3"
aws-credential-types = "0.55.3"
aws-sdk-s3 = "0.28.0"
aws-smithy-async = "0.55.3"
aws-smithy-client = "0.55.3"
aws-smithy-types = "0.55.3"
aws-types = "0.55.3"
axum = { version = "0.6", features = ["macros", "http2"] }
bytes = "1"
chrono = { version = "0.4", default-features = false, features = ["std", "serde"] }
Expand All @@ -38,15 +37,13 @@ num-bigint = "0.4"
prost = "0.11"
prost-build = "0.11"
rand = "0.8.5"
reqwest = { version = "0.11", default-features = false, features = ["json"] }
reqwest = { version = "0.11", default-features = false, features = ["json", "stream"] }
rusqlite = "0.29.0"
serde = { version = "1", features = ["derive"] }
serde_json = "1.0.107"
tempfile = "3"
thiserror = "1"
tokio = { version = "1.33.0", features = ["full"] }
tracing = "0.1"
tracing-futures = "0.2"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
tokio-util = "0.7"
url = "2"
uuid = { version = "1.4.1", features = ["v4", "serde"] }
Loading

0 comments on commit 801b32a

Please sign in to comment.