forked from rusty-celery/rusty-celery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
68 lines (61 loc) · 1.96 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[workspace]
members = ["./", "celery-codegen"]
[package]
name = "celery"
version = "0.4.666"
authors = ["epwalsh <[email protected]>"]
edition = "2018"
keywords = ["celery", "amqp", "rabbitmq", "background-jobs"]
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/rusty-celery/rusty-celery"
homepage = "https://github.com/rusty-celery/rusty-celery"
description = "Rust implementation of Celery"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[lib]
name = "celery"
path = "src/lib.rs"
doctest = false
[[example]]
name = "celery_app"
[dependencies]
base64 = "0.21"
chrono = { version = "0.4", features = ["serde"] }
tokio = { version = "1.25", features = ["rt-multi-thread", "signal", "parking_lot", "macros", "fs"]}
tokio-executor-trait = "2.1.0"
tokio-reactor-trait = "1.1.0"
tokio-stream = "0.1.11"
serde = { version = "1.0", features = ["derive"]}
serde_json = "1.0"
rmp-serde = { version = "1.1", optional = true }
rmpv = { version = "1.0.0", optional = true, features = ["with-serde"] }
serde_yaml = { version = "0.9", optional = true }
serde-pickle = { version = "1.1", optional = true }
thiserror = "1.0"
async-trait = "0.1"
lapin = { version = "2.1.1", default-features = false }
log = "0.4"
futures = { version = "0.3", features = ["async-await"] }
uuid = { version = "1.2.2", features = ["v4"]}
rand = "0.8"
celery-codegen = { version = "0.4.0-rcn.666", path = "./celery-codegen", optional = true }
colored = "2"
once_cell = { version = "1.17" }
globset = "0.4"
hostname = "0.3"
redis = { version = "0.22.3", features=["connection-manager", "tokio-comp"] }
[dev-dependencies]
rmp-serde = "1.1"
rmpv = { version = "1.0.0", features = ["with-serde"] }
serde_yaml = "0.9"
serde-pickle = "1.1"
env_logger = "0.10"
anyhow = "1.0"
structopt = "0.3"
[features]
default = ["codegen", "rustls"]
codegen = ["celery-codegen"]
extra_content_types = ["rmp-serde", "rmpv", "serde_yaml", "serde-pickle"]
native-tls = ["lapin/native-tls"]
rustls = ["lapin/rustls"]