Cargo.toml 1.7 KB

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