From c1d7d9e7503d6e6cbb273031d978297dc1ce8c3b Mon Sep 17 00:00:00 2001 From: asonix Date: Thu, 18 Jan 2024 12:58:59 -0500 Subject: [PATCH] Update cargo tomls --- Cargo.toml | 7 +++++-- jobs-actix/Cargo.toml | 2 +- jobs-core/Cargo.toml | 3 +++ jobs-metrics/Cargo.toml | 4 ++-- jobs-postgres/Cargo.toml | 6 ++++++ jobs-sled/Cargo.toml | 1 + jobs-tokio/Cargo.toml | 6 ++++++ src/lib.rs | 2 +- 8 files changed, 25 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 109ad30..37c77d3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,14 +1,17 @@ [package] name = "background-jobs" -description = "Background Jobs implemented with actix and futures" +description = "asynchronous background jobs implemented with pluggable backends and runtimes" version = "0.17.0" license = "AGPL-3.0" authors = ["asonix "] repository = "https://git.asonix.dog/asonix/background-jobs" readme = "README.md" -keywords = ["jobs", "processor", "actix"] +keywords = ["jobs", "processor", "actix", "tokio", "postgres", "sled"] edition = "2021" +[package.metadata.docs.rs] +all-features = true + [workspace] members = [ "jobs-actix", diff --git a/jobs-actix/Cargo.toml b/jobs-actix/Cargo.toml index 3e16dd0..3065a0f 100644 --- a/jobs-actix/Cargo.toml +++ b/jobs-actix/Cargo.toml @@ -5,7 +5,7 @@ version = "0.17.0" license = "AGPL-3.0" authors = ["asonix "] repository = "https://git.asonix.dog/asonix/background-jobs" -keywords = ["jobs", "processor"] +keywords = ["jobs", "processor", "actix"] readme = "../README.md" edition = "2021" diff --git a/jobs-core/Cargo.toml b/jobs-core/Cargo.toml index a54bee3..cc89559 100644 --- a/jobs-core/Cargo.toml +++ b/jobs-core/Cargo.toml @@ -9,6 +9,9 @@ keywords = ["jobs", "processor"] readme = "../README.md" edition = "2021" +[package.metadata.docs.rs] +all-features = true + [features] default = ["error-logging"] completion-logging = [] diff --git a/jobs-metrics/Cargo.toml b/jobs-metrics/Cargo.toml index cc6b103..f4dc284 100644 --- a/jobs-metrics/Cargo.toml +++ b/jobs-metrics/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "background-jobs-metrics" -description = "Background Jobs implemented with actix and futures - metrics subscriber" +description = "Metrics subscriber for accessing metrics produced by background jobs" version = "0.17.0" license = "AGPL-3.0" authors = ["asonix "] repository = "https://git.asonix.dog/asonix/background-jobs" readme = "../README.md" -keywords = ["jobs", "processor", "actix"] +keywords = ["jobs", "processor", "metrics"] edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/jobs-postgres/Cargo.toml b/jobs-postgres/Cargo.toml index 8a77d5b..f79fbe1 100644 --- a/jobs-postgres/Cargo.toml +++ b/jobs-postgres/Cargo.toml @@ -1,6 +1,12 @@ [package] name = "background-jobs-postgres" +description = "Postgres storage backend for background-jobs" version = "0.17.0" +license = "AGPL-3.0" +authors = ["asonix "] +repository = "https://git.asonix.dog/asonix/background-jobs" +keywords = ["jobs", "processor", "postgres"] +readme = "../README.md" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/jobs-sled/Cargo.toml b/jobs-sled/Cargo.toml index 1ea9850..05714b2 100644 --- a/jobs-sled/Cargo.toml +++ b/jobs-sled/Cargo.toml @@ -5,6 +5,7 @@ version = "0.17.0" license = "AGPL-3.0" authors = ["asonix "] repository = "https://git.asonix.dog/asonix/background-jobs" +keywords = ["jobs", "processor", "sled"] readme = "../README.md" edition = "2021" diff --git a/jobs-tokio/Cargo.toml b/jobs-tokio/Cargo.toml index 8dff22b..c171718 100644 --- a/jobs-tokio/Cargo.toml +++ b/jobs-tokio/Cargo.toml @@ -1,6 +1,12 @@ [package] name = "background-jobs-tokio" +description = "in-process jobs processor based on Tokio" version = "0.17.0" +license = "AGPL-3.0" +authors = ["asonix "] +repository = "https://git.asonix.dog/asonix/background-jobs" +keywords = ["jobs", "processor", "tokio"] +readme = "../README.md" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/lib.rs b/src/lib.rs index 89c1a26..13b8e13 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -203,8 +203,8 @@ pub mod postgres { pub mod sled { pub use background_jobs_sled::{Error, Storage}; } -#[cfg(feature = "tokio")] +#[cfg(feature = "tokio")] pub mod tokio { pub use background_jobs_tokio::{QueueHandle, WorkerConfig}; }