-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
41 lines (36 loc) · 1.3 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[package]
name = "woddle"
description = "An async, synchronized, database-backed Rust job scheduler"
version = "0.5.0"
authors = ["Mario Zupan <[email protected]>"]
edition = "2018"
license = "Apache-2.0"
readme = "README.md"
documentation = "https://docs.rs/woddle"
repository = "https://github.com/zupzup/woddle"
categories = ["date-and-time", "asynchronous", "web-programming"]
keywords = ["woddle", "job", "cron", "quartz"]
[dependencies]
chrono = { version = "0.4" }
futures = { version = "0.3", default-features = false, features = ["async-await"] }
async-trait = "0.1"
log = "0.4"
cron = "0.12"
tokio = { version = "1", features = ["time", "rt-multi-thread"], optional = true }
tokio-postgres = { version = "0.7", features = ["with-chrono-0_4"], optional = true }
mobc-postgres = { version = "0.8", features = ["with-chrono-0_4"], optional = true }
mobc = { version= "0.8", optional = true }
[dev-dependencies]
pretty_env_logger = "0.5"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
mobc-postgres = { version = "0.8", features = ["with-chrono-0_4"] }
mobc = { version= "0.8" }
[features]
default = ["tokio", "tokio-postgres"]
pool-mobc = ["tokio", "mobc", "mobc-postgres"]
[[test]]
name = "pooled"
required-features = ["pool-mobc"]
[[example]]
name = "pooled"
required-features = ["pool-mobc"]