Cargo.toml 2.0 KB

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