Cargo.toml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. collab-define = { version = "0.1.0" }
  26. diesel = { version = "1.4.8", features = ["sqlite"] }
  27. uuid = { version = "1.3.3", features = ["v4"] }
  28. flowy-storage = { path = "../flowy-storage" }
  29. tracing = { version = "0.1", features = ["log"] }
  30. futures-core = { version = "0.3", default-features = false }
  31. bytes = "1.4"
  32. tokio = { version = "1.26", features = ["full"] }
  33. console-subscriber = { version = "0.1.8", optional = true }
  34. parking_lot = "0.12.1"
  35. lib-infra = { path = "../../../shared-lib/lib-infra" }
  36. serde = "1.0"
  37. serde_json = "1.0"
  38. serde_repr = "0.1"
  39. [features]
  40. default = ["rev-sqlite"]
  41. profiling = ["console-subscriber", "tokio/tracing"]
  42. http_sync = []
  43. native_sync = []
  44. use_bunyan = ["lib-log/use_bunyan"]
  45. dart = [
  46. "flowy-user/dart",
  47. "flowy-net/dart",
  48. "flowy-folder2/dart",
  49. "flowy-database2/dart",
  50. "flowy-document2/dart",
  51. "flowy-config/dart",
  52. ]
  53. ts = [
  54. "flowy-user/ts",
  55. "flowy-net/ts",
  56. "flowy-folder2/ts",
  57. "flowy-database2/ts",
  58. "flowy-document2/ts",
  59. "flowy-config/ts",
  60. ]
  61. rev-sqlite = [
  62. "flowy-user/rev-sqlite",
  63. ]
  64. openssl_vendored = ["flowy-sqlite/openssl_vendored"]