Cargo.toml 1008 B

1234567891011121314151617181920212223242526272829
  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. backend-service = { path = "../../../shared-lib/backend-service", 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. backend = ["backend-service"]
  24. db = ["flowy-database", "lib-sqlite", "r2d2"]