Cargo.toml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. [package]
  2. name = "flowy-core"
  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. lib-dispatch = { path = "../lib-dispatch" }
  8. lib-log = { path = "../lib-log" }
  9. flowy-user = { path = "../flowy-user" }
  10. flowy-net = { path = "../flowy-net" }
  11. flowy-folder = { path = "../flowy-folder" }
  12. flowy-database = { path = "../flowy-database" }
  13. grid-model = { path = "../../../shared-lib/grid-model" }
  14. user-model = { path = "../../../shared-lib/user-model" }
  15. flowy-client-ws = { path = "../../../shared-lib/flowy-client-ws" }
  16. flowy-sqlite = { path = "../flowy-sqlite", optional = true }
  17. flowy-document = { path = "../flowy-document" }
  18. flowy-revision = { path = "../flowy-revision" }
  19. flowy-error = { path = "../flowy-error", features = ["adaptor_ws"] }
  20. flowy-task = { path = "../flowy-task" }
  21. tracing = { version = "0.1", features = ["log"] }
  22. futures-core = { version = "0.3", default-features = false }
  23. bytes = "1.0"
  24. tokio = { version = "1", features = ["rt"] }
  25. parking_lot = "0.12.1"
  26. revision-model = { path = "../../../shared-lib/revision-model" }
  27. ws-model = { path = "../../../shared-lib/ws-model" }
  28. lib-ws = { path = "../../../shared-lib/lib-ws" }
  29. lib-infra = { path = "../../../shared-lib/lib-infra" }
  30. [features]
  31. default = ["rev-sqlite"]
  32. http_sync = ["flowy-folder/cloud_sync", "flowy-document/cloud_sync"]
  33. native_sync = ["flowy-folder/cloud_sync", "flowy-document/cloud_sync"]
  34. use_bunyan = ["lib-log/use_bunyan"]
  35. dart = [
  36. "flowy-user/dart",
  37. "flowy-net/dart",
  38. "flowy-folder/dart",
  39. "flowy-database/dart",
  40. "flowy-document/dart",
  41. ]
  42. ts = [
  43. "flowy-user/ts",
  44. "flowy-net/ts",
  45. "flowy-folder/ts",
  46. "flowy-database/ts",
  47. "flowy-document/ts",
  48. ]
  49. rev-sqlite = [
  50. "flowy-sqlite",
  51. "flowy-user/rev-sqlite",
  52. "flowy-folder/rev-sqlite",
  53. "flowy-database/rev-sqlite",
  54. "flowy-document/rev-sqlite",
  55. ]
  56. openssl_vendored = ["flowy-sqlite/openssl_vendored"]