2021-12-14 07:31:44 +00:00
|
|
|
[package]
|
|
|
|
name = "flowy-error"
|
|
|
|
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-30 03:16:47 +00:00
|
|
|
flowy-derive = { path = "../flowy-derive" }
|
2021-12-14 07:31:44 +00:00
|
|
|
lib-dispatch = { path = "../lib-dispatch" }
|
|
|
|
protobuf = {version = "2.20.0"}
|
2021-12-14 10:04:51 +00:00
|
|
|
bytes = "1.0"
|
2022-12-28 13:49:38 +00:00
|
|
|
anyhow = "1.0"
|
|
|
|
thiserror = "1.0"
|
2021-12-14 10:04:51 +00:00
|
|
|
|
|
|
|
|
2022-12-30 03:16:47 +00:00
|
|
|
flowy-sync = { path = "../flowy-sync", optional = true}
|
2021-12-14 10:04:51 +00:00
|
|
|
lib-ot = { path = "../../../shared-lib/lib-ot", optional = true}
|
|
|
|
serde_json = {version = "1.0", optional = true}
|
2022-02-07 06:40:45 +00:00
|
|
|
http-flowy = { git = "https://github.com/AppFlowy-IO/AppFlowy-Server", optional = true}
|
2021-12-14 10:04:51 +00:00
|
|
|
flowy-database = { path = "../flowy-database", optional = true}
|
|
|
|
r2d2 = { version = "0.8", optional = true}
|
2021-12-20 06:26:26 +00:00
|
|
|
lib-sqlite = { path = "../lib-sqlite", optional = true }
|
2021-12-14 10:04:51 +00:00
|
|
|
|
|
|
|
[features]
|
2022-03-19 08:52:28 +00:00
|
|
|
collaboration = ["flowy-sync"]
|
2021-12-14 10:04:51 +00:00
|
|
|
ot = ["lib-ot"]
|
|
|
|
serde = ["serde_json"]
|
2022-02-07 06:40:45 +00:00
|
|
|
http_server = ["http-flowy"]
|
2021-12-14 10:04:51 +00:00
|
|
|
db = ["flowy-database", "lib-sqlite", "r2d2"]
|
2022-12-30 03:16:47 +00:00
|
|
|
dart = ["flowy-codegen/dart"]
|
2022-02-08 06:36:59 +00:00
|
|
|
|
|
|
|
[build-dependencies]
|
2023-01-01 09:21:19 +00:00
|
|
|
flowy-codegen = { path = "../flowy-codegen", features = ["proto_gen"]}
|