weired implementation of stream parsing cbor items from a unix sock, but it works

This commit is contained in:
Sebastian Moser
2024-06-20 18:03:43 +02:00
parent 053742f849
commit 6cb0aa1272
6 changed files with 642 additions and 65 deletions

View File

@@ -18,7 +18,7 @@ required-features = [ "os-target" ]
[features]
os-target = [ "clap", "home", "daemonize", "nix", "toml", "serde_json", "sysinfo", "ciborium/default", "tracing-subscriber", "async", "tracing-subscriber/env-filter"]
async = ["tokio/net", "tokio", "tokio/rt-multi-thread"]
async = ["tokio/net", "tokio", "tokio/rt-multi-thread", "tokio/io-util"]
wasm-target = [ "wasm-bindgen", "console_error_panic_hook", "wasm-bindgen-cli" ]
@@ -55,6 +55,9 @@ axum-extra = { version = "0.4.2", features = ["spa"], optional = true }
axum-macros = { version = "0.3.0", optional = true }
crossbeam = "0.8.4"
dyn-clone = "1.0.17"
tokio-core = "0.1.18"
tokio-io = "0.1.13"
ciborium-io = "0.2.2"
#tokio-stream = { version = "0.1.9", optional = true }
#derive_more = "0.99.17"