-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
73 lines (63 loc) · 2.42 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
69
70
71
72
73
[workspace]
members = ["hedwig_core"]
[package]
name = "hedwig"
version = "7.1.0"
authors = [
"Aniruddha Maru <[email protected]>",
"Simonas Kazlauskas <[email protected]>",
"Renar Narubin <[email protected]>",
]
edition = "2021"
repository = "https://github.com/standard-ai/hedwig-rust.git"
homepage = "https://github.com/standard-ai/hedwig-rust"
readme = "README.md"
description = "A simple message bus for Rust"
license = "Apache-2.0"
keywords = ["pubsub", "messagebus", "microservices"]
categories = ["asynchronous", "web-programming"]
[badges]
maintenance = { status = "actively-developed" }
[features]
default = []
# Backends
google = ["ya-gcp", "tracing", "parking_lot"]
mock = ["async-channel", "parking_lot"]
# Validators
json-schema = ["valico", "serde_json", "serde"]
protobuf = ["prost"]
[[example]]
name = "googlepubsub"
required-features = ["google", "protobuf"]
[dependencies]
async-trait = { version = "0.1" }
bytes = "1"
either = { version = "1", features = ["use_std"], default-features = false }
futures-util = { version = "0.3.17", features = ["std", "sink"], default-features = false }
hedwig_core = { version = "0.1", path = "./hedwig_core" }
pin-project = "1"
smallstr = { version = "0.3.0", features = ["union"] }
thiserror = { version = "1", default-features = false }
url = { version = "2", default-features = false }
uuid = { version = "1.6", features = ["v4"], default-features = false }
async-channel = { version = "1.6", optional = true }
serde = { version = "^1.0", optional = true, default-features = false }
serde_json = { version = "^1", features = ["std"], optional = true, default-features = false }
parking_lot = { version = "0.11", optional = true }
prost = { version = "0.12", optional = true, features = ["std"], default-features = false }
tracing = { version = "0.1.37", optional = true }
valico = { version = "^3.2", optional = true, default-features = false }
ya-gcp = { version = "0.11", features = ["pubsub"], optional = true }
[dev-dependencies]
async-channel = { version = "1.6" }
futures-channel = "0.3.17"
parking_lot = { version = "0.11" }
prost = { version = "0.12", features = ["std", "prost-derive"] }
tokio = { version = "1", features = ["macros", "rt"] }
tonic = "0.10"
serde = { version = "1", features = ["derive"] }
ya-gcp = { version = "0.11", features = ["pubsub", "emulators"] }
structopt = "0.3"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]