Cargo.toml 1.8 KB

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