Cargo.toml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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-collaboration = { path = "../../../shared-lib/flowy-collaboration" }
  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-document = { path = "../flowy-document" }
  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. lib-sqlite = { path = "../lib-sqlite" }
  18. flowy-sync = { path = "../flowy-sync" }
  19. parking_lot = "0.11"
  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. #diesel = { git = "https://github.com/diesel-rs/diesel.git", branch = "master", features = ["sqlite"] }
  25. #diesel_derives = { git = "https://github.com/diesel-rs/diesel.git", branch = "master",features = ["sqlite"] }
  26. futures-core = { version = "0.3", default-features = false }
  27. futures = "0.3.15"
  28. pin-project = "1.0.0"
  29. strum = "0.21"
  30. strum_macros = "0.21"
  31. tokio = { version = "1", features = ["rt"] }
  32. lazy_static = "1.4.0"
  33. serde = { version = "1.0", features = ["derive"] }
  34. derive_more = {version = "0.99", features = ["display"]}
  35. bincode = { version = "1.3"}
  36. tracing = { version = "0.1", features = ["log"] }
  37. bytes = { version = "1.0" }
  38. crossbeam = "0.8"
  39. crossbeam-utils = "0.8"
  40. chrono = "0.4"
  41. [dev-dependencies]
  42. serial_test = "0.5.1"
  43. serde_json = "1.0"
  44. flowy-folder = { path = "../flowy-folder", features = ["flowy_unit_test"]}
  45. flowy-test = { path = "../flowy-test" }
  46. [features]
  47. default = []
  48. http_server = []
  49. flowy_unit_test = ["lib-ot/flowy_unit_test", "flowy-sync/flowy_unit_test"]
  50. dart = ["lib-infra/dart", "flowy-folder/dart", "flowy-folder/dart",]
  51. [build-dependencies]
  52. lib-infra = { path = "../../../shared-lib/lib-infra", features = ["pb_gen", "proto_gen"] }