From bce0faa1c2dc221b0ff77d2cd647bfb2a48ffa7e Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Wed, 8 May 2024 12:09:04 +0100 Subject: feat: add background daemon (#2006) * init daemon crate * wip * minimal functioning daemon, needs cleanup for sure * better errors * add signal cleanup * logging * things * add sync worker * move daemon crate * 30s -> 5mins * make clippy happy * fix stuff maybe? * fmt * trim packages * rate limit fix * more protoc huh * this makes no sense, why linux why * can it install literally just curl * windows in ci is slow, and all the newer things will not work there. disable the daemon feature and it will build * add daemon feature * maybe this * ok wut where is protoc * try setting protoc * hm * try copying protoc * remove optional * add cross config * idk nix * does nix want this? * some random pkg I found does this * uh oh * hack, be gone! * update contributing --- Cargo.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index de2d1e5c..e6bdaf36 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [workspace] members = [ - "crates/*" + "crates/*", ] resolver = "2" @@ -42,6 +42,12 @@ typed-builder = "0.18.2" pretty_assertions = "1.3.0" thiserror = "1.0" rustix = { version = "0.38.34", features = ["process", "fs"] } +tower = "0.4" +tracing = "0.1" + +[workspace.dependencies.tracing-subscriber] +version = "0.3" +features = ["ansi", "fmt", "registry", "env-filter"] [workspace.dependencies.reqwest] version = "0.11" -- cgit v1.3.1