Cargo.toml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. [package]
  2. name = "flowy-sdk"
  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. lib-dispatch = { path = "../lib-dispatch" }
  8. lib-log = { path = "../lib-log" }
  9. flowy-user = { path = "../flowy-user" }
  10. flowy-workspace = { path = "../flowy-workspace", default-features = false }
  11. flowy-database = { path = "../flowy-database" }
  12. flowy-document = { path = "../flowy-document" }
  13. lib-infra = { path = "../lib-infra" }
  14. tracing = { version = "0.1" }
  15. log = "0.4.14"
  16. futures-core = { version = "0.3", default-features = false }
  17. color-eyre = { version = "0.5", default-features = false }
  18. bytes = "1.0"
  19. tokio = { version = "1", features = ["rt"] }
  20. parking_lot = "0.11"
  21. flowy-document-infra = { path = "../../../shared-lib/flowy-document-infra" }
  22. lib-ws = { path = "../../../shared-lib/lib-ws" }
  23. backend-service = { path = "../../../shared-lib/backend-service" }
  24. [dev-dependencies]
  25. serde = { version = "1.0", features = ["derive"] }
  26. bincode = { version = "1.3"}
  27. protobuf = {version = "2.24.1"}
  28. claim = "0.5.0"
  29. tokio = { version = "1", features = ["full"]}
  30. futures-util = "0.3.15"
  31. [features]
  32. http_server = ["flowy-user/http_server", "flowy-workspace/http_server", "flowy-document/http_server"]
  33. use_bunyan = ["lib-log/use_bunyan"]