Cargo.toml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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-folder = { path = "../flowy-folder" }
  21. flowy-user = { path = "../flowy-user" }
  22. flowy-document = { path = "../flowy-document" }
  23. lazy_static = "1.4.0"
  24. lib-infra = { path = "../../../shared-lib/lib-infra" }
  25. protobuf = {version = "2.28.0"}
  26. lib-ws = { path = "../../../shared-lib/lib-ws" }
  27. bytes = { version = "1.4" }
  28. anyhow = "1.0"
  29. tokio = { version = "1.26", features = ["sync"]}
  30. parking_lot = "0.12.1"
  31. strum = "0.21"
  32. strum_macros = "0.21"
  33. tracing = { version = "0.1", features = ["log"] }
  34. dashmap = "5"
  35. async-stream = "0.3.4"
  36. futures-util = "0.3.26"
  37. reqwest = "0.11.14"
  38. hyper = "0.14"
  39. config = { version = "0.10.1", default-features = false, features = ["yaml"] }
  40. serde = { version = "1.0", features = ["derive"] }
  41. serde_json = "1.0"
  42. serde-aux = "1.1.0"
  43. nanoid = "0.4.0"
  44. thiserror = "1.0"
  45. [features]
  46. http_server = []
  47. dart = [
  48. "flowy-codegen/dart",
  49. "flowy-user/dart",
  50. "flowy-error/dart",
  51. ]
  52. ts = [
  53. "flowy-codegen/ts",
  54. "flowy-user/ts",
  55. "flowy-error/ts",
  56. ]
  57. [build-dependencies]
  58. flowy-codegen = { path = "../flowy-codegen"}