Skip to content

Commit 8eedb83

Browse files
committed
Move the background jobs to another crate
I wrote this code intending to extract it, and I'm planning to release it after a few more changes which aren't relevant to crates.io. The code right now is largely the same as what was here before, the main difference being the use of a different error type. The error handling will probably churn some more in the near future as I figure out what I want the error handling story to look like in that crate
1 parent 7ca518d commit 8eedb83

File tree

14 files changed

+65
-531
lines changed

14 files changed

+65
-531
lines changed

Cargo.lock

Lines changed: 11 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ dotenv = "0.11.0"
4949
toml = "0.4"
5050
diesel = { version = "1.4.0", features = ["postgres", "serde_json", "chrono", "r2d2"] }
5151
diesel_full_text_search = "1.0.0"
52+
swirl = { git = "https://github.com/sgrif/swirl.git" }
5253
serde_json = "1.0.0"
5354
serde_derive = "1.0.0"
5455
serde = "1.0.0"
@@ -63,7 +64,6 @@ tempdir = "0.3.7"
6364
parking_lot = "0.7.1"
6465
jemallocator = { version = "0.1.8", features = ['unprefixed_malloc_on_supported_platforms', 'profiling'] }
6566
jemalloc-ctl = "0.2.0"
66-
threadpool = "1.7"
6767

6868
lettre = {git = "https://github.com/lettre/lettre", version = "0.9"}
6969
lettre_email = {git = "https://github.com/lettre/lettre", version = "0.9"}

src/background/job.rs

Lines changed: 0 additions & 26 deletions
This file was deleted.

src/background/mod.rs

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/background/registry.rs

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)