Cargo.toml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. folder-model = { path = "../../../shared-lib/folder-model" }
  8. flowy-client-sync = { path = "../flowy-client-sync"}
  9. revision-model = { path = "../../../shared-lib/revision-model" }
  10. ws-model = { path = "../../../shared-lib/ws-model" }
  11. flowy-derive = { path = "../flowy-derive" }
  12. lib-ot = { path = "../../../shared-lib/lib-ot" }
  13. lib-infra = { path = "../../../shared-lib/lib-infra" }
  14. flowy-document = { path = "../flowy-document" }
  15. flowy-sqlite = { path = "../flowy-sqlite", optional = true }
  16. flowy-error = { path = "../flowy-error", features = ["adaptor_database", "adaptor_dispatch"]}
  17. flowy-notification = { path = "../flowy-notification" }
  18. lib-dispatch = { path = "../lib-dispatch" }
  19. flowy-revision = { path = "../flowy-revision" }
  20. flowy-revision-persistence = { path = "../flowy-revision-persistence" }
  21. parking_lot = "0.12.1"
  22. protobuf = {version = "2.28.0"}
  23. log = "0.4.17"
  24. diesel = {version = "1.4.8", features = ["sqlite"]}
  25. diesel_derives = {version = "1.4.1", features = ["sqlite"]}
  26. futures = "0.3.26"
  27. pin-project = "1.0"
  28. strum = "0.21"
  29. strum_macros = "0.21"
  30. tokio = { version = "1.26", features = ["rt"] }
  31. lazy_static = "1.4.0"
  32. serde = { version = "1.0", features = ["derive"] }
  33. tracing = { version = "0.1", features = ["log"] }
  34. bytes = { version = "1.4" }
  35. unicode-segmentation = "1.10"
  36. serde_json = "1.0"
  37. [dev-dependencies]
  38. flowy-folder = { path = "../flowy-folder", features = ["flowy_unit_test"]}
  39. flowy-test = { path = "../flowy-test" }
  40. [build-dependencies]
  41. flowy-codegen = { path = "../flowy-codegen"}
  42. [features]
  43. default = ["rev-sqlite"]
  44. sync = []
  45. cloud_sync = ["sync"]
  46. rev-sqlite = ["flowy-sqlite", "flowy-folder/rev-sqlite"]
  47. flowy_unit_test = ["lib-ot/flowy_unit_test", "flowy-revision/flowy_unit_test"]
  48. dart = ["flowy-codegen/dart", "flowy-notification/dart"]
  49. ts = ["flowy-codegen/ts", "flowy-notification/ts"]