2021-06-29 08:52:29 +00:00
|
|
|
[package]
|
|
|
|
name = "flowy-user"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2023-05-17 01:49:39 +00:00
|
|
|
flowy-derive = { path = "../../../shared-lib/flowy-derive" }
|
2023-01-31 00:28:31 +00:00
|
|
|
flowy-sqlite = { path = "../flowy-sqlite", optional = true }
|
2023-08-17 15:46:39 +00:00
|
|
|
flowy-encrypt = { path = "../flowy-encrypt" }
|
2023-07-29 01:46:24 +00:00
|
|
|
flowy-error = { path = "../flowy-error", features = ["impl_from_sqlite", "impl_from_dispatch_error"] }
|
2022-03-19 08:23:34 +00:00
|
|
|
lib-infra = { path = "../../../shared-lib/lib-infra" }
|
2023-01-26 07:40:23 +00:00
|
|
|
flowy-notification = { path = "../flowy-notification" }
|
2023-07-14 05:37:13 +00:00
|
|
|
flowy-server-config = { path = "../flowy-server-config" }
|
2021-11-20 02:52:39 +00:00
|
|
|
lib-dispatch = { path = "../lib-dispatch" }
|
2023-05-15 14:16:05 +00:00
|
|
|
appflowy-integrate = { version = "0.1.0" }
|
2023-07-14 05:37:13 +00:00
|
|
|
collab = { version = "0.1.0" }
|
|
|
|
collab-folder = { version = "0.1.0" }
|
2023-08-03 01:14:52 +00:00
|
|
|
collab-document = { version = "0.1.0" }
|
2023-08-14 04:57:59 +00:00
|
|
|
collab-user = { version = "0.1.0" }
|
2023-07-29 01:46:24 +00:00
|
|
|
flowy-user-deps = { path = "../flowy-user-deps" }
|
2021-12-13 05:55:44 +00:00
|
|
|
|
2021-06-29 15:21:25 +00:00
|
|
|
tracing = { version = "0.1", features = ["log"] }
|
2023-03-03 12:38:31 +00:00
|
|
|
bytes = "1.4"
|
2021-06-29 15:21:25 +00:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2021-09-01 03:21:42 +00:00
|
|
|
serde_json = {version = "1.0"}
|
2023-05-21 10:53:59 +00:00
|
|
|
serde_repr = "0.1"
|
2023-03-03 12:38:31 +00:00
|
|
|
log = "0.4.17"
|
|
|
|
protobuf = {version = "2.28.0"}
|
2021-07-06 06:14:47 +00:00
|
|
|
lazy_static = "1.4.0"
|
2021-11-17 06:17:46 +00:00
|
|
|
diesel = {version = "1.4.8", features = ["sqlite"]}
|
2021-07-10 08:27:20 +00:00
|
|
|
diesel_derives = {version = "1.4.1", features = ["sqlite"]}
|
2023-03-03 12:38:31 +00:00
|
|
|
once_cell = "1.17.1"
|
2022-11-08 05:51:12 +00:00
|
|
|
parking_lot = "0.12.1"
|
2021-08-30 14:44:17 +00:00
|
|
|
strum_macros = "0.21"
|
2023-03-03 12:38:31 +00:00
|
|
|
tokio = { version = "1.26", features = ["rt"] }
|
2023-05-17 01:49:39 +00:00
|
|
|
validator = "0.16.0"
|
|
|
|
unicode-segmentation = "1.10"
|
|
|
|
fancy-regex = "0.11.0"
|
2023-07-14 05:37:13 +00:00
|
|
|
uuid = { version = "1.3.3", features = [ "v4"] }
|
2023-07-29 01:46:24 +00:00
|
|
|
chrono = { version = "0.4.22", default-features = false, features = ["clock"] }
|
|
|
|
base64 = "^0.21"
|
2021-07-24 10:55:13 +00:00
|
|
|
|
2021-06-29 15:21:25 +00:00
|
|
|
[dev-dependencies]
|
2022-04-11 07:27:03 +00:00
|
|
|
nanoid = "0.4.0"
|
2023-05-17 01:49:39 +00:00
|
|
|
fake = "2.0.0"
|
|
|
|
rand = "0.8.4"
|
|
|
|
quickcheck = "1.0.3"
|
|
|
|
rand_core = "0.6.2"
|
|
|
|
quickcheck_macros = "1.0"
|
2021-08-20 06:38:03 +00:00
|
|
|
|
|
|
|
[features]
|
2023-01-31 11:30:48 +00:00
|
|
|
default = ["rev-sqlite"]
|
2023-01-31 00:28:31 +00:00
|
|
|
rev-sqlite = ["flowy-sqlite"]
|
2023-01-26 07:40:23 +00:00
|
|
|
dart = ["flowy-codegen/dart", "flowy-notification/dart"]
|
|
|
|
ts = ["flowy-codegen/ts", "flowy-notification/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"}
|