Cargo.toml 1.7 KB

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