Cargo.toml 1.9 KB

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