mirror of
https://git.asonix.dog/asonix/background-jobs.git
synced 2024-11-25 21:40:59 +00:00
Bump core and actix versions
This commit is contained in:
parent
cca9aca333
commit
147a15b2fe
4 changed files with 4 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
name = "background-jobs-actix"
|
name = "background-jobs-actix"
|
||||||
description = "in-process jobs processor based on Actix"
|
description = "in-process jobs processor based on Actix"
|
||||||
version = "0.6.0"
|
version = "0.6.1"
|
||||||
license-file = "../LICENSE"
|
license-file = "../LICENSE"
|
||||||
authors = ["asonix <asonix@asonix.dog>"]
|
authors = ["asonix <asonix@asonix.dog>"]
|
||||||
repository = "https://git.asonix.dog/Aardwolf/background-jobs"
|
repository = "https://git.asonix.dog/Aardwolf/background-jobs"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
name = "background-jobs-core"
|
name = "background-jobs-core"
|
||||||
description = "Core types for implementing an asynchronous jobs processor"
|
description = "Core types for implementing an asynchronous jobs processor"
|
||||||
version = "0.6.0"
|
version = "0.6.1"
|
||||||
license-file = "../LICENSE"
|
license-file = "../LICENSE"
|
||||||
authors = ["asonix <asonix@asonix.dog>"]
|
authors = ["asonix <asonix@asonix.dog>"]
|
||||||
repository = "https://git.asonix.dog/Aardwolf/background-jobs"
|
repository = "https://git.asonix.dog/Aardwolf/background-jobs"
|
||||||
|
|
|
@ -152,9 +152,7 @@ pub trait Processor: Clone {
|
||||||
///
|
///
|
||||||
/// Patterns like this could be useful if you want to use the same job type for multiple
|
/// Patterns like this could be useful if you want to use the same job type for multiple
|
||||||
/// scenarios. Defining the `process` method for multiple `Processor`s with different
|
/// scenarios. Defining the `process` method for multiple `Processor`s with different
|
||||||
/// before/after logic for the same
|
/// before/after logic for the same [`Job`] supported.
|
||||||
/// [`Job`](https://docs.rs/background-jobs/0.4.0/background_jobs/trait.Job.html) type is
|
|
||||||
/// supported.
|
|
||||||
fn process(
|
fn process(
|
||||||
&self,
|
&self,
|
||||||
args: Value,
|
args: Value,
|
||||||
|
|
|
@ -8,7 +8,7 @@ use crate::{JobInfo, NewJobInfo, ReturnJobInfo, Stats};
|
||||||
///
|
///
|
||||||
/// This crate provides a default implementation in the `memory_storage` module, which is backed by
|
/// This crate provides a default implementation in the `memory_storage` module, which is backed by
|
||||||
/// HashMaps and uses counting to assign IDs. If jobs must be persistent across application
|
/// HashMaps and uses counting to assign IDs. If jobs must be persistent across application
|
||||||
/// restarts, look into the `[sled-backed](https://github.com/spacejam/sled)` implementation from
|
/// restarts, look into the [`sled-backed`](https://github.com/spacejam/sled) implementation from
|
||||||
/// the `background-jobs-sled-storage` crate.
|
/// the `background-jobs-sled-storage` crate.
|
||||||
pub trait Storage: Clone + Send {
|
pub trait Storage: Clone + Send {
|
||||||
/// The error type used by the storage mechansim.
|
/// The error type used by the storage mechansim.
|
||||||
|
|
Loading…
Reference in a new issue