Cargo.toml 1.5 KB

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