feat: with subscription

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2023-09-23 22:38:12 +02:00
parent 05fb5c0722
commit 7b08b16cdb
10 changed files with 167 additions and 21 deletions

17
Cargo.lock generated
View File

@@ -332,8 +332,10 @@ dependencies = [
"anyhow",
"async-trait",
"crunch-traits",
"futures",
"thiserror",
"tokio",
"tokio-stream",
"tracing",
]
@@ -343,6 +345,7 @@ version = "0.1.0"
dependencies = [
"anyhow",
"async-trait",
"futures",
"thiserror",
"tokio",
"uuid",
@@ -1220,6 +1223,20 @@ dependencies = [
"futures-core",
"pin-project-lite",
"tokio",
"tokio-util",
]
[[package]]
name = "tokio-util"
version = "0.7.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "806fe8c2c87eccc8b3267cbae29ed3ab2d0bd37fca70ab622e46aaa9375ddb7d"
dependencies = [
"bytes 1.5.0",
"futures-core",
"futures-sink",
"pin-project-lite",
"tokio",
]
[[package]]