Cargo.toml 1.0 KB

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