From c275bc7ef62fd1e1837f7e7f26041f421466b633 Mon Sep 17 00:00:00 2001 From: asonix Date: Thu, 27 Apr 2023 19:29:46 -0500 Subject: [PATCH] all: update metrics --- Cargo.toml | 8 ++++---- README.md | 2 +- examples/basic-example/Cargo.toml | 4 ++-- examples/long-example/Cargo.toml | 4 ++-- examples/managed-example/Cargo.toml | 4 ++-- examples/metrics-example/Cargo.toml | 4 ++-- examples/panic-example/Cargo.toml | 4 ++-- jobs-actix/Cargo.toml | 6 +++--- jobs-core/Cargo.toml | 4 ++-- jobs-metrics/Cargo.toml | 6 +++--- jobs-sled/Cargo.toml | 2 +- src/lib.rs | 2 +- 12 files changed, 25 insertions(+), 25 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 713b15c..57b7ada 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "background-jobs" description = "Background Jobs implemented with actix and futures" -version = "0.14.1" +version = "0.15.0" license = "AGPL-3.0" authors = ["asonix "] repository = "https://git.asonix.dog/asonix/background-jobs" @@ -33,15 +33,15 @@ error-logging = ["background-jobs-core/error-logging"] [dependencies] [dependencies.background-jobs-core] -version = "0.14.0" +version = "0.15.0" path = "jobs-core" [dependencies.background-jobs-actix] -version = "0.14.0" +version = "0.15.0" path = "jobs-actix" optional = true [dependencies.background-jobs-metrics] -version = "0.14.0" +version = "0.15.0" path = "jobs-metrics" optional = true diff --git a/README.md b/README.md index a10a057..5ca8700 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ might not be the best experience. ```toml [dependencies] actix-rt = "2.2.0" -background-jobs = "0.14.0" +background-jobs = "0.15.0" anyhow = "1.0" serde = { version = "1.0", features = ["derive"] } ``` diff --git a/examples/basic-example/Cargo.toml b/examples/basic-example/Cargo.toml index 7f84a78..ff61ea9 100644 --- a/examples/basic-example/Cargo.toml +++ b/examples/basic-example/Cargo.toml @@ -9,11 +9,11 @@ edition = "2021" [dependencies] actix-rt = "2.0.0" anyhow = "1.0" -background-jobs = { version = "0.14.0", path = "../..", features = [ +background-jobs = { version = "0.15.0", path = "../..", features = [ "error-logging", ] } background-jobs-sled-storage = { version = "0.10.0", path = "../../jobs-sled" } tracing = "0.1" -tracing-subscriber = { version = "0.2", features = ["fmt"] } +tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] } serde = { version = "1.0", features = ["derive"] } sled = "0.34" diff --git a/examples/long-example/Cargo.toml b/examples/long-example/Cargo.toml index ec0d678..a76c857 100644 --- a/examples/long-example/Cargo.toml +++ b/examples/long-example/Cargo.toml @@ -9,11 +9,11 @@ edition = "2021" [dependencies] actix-rt = "2.0.0" anyhow = "1.0" -background-jobs = { version = "0.14.0", path = "../..", features = [ +background-jobs = { version = "0.15.0", path = "../..", features = [ "error-logging", ] } background-jobs-sled-storage = { version = "0.10.0", path = "../../jobs-sled" } tracing = "0.1" -tracing-subscriber = { version = "0.2", features = ["fmt"] } +tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] } serde = { version = "1.0", features = ["derive"] } sled = "0.34" diff --git a/examples/managed-example/Cargo.toml b/examples/managed-example/Cargo.toml index d97de39..8e49e52 100644 --- a/examples/managed-example/Cargo.toml +++ b/examples/managed-example/Cargo.toml @@ -9,11 +9,11 @@ edition = "2021" [dependencies] actix-rt = "2.0.0" anyhow = "1.0" -background-jobs = { version = "0.14.0", path = "../..", features = [ +background-jobs = { version = "0.15.0", path = "../..", features = [ "error-logging", ] } background-jobs-sled-storage = { version = "0.10.0", path = "../../jobs-sled" } tracing = "0.1" -tracing-subscriber = { version = "0.2", features = ["fmt"] } +tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] } serde = { version = "1.0", features = ["derive"] } sled = "0.34" diff --git a/examples/metrics-example/Cargo.toml b/examples/metrics-example/Cargo.toml index 1b0bce2..e115eaf 100644 --- a/examples/metrics-example/Cargo.toml +++ b/examples/metrics-example/Cargo.toml @@ -9,11 +9,11 @@ edition = "2021" [dependencies] actix-rt = "2.0.0" anyhow = "1.0" -background-jobs = { version = "0.14.0", path = "../..", features = [ +background-jobs = { version = "0.15.0", path = "../..", features = [ "error-logging", ] } background-jobs-sled-storage = { version = "0.10.0", path = "../../jobs-sled" } tracing = "0.1" -tracing-subscriber = { version = "0.2", features = ["fmt"] } +tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] } serde = { version = "1.0", features = ["derive"] } sled = "0.34" diff --git a/examples/panic-example/Cargo.toml b/examples/panic-example/Cargo.toml index 8843f79..0e36565 100644 --- a/examples/panic-example/Cargo.toml +++ b/examples/panic-example/Cargo.toml @@ -9,12 +9,12 @@ edition = "2021" [dependencies] actix-rt = "2.0.0" anyhow = "1.0" -background-jobs = { version = "0.14.0", path = "../..", features = [ +background-jobs = { version = "0.15.0", path = "../..", features = [ "error-logging", ] } background-jobs-sled-storage = { version = "0.10.0", path = "../../jobs-sled" } time = "0.3" tracing = "0.1" -tracing-subscriber = { version = "0.2", features = ["fmt"] } +tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] } serde = { version = "1.0", features = ["derive"] } sled = "0.34" diff --git a/jobs-actix/Cargo.toml b/jobs-actix/Cargo.toml index afd5e56..85749f6 100644 --- a/jobs-actix/Cargo.toml +++ b/jobs-actix/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "background-jobs-actix" description = "in-process jobs processor based on Actix" -version = "0.14.5" +version = "0.15.0" license = "AGPL-3.0" authors = ["asonix "] repository = "https://git.asonix.dog/asonix/background-jobs" @@ -13,10 +13,10 @@ edition = "2021" actix-rt = "2.5.1" anyhow = "1.0" async-trait = "0.1.24" -background-jobs-core = { version = "0.14.0", path = "../jobs-core", features = [ +background-jobs-core = { version = "0.15.0", path = "../jobs-core", features = [ "with-actix", ] } -metrics = "0.20.1" +metrics = "0.21.0" tracing = "0.1" tracing-futures = "0.2" serde = { version = "1.0", features = ["derive"] } diff --git a/jobs-core/Cargo.toml b/jobs-core/Cargo.toml index dfb5d2c..fa2a3e5 100644 --- a/jobs-core/Cargo.toml +++ b/jobs-core/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "background-jobs-core" description = "Core types for implementing an asynchronous jobs processor" -version = "0.14.4" +version = "0.15.0" license = "AGPL-3.0" authors = ["asonix "] repository = "https://git.asonix.dog/asonix/background-jobs" @@ -20,7 +20,7 @@ actix-rt = { version = "2.3.0", optional = true } anyhow = "1.0" async-trait = "0.1.24" event-listener = "2" -metrics = "0.20.1" +metrics = "0.21.0" time = { version = "0.3", features = ["serde-human-readable"] } tracing = "0.1" tracing-futures = "0.2.5" diff --git a/jobs-metrics/Cargo.toml b/jobs-metrics/Cargo.toml index 9bc5c44..6383a18 100644 --- a/jobs-metrics/Cargo.toml +++ b/jobs-metrics/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "background-jobs-metrics" description = "Background Jobs implemented with actix and futures - metrics subscriber" -version = "0.14.0" +version = "0.15.0" license = "AGPL-3.0" authors = ["asonix "] repository = "https://git.asonix.dog/asonix/background-jobs" @@ -12,5 +12,5 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -metrics = "0.20.1" -metrics-util = "0.14.0" +metrics = "0.21.0" +metrics-util = "0.15.0" diff --git a/jobs-sled/Cargo.toml b/jobs-sled/Cargo.toml index 787578c..6425d04 100644 --- a/jobs-sled/Cargo.toml +++ b/jobs-sled/Cargo.toml @@ -13,7 +13,7 @@ edition = "2021" [dependencies] actix-rt = "2.0.1" async-trait = "0.1.24" -background-jobs-core = { version = "0.14.0", path = "../jobs-core" } +background-jobs-core = { version = "0.15.0", path = "../jobs-core" } bincode = "1.2" sled = "0.34" serde_cbor = "0.11" diff --git a/src/lib.rs b/src/lib.rs index c116d11..10bb927 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -30,7 +30,7 @@ //! [dependencies] //! actix-rt = "2.6.0" //! anyhow = "1.0" -//! background-jobs = "0.14.0" +//! background-jobs = "0.15.0" //! serde = { version = "1.0", features = ["derive"] } //! ``` //!