Cargo.toml 1005 B

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. [features]
  20. collaboration = ["flowy-sync"]
  21. ot = ["lib-ot"]
  22. serde = ["serde_json"]
  23. http_server = ["http-flowy"]
  24. db = ["flowy-database", "r2d2"]
  25. dart = ["flowy-codegen/dart"]
  26. ts = ["flowy-codegen/ts"]
  27. [build-dependencies]
  28. flowy-codegen = { path = "../flowy-codegen", features = ["proto_gen"]}