[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]
flowy-derive.workspace = true
flowy-sqlite = { workspace = true }
flowy-error = { workspace = true, features = ["impl_from_dispatch_error", "impl_from_sqlite", "impl_from_collab_folder", "impl_from_collab_persistence", "impl_from_collab_document"] }
flowy-folder-pub = { workspace = true }
lib-infra = { workspace = true, features = ["encryption"] }
flowy-notification = { workspace = true }
flowy-server-pub = { workspace = true }
lib-dispatch = { workspace = true }
collab-integrate = { workspace = true }
collab = { workspace = true }
collab-folder = { workspace = true }
collab-document = { workspace = true }
collab-database = { workspace = true }
collab-user = { workspace = true }
collab-entity = { workspace = true }
collab-plugins = { workspace = true }
flowy-user-pub = { workspace = true }
client-api = { workspace = true }
anyhow.workspace = true
arc-swap.workspace = true
dashmap.workspace = true
tracing.workspace = true
bytes.workspace = true
serde = { workspace = true, features = ["rc"] }
serde_json.workspace = true
protobuf.workspace = true
lazy_static = "1.4.0"
diesel.workspace = true
strum = "0.25"
strum_macros = "0.25.2"
tokio = { workspace = true, features = ["rt"] }
unicode-segmentation = "1.10"
fancy-regex = "0.11.0"
uuid.workspace = true
chrono = { workspace = true, default-features = false, features = ["clock"] }
base64 = "^0.21"
tokio-stream.workspace = true
semver = "1.0.22"
validator = { workspace = true, features = ["derive"] }
rayon = "1.10.0"
num_enum.workspace = true

[dev-dependencies]
fake = "2.0.0"
rand = "0.8.4"
quickcheck = "1.0.3"
rand_core = "0.6.2"
quickcheck_macros = "1.0"

[features]
dart = ["flowy-codegen/dart", "flowy-notification/dart"]

[build-dependencies]
flowy-codegen.workspace = true
