Cargo.toml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. [package]
  2. name = "flowy-server"
  3. version = "0.1.0"
  4. edition = "2021"
  5. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  6. [dependencies]
  7. tracing = { version = "0.1" }
  8. futures-util = "0.3.26"
  9. reqwest = "0.11.14"
  10. hyper = "0.14"
  11. config = { version = "0.10.1", default-features = false, features = ["yaml"] }
  12. serde = { version = "1.0", features = ["derive"] }
  13. serde_json = "1.0"
  14. serde-aux = "4.2.0"
  15. nanoid = "0.4.0"
  16. thiserror = "1.0"
  17. tokio = { version = "1.26", features = ["sync"]}
  18. parking_lot = "0.12"
  19. lazy_static = "1.4.0"
  20. bytes = "1.0.1"
  21. tokio-retry = "0.3"
  22. anyhow = "1.0"
  23. uuid = { version = "1.3.3", features = ["v4"] }
  24. chrono = { version = "0.4.22", default-features = false, features = ["clock"] }
  25. appflowy-integrate = { version = "0.1.0" }
  26. postgrest = "1.0"
  27. tokio-postgres = { version = "0.7.8", optional = true, features = ["with-uuid-1","with-chrono-0_4"] }
  28. deadpool-postgres = "0.10.5"
  29. refinery= { version = "0.8.10", optional = true, features = ["tokio-postgres"] }
  30. async-stream = "0.3.4"
  31. futures = "0.3.26"
  32. lib-infra = { path = "../../../shared-lib/lib-infra" }
  33. flowy-user = { path = "../flowy-user" }
  34. flowy-folder2 = { path = "../flowy-folder2" }
  35. flowy-database2 = { path = "../flowy-database2" }
  36. flowy-document2 = { path = "../flowy-document2" }
  37. flowy-error = { path = "../flowy-error" }
  38. flowy-server-config = { path = "../flowy-server-config" }
  39. collab-folder = { version = "0.1.0" }
  40. collab-document = { version = "0.1.0" }
  41. [dev-dependencies]
  42. uuid = { version = "1.3.3", features = ["v4"] }
  43. tracing-subscriber = { version = "0.3.3", features = ["env-filter"] }
  44. dotenv = "0.15.0"
  45. [features]
  46. default = ["postgres_storage"]
  47. postgres_storage = ["tokio-postgres", "refinery", ]