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

42 lines
1.1 KiB
TOML
Raw Normal View History

2021-06-24 08:32:36 +00:00
[package]
2021-07-08 13:23:44 +00:00
name = "flowy-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.0"
futures-core = { version = "0.3", default-features = false }
paste = "1"
futures-channel = "0.3.15"
futures = "0.3.15"
futures-util = "0.3.15"
2021-08-20 14:00:03 +00:00
bytes = {version = "1.0", features = ["serde"]}
tokio = { version = "1", features = ["full"] }
2021-06-26 15:52:03 +00:00
uuid = { version = "0.8", features = ["serde", "v4"] }
log = "0.4.14"
env_logger = "0.8"
serde_with = "1.9.4"
2021-06-27 14:07:33 +00:00
thread-id = "3.3.0"
lazy_static = "1.4.0"
dyn-clone = "1.0"
2021-06-30 15:11:27 +00:00
derivative = "2.2.0"
serde_json = {version = "1.0"}
serde = { version = "1.0", features = ["derive"] }
2021-06-24 15:37:45 +00:00
#optional crate
bincode = { version = "1.3", optional = true}
protobuf = {version = "2.24.1", optional = true}
2021-07-03 06:14:10 +00:00
tracing = { version = "0.1", optional = true}
2021-06-24 15:37:45 +00:00
[dev-dependencies]
2021-06-26 15:52:03 +00:00
tokio = { version = "1", features = ["full"] }
2021-06-27 14:07:33 +00:00
futures-util = "0.3.15"
[features]
2021-07-05 08:54:41 +00:00
default = ["use_protobuf"]
use_serde = ["bincode"]
use_protobuf= ["protobuf"]
2021-07-03 06:14:10 +00:00
use_tracing= ["tracing"]