mirror of
https://git.asonix.dog/asonix/background-jobs.git
synced 2024-11-21 19: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]
|
||||
name = "background-jobs-actix"
|
||||
description = "in-process jobs processor based on Actix"
|
||||
version = "0.6.0"
|
||||
version = "0.6.1"
|
||||
license-file = "../LICENSE"
|
||||
authors = ["asonix <asonix@asonix.dog>"]
|
||||
repository = "https://git.asonix.dog/Aardwolf/background-jobs"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "background-jobs-core"
|
||||
description = "Core types for implementing an asynchronous jobs processor"
|
||||
version = "0.6.0"
|
||||
version = "0.6.1"
|
||||
license-file = "../LICENSE"
|
||||
authors = ["asonix <asonix@asonix.dog>"]
|
||||
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
|
||||
/// scenarios. Defining the `process` method for multiple `Processor`s with different
|
||||
/// before/after logic for the same
|
||||
/// [`Job`](https://docs.rs/background-jobs/0.4.0/background_jobs/trait.Job.html) type is
|
||||
/// supported.
|
||||
/// before/after logic for the same [`Job`] supported.
|
||||
fn process(
|
||||
&self,
|
||||
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
|
||||
/// 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.
|
||||
pub trait Storage: Clone + Send {
|
||||
/// The error type used by the storage mechansim.
|
||||
|
|
Loading…
Reference in a new issue