2021-12-12 13:48:52 +00:00
|
|
|
[package]
|
|
|
|
name = "flowy-net"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2021-12-14 07:31:44 +00:00
|
|
|
lib-dispatch = { path = "../lib-dispatch" }
|
2023-05-17 01:49:39 +00:00
|
|
|
flowy-error = { path = "../flowy-error", features = ["adaptor_reqwest", "adaptor_server_error"] }
|
|
|
|
flowy-derive = { path = "../../../shared-lib/flowy-derive" }
|
2023-04-04 00:41:16 +00:00
|
|
|
flowy-folder2 = { path = "../flowy-folder2" }
|
2023-04-13 10:53:51 +00:00
|
|
|
flowy-document2 = { path = "../flowy-document2" }
|
2022-01-13 02:53:30 +00:00
|
|
|
flowy-user = { path = "../flowy-user" }
|
2023-05-17 01:49:39 +00:00
|
|
|
#flowy-document = { path = "../flowy-document" }
|
2022-01-10 15:45:59 +00:00
|
|
|
lazy_static = "1.4.0"
|
2021-12-14 07:31:44 +00:00
|
|
|
lib-infra = { path = "../../../shared-lib/lib-infra" }
|
2023-03-03 12:38:31 +00:00
|
|
|
protobuf = {version = "2.28.0"}
|
2021-12-26 11:10:37 +00:00
|
|
|
lib-ws = { path = "../../../shared-lib/lib-ws" }
|
2023-03-03 12:38:31 +00:00
|
|
|
bytes = { version = "1.4" }
|
2021-12-14 07:31:44 +00:00
|
|
|
anyhow = "1.0"
|
2023-03-03 12:38:31 +00:00
|
|
|
tokio = { version = "1.26", features = ["sync"]}
|
2022-11-08 05:51:12 +00:00
|
|
|
parking_lot = "0.12.1"
|
2021-12-14 07:31:44 +00:00
|
|
|
strum = "0.21"
|
|
|
|
strum_macros = "0.21"
|
|
|
|
tracing = { version = "0.1", features = ["log"] }
|
2022-06-14 00:37:44 +00:00
|
|
|
dashmap = "5"
|
2023-03-03 12:38:31 +00:00
|
|
|
async-stream = "0.3.4"
|
|
|
|
futures-util = "0.3.26"
|
|
|
|
reqwest = "0.11.14"
|
2022-02-07 06:40:45 +00:00
|
|
|
hyper = "0.14"
|
|
|
|
config = { version = "0.10.1", default-features = false, features = ["yaml"] }
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
serde_json = "1.0"
|
2023-03-03 12:38:31 +00:00
|
|
|
serde-aux = "1.1.0"
|
2022-04-11 07:27:03 +00:00
|
|
|
nanoid = "0.4.0"
|
2023-01-30 03:11:19 +00:00
|
|
|
thiserror = "1.0"
|
2022-02-07 06:40:45 +00:00
|
|
|
|
2021-12-14 07:31:44 +00:00
|
|
|
[features]
|
2022-02-08 06:36:59 +00:00
|
|
|
http_server = []
|
2022-02-08 06:57:16 +00:00
|
|
|
dart = [
|
2022-12-01 06:56:20 +00:00
|
|
|
"flowy-codegen/dart",
|
2022-02-08 06:57:16 +00:00
|
|
|
"flowy-user/dart",
|
|
|
|
"flowy-error/dart",
|
|
|
|
]
|
2022-02-08 06:36:59 +00:00
|
|
|
|
2023-01-17 08:27:17 +00:00
|
|
|
ts = [
|
|
|
|
"flowy-codegen/ts",
|
|
|
|
"flowy-user/ts",
|
|
|
|
"flowy-error/ts",
|
|
|
|
]
|
|
|
|
|
2022-02-08 06:36:59 +00:00
|
|
|
[build-dependencies]
|
2023-05-17 01:49:39 +00:00
|
|
|
flowy-codegen = { path = "../../../shared-lib/flowy-codegen"}
|