Cargo.toml 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. [package]
  2. name = "flowy-error"
  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. flowy-derive = { path = "../../../shared-lib/flowy-derive" }
  8. error-code = { path = "../../../shared-lib/error-code"}
  9. lib-dispatch = { path = "../lib-dispatch" }
  10. protobuf = {version = "2.20.0"}
  11. bytes = "1.0"
  12. flowy-collaboration = { path = "../../../shared-lib/flowy-collaboration", optional = true}
  13. lib-ot = { path = "../../../shared-lib/lib-ot", optional = true}
  14. serde_json = {version = "1.0", optional = true}
  15. http-flowy = { git = "https://github.com/AppFlowy-IO/AppFlowy-Server", optional = true}
  16. flowy-database = { path = "../flowy-database", optional = true}
  17. r2d2 = { version = "0.8", optional = true}
  18. lib-sqlite = { path = "../lib-sqlite", optional = true }
  19. [features]
  20. collaboration = ["flowy-collaboration"]
  21. ot = ["lib-ot"]
  22. serde = ["serde_json"]
  23. http_server = ["http-flowy"]
  24. db = ["flowy-database", "lib-sqlite", "r2d2"]
  25. dart = ["error-code/dart", "lib-infra/dart"]
  26. [build-dependencies]
  27. lib-infra = { path = "../../../shared-lib/lib-infra", features = ["pb_gen"] }