Cargo.toml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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-user-deps = { path = "../flowy-user-deps" }
  11. flowy-net = { path = "../flowy-net" }
  12. flowy-folder2 = { path = "../flowy-folder2" }
  13. flowy-folder-deps = { path = "../flowy-folder-deps" }
  14. flowy-database2 = { path = "../flowy-database2" }
  15. flowy-database-deps = { path = "../flowy-database-deps" }
  16. flowy-sqlite = { path = "../flowy-sqlite" }
  17. flowy-document2 = { path = "../flowy-document2" }
  18. flowy-document-deps = { path = "../flowy-document-deps" }
  19. flowy-error = { path = "../flowy-error" }
  20. flowy-task = { path = "../flowy-task" }
  21. flowy-server = { path = "../flowy-server" }
  22. flowy-server-config = { path = "../flowy-server-config" }
  23. flowy-config = { path = "../flowy-config" }
  24. appflowy-integrate = { version = "0.1.0", features = ["postgres_storage_plugin", "snapshot_plugin"] }
  25. diesel = { version = "1.4.8", features = ["sqlite"] }
  26. uuid = { version = "1.3.3", features = ["v4"] }
  27. flowy-storage = { path = "../flowy-storage" }
  28. tracing = { version = "0.1", features = ["log"] }
  29. futures-core = { version = "0.3", default-features = false }
  30. bytes = "1.4"
  31. tokio = { version = "1.26", features = ["full"] }
  32. console-subscriber = { version = "0.1.8", optional = true }
  33. parking_lot = "0.12.1"
  34. lib-infra = { path = "../../../shared-lib/lib-infra" }
  35. serde = "1.0"
  36. serde_json = "1.0"
  37. serde_repr = "0.1"
  38. [features]
  39. default = ["rev-sqlite"]
  40. profiling = ["console-subscriber", "tokio/tracing"]
  41. http_sync = []
  42. native_sync = []
  43. use_bunyan = ["lib-log/use_bunyan"]
  44. dart = [
  45. "flowy-user/dart",
  46. "flowy-net/dart",
  47. "flowy-folder2/dart",
  48. "flowy-database2/dart",
  49. "flowy-document2/dart",
  50. "flowy-config/dart",
  51. ]
  52. ts = [
  53. "flowy-user/ts",
  54. "flowy-net/ts",
  55. "flowy-folder2/ts",
  56. "flowy-database2/ts",
  57. "flowy-document2/ts",
  58. "flowy-config/ts",
  59. ]
  60. rev-sqlite = [
  61. "flowy-user/rev-sqlite",
  62. ]
  63. openssl_vendored = ["flowy-sqlite/openssl_vendored"]