Cargo.toml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. [package]
  2. name = "flowy-folder"
  3. version = "0.1.0"
  4. edition = "2018"
  5. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  6. [dependencies]
  7. flowy-folder-data-model = { path = "../../../shared-lib/flowy-folder-data-model" }
  8. flowy-sync = { path = "../../../shared-lib/flowy-sync" }
  9. flowy-derive = { path = "../../../shared-lib/flowy-derive" }
  10. lib-ot = { path = "../../../shared-lib/lib-ot" }
  11. lib-infra = { path = "../../../shared-lib/lib-infra" }
  12. flowy-text-block = { path = "../flowy-text-block" }
  13. flowy-database = { path = "../flowy-database" }
  14. flowy-error = { path = "../flowy-error", features = ["db", "http_server"]}
  15. dart-notify = { path = "../dart-notify" }
  16. lib-dispatch = { path = "../lib-dispatch" }
  17. flowy-revision = { path = "../flowy-revision" }
  18. parking_lot = "0.11"
  19. protobuf = {version = "2.18.0"}
  20. log = "0.4.14"
  21. diesel = {version = "1.4.8", features = ["sqlite"]}
  22. diesel_derives = {version = "1.4.1", features = ["sqlite"]}
  23. futures = "0.3.15"
  24. pin-project = "1.0.0"
  25. strum = "0.21"
  26. strum_macros = "0.21"
  27. tokio = { version = "1", features = ["rt"] }
  28. lazy_static = "1.4.0"
  29. serde = { version = "1.0", features = ["derive"] }
  30. tracing = { version = "0.1", features = ["log"] }
  31. bytes = { version = "1.0" }
  32. unicode-segmentation = "1.8"
  33. [dev-dependencies]
  34. serde_json = "1.0"
  35. flowy-folder = { path = "../flowy-folder", features = ["flowy_unit_test"]}
  36. flowy-test = { path = "../flowy-test" }
  37. [build-dependencies]
  38. lib-infra = { path = "../../../shared-lib/lib-infra", features = ["protobuf_file_gen", "proto_gen"] }
  39. [features]
  40. default = []
  41. sync = []
  42. cloud_sync = ["sync"]
  43. flowy_unit_test = ["lib-ot/flowy_unit_test", "flowy-revision/flowy_unit_test"]
  44. dart = ["lib-infra/dart"]