2021-06-24 08:32:36 +00:00
|
|
|
[package]
|
2021-11-19 06:38:11 +00:00
|
|
|
name = "lib-dispatch"
|
2021-06-24 08:32:36 +00:00
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2022-12-19 02:47:40 +00:00
|
|
|
pin-project = "1.0"
|
2021-06-24 08:32:36 +00:00
|
|
|
futures-core = { version = "0.3", default-features = false }
|
2023-03-03 12:38:31 +00:00
|
|
|
futures-channel = "0.3.26"
|
|
|
|
futures = "0.3.26"
|
|
|
|
futures-util = "0.3.26"
|
|
|
|
bytes = {version = "1.4", features = ["serde"]}
|
|
|
|
tokio = { version = "1.26", features = ["full"] }
|
2022-04-11 07:27:03 +00:00
|
|
|
nanoid = "0.4.0"
|
2023-03-03 12:38:31 +00:00
|
|
|
log = "0.4.17"
|
2021-06-27 14:07:33 +00:00
|
|
|
thread-id = "3.3.0"
|
2021-06-28 14:56:15 +00:00
|
|
|
dyn-clone = "1.0"
|
2021-06-30 15:11:27 +00:00
|
|
|
derivative = "2.2.0"
|
2022-07-06 05:27:33 +00:00
|
|
|
serde_json = {version = "1.0", optional = true }
|
|
|
|
serde = { version = "1.0", features = ["derive"], optional = true }
|
2023-01-17 08:27:17 +00:00
|
|
|
serde_repr = { version = "0.1", optional = true }
|
2021-06-24 15:37:45 +00:00
|
|
|
|
2021-06-29 15:21:25 +00:00
|
|
|
#optional crate
|
|
|
|
bincode = { version = "1.3", optional = true}
|
2023-03-03 12:38:31 +00:00
|
|
|
protobuf = {version = "2.28.0", optional = true}
|
2021-11-07 08:43:32 +00:00
|
|
|
tracing = { version = "0.1"}
|
2021-06-29 15:21:25 +00:00
|
|
|
|
2021-06-24 15:37:45 +00:00
|
|
|
[dev-dependencies]
|
2023-03-03 12:38:31 +00:00
|
|
|
tokio = { version = "1.26", features = ["full"] }
|
|
|
|
futures-util = "0.3.26"
|
2021-06-29 15:21:25 +00:00
|
|
|
|
|
|
|
[features]
|
2021-07-05 08:54:41 +00:00
|
|
|
default = ["use_protobuf"]
|
2023-01-17 08:27:17 +00:00
|
|
|
use_serde = ["bincode", "serde_json", "serde", "serde_repr"]
|
2021-06-30 07:33:49 +00:00
|
|
|
use_protobuf= ["protobuf"]
|