2021-07-13 14:28:01 +08:00
|
|
|
[package]
|
2022-01-27 20:39:54 +08:00
|
|
|
name = "flowy-folder"
|
2021-07-13 14:28:01 +08: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-01-27 20:39:54 +08:00
|
|
|
flowy-folder-data-model = { path = "../../../shared-lib/flowy-folder-data-model" }
|
2021-12-11 13:47:16 +08:00
|
|
|
flowy-collaboration = { path = "../../../shared-lib/flowy-collaboration" }
|
2021-11-20 10:52:39 +08:00
|
|
|
flowy-derive = { path = "../../../shared-lib/flowy-derive" }
|
|
|
|
lib-ot = { path = "../../../shared-lib/lib-ot" }
|
2021-12-13 13:55:44 +08:00
|
|
|
lib-infra = { path = "../../../shared-lib/lib-infra" }
|
2021-11-20 10:52:39 +08:00
|
|
|
|
2021-11-13 11:11:24 +08:00
|
|
|
flowy-document = { path = "../flowy-document" }
|
2021-07-13 14:28:01 +08:00
|
|
|
flowy-database = { path = "../flowy-database" }
|
2022-02-07 14:40:45 +08:00
|
|
|
flowy-error = { path = "../flowy-error", features = ["db", "http_server"]}
|
2021-11-19 15:00:51 +08:00
|
|
|
dart-notify = { path = "../dart-notify" }
|
2021-11-20 10:52:39 +08:00
|
|
|
lib-dispatch = { path = "../lib-dispatch" }
|
2021-12-20 14:26:26 +08:00
|
|
|
lib-sqlite = { path = "../lib-sqlite" }
|
2022-01-14 20:52:03 +08:00
|
|
|
flowy-sync = { path = "../flowy-sync" }
|
2021-09-02 14:47:39 +08:00
|
|
|
|
2021-10-13 23:11:45 +08:00
|
|
|
parking_lot = "0.11"
|
2021-07-13 14:28:01 +08:00
|
|
|
protobuf = {version = "2.18.0"}
|
2021-07-13 17:19:39 +08:00
|
|
|
log = "0.4.14"
|
2021-11-17 14:17:46 +08:00
|
|
|
diesel = {version = "1.4.8", features = ["sqlite"]}
|
2021-07-13 14:28:01 +08:00
|
|
|
diesel_derives = {version = "1.4.1", features = ["sqlite"]}
|
2021-09-07 17:12:03 +08:00
|
|
|
#diesel = { git = "https://github.com/diesel-rs/diesel.git", branch = "master", features = ["sqlite"] }
|
|
|
|
#diesel_derives = { git = "https://github.com/diesel-rs/diesel.git", branch = "master",features = ["sqlite"] }
|
2021-07-18 23:56:36 +08:00
|
|
|
futures-core = { version = "0.3", default-features = false }
|
2021-10-13 23:11:45 +08:00
|
|
|
futures = "0.3.15"
|
2021-07-18 23:56:36 +08:00
|
|
|
pin-project = "1.0.0"
|
2021-08-30 22:44:17 +08:00
|
|
|
strum = "0.21"
|
|
|
|
strum_macros = "0.21"
|
2021-09-02 14:47:39 +08:00
|
|
|
tokio = { version = "1", features = ["rt"] }
|
2021-07-13 17:19:39 +08:00
|
|
|
lazy_static = "1.4.0"
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
derive_more = {version = "0.99", features = ["display"]}
|
2021-07-14 08:07:25 +08:00
|
|
|
bincode = { version = "1.3"}
|
2021-07-21 22:41:44 +08:00
|
|
|
tracing = { version = "0.1", features = ["log"] }
|
2021-08-20 22:00:03 +08:00
|
|
|
bytes = { version = "1.0" }
|
2021-12-13 13:55:44 +08:00
|
|
|
crossbeam = "0.8"
|
2021-10-16 16:45:52 +08:00
|
|
|
crossbeam-utils = "0.8"
|
2021-11-08 19:19:02 +08:00
|
|
|
chrono = "0.4"
|
2021-11-07 23:23:16 +08:00
|
|
|
|
2021-07-14 08:07:25 +08:00
|
|
|
[dev-dependencies]
|
2021-09-01 22:50:22 +08:00
|
|
|
serial_test = "0.5.1"
|
2022-01-22 18:48:43 +08:00
|
|
|
serde_json = "1.0"
|
2022-01-27 20:39:54 +08:00
|
|
|
flowy-folder = { path = "../flowy-folder", features = ["flowy_unit_test"]}
|
2022-01-19 16:00:11 +08:00
|
|
|
flowy-test = { path = "../flowy-test" }
|
2021-09-01 22:50:22 +08:00
|
|
|
|
|
|
|
[features]
|
2021-11-08 10:57:33 +08:00
|
|
|
default = []
|
2022-01-22 18:48:43 +08:00
|
|
|
http_server = []
|
2022-02-08 14:36:59 +08:00
|
|
|
flowy_unit_test = ["lib-ot/flowy_unit_test", "flowy-sync/flowy_unit_test"]
|
2022-02-08 14:57:16 +08:00
|
|
|
dart = ["lib-infra/dart", "flowy-folder/dart", "flowy-folder/dart",]
|
2022-02-08 14:36:59 +08:00
|
|
|
|
|
|
|
[build-dependencies]
|
2022-02-09 13:08:49 +08:00
|
|
|
lib-infra = { path = "../../../shared-lib/lib-infra", features = ["pb_gen", "proto_gen"] }
|