AppFlowy/frontend/rust-lib/lib-dispatch/Cargo.toml

40 lines
1.1 KiB
TOML
Raw Normal View History

2021-06-24 08:32:36 +00:00
[package]
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]
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.workspace = true
2023-03-03 12:38:31 +00:00
futures-util = "0.3.26"
bytes = {version = "1.4", features = ["serde"]}
tokio = { workspace = true, features = ["full"] }
2022-04-11 07:27:03 +00:00
nanoid = "0.4.0"
2021-06-27 14:07:33 +00:00
thread-id = "3.3.0"
dyn-clone = "1.0"
2021-06-30 15:11:27 +00:00
derivative = "2.2.0"
serde_json = { workspace = true, optional = true }
serde = { version = "1.0", features = ["derive"], optional = true }
serde_repr = { workspace = true, optional = true }
validator = "0.16.1"
tracing.workspace = true
parking_lot = "0.12"
2021-06-24 15:37:45 +00:00
#optional crate
bincode = { version = "1.3", optional = true}
protobuf = { workspace = true, optional = true }
2021-06-24 15:37:45 +00:00
[dev-dependencies]
tokio = { workspace = true, features = ["full"] }
2023-03-03 12:38:31 +00:00
futures-util = "0.3.26"
[features]
default = ["use_protobuf", ]
use_serde = ["bincode", "serde_json", "serde", "serde_repr"]
use_protobuf= ["protobuf"]
single_thread = []