Cargo.toml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. [package]
  2. name = "flowy-net"
  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. flowy-error = { path = "../flowy-error", features = ["adaptor_sync", "adaptor_reqwest", "adaptor_server_error"] }
  9. flowy-derive = { path = "../flowy-derive" }
  10. flowy-client-sync = { path = "../flowy-client-sync"}
  11. folder-model = { path = "../../../shared-lib/folder-model" }
  12. revision-model = { path = "../../../shared-lib/revision-model"}
  13. document-model = { path = "../../../shared-lib/document-model"}
  14. ws-model = { path = "../../../shared-lib/ws-model"}
  15. flowy-server-sync = { path = "../../../shared-lib/flowy-server-sync"}
  16. flowy-client-ws = { path = "../../../shared-lib/flowy-client-ws"}
  17. flowy-client-network-config= { path = "../../../shared-lib/flowy-client-network-config"}
  18. flowy-sync = { path = "../../../shared-lib/flowy-sync"}
  19. user-model = { path = "../../../shared-lib/user-model"}
  20. flowy-folder2 = { path = "../flowy-folder2" }
  21. flowy-document2 = { path = "../flowy-document2" }
  22. flowy-user = { path = "../flowy-user" }
  23. flowy-document = { path = "../flowy-document" }
  24. lazy_static = "1.4.0"
  25. lib-infra = { path = "../../../shared-lib/lib-infra" }
  26. protobuf = {version = "2.28.0"}
  27. lib-ws = { path = "../../../shared-lib/lib-ws" }
  28. bytes = { version = "1.4" }
  29. anyhow = "1.0"
  30. tokio = { version = "1.26", features = ["sync"]}
  31. parking_lot = "0.12.1"
  32. strum = "0.21"
  33. strum_macros = "0.21"
  34. tracing = { version = "0.1", features = ["log"] }
  35. dashmap = "5"
  36. async-stream = "0.3.4"
  37. futures-util = "0.3.26"
  38. reqwest = "0.11.14"
  39. hyper = "0.14"
  40. config = { version = "0.10.1", default-features = false, features = ["yaml"] }
  41. serde = { version = "1.0", features = ["derive"] }
  42. serde_json = "1.0"
  43. serde-aux = "1.1.0"
  44. nanoid = "0.4.0"
  45. thiserror = "1.0"
  46. [features]
  47. http_server = []
  48. dart = [
  49. "flowy-codegen/dart",
  50. "flowy-user/dart",
  51. "flowy-error/dart",
  52. ]
  53. ts = [
  54. "flowy-codegen/ts",
  55. "flowy-user/ts",
  56. "flowy-error/ts",
  57. ]
  58. [build-dependencies]
  59. flowy-codegen = { path = "../flowy-codegen"}