Cargo.toml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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-net = { path = "../flowy-net" }
  11. flowy-folder = { path = "../flowy-folder", default-features = false }
  12. flowy-grid = { path = "../flowy-grid", default-features = false }
  13. flowy-database = { path = "../flowy-database" }
  14. flowy-block = { path = "../flowy-block" }
  15. flowy-sync = { path = "../flowy-sync" }
  16. tracing = { version = "0.1" }
  17. log = "0.4.14"
  18. futures-core = { version = "0.3", default-features = false }
  19. color-eyre = { version = "0.5", default-features = false }
  20. bytes = "1.0"
  21. tokio = { version = "1", features = ["rt"] }
  22. parking_lot = "0.11"
  23. flowy-collaboration = { path = "../../../shared-lib/flowy-collaboration" }
  24. lib-ws = { path = "../../../shared-lib/lib-ws" }
  25. lib-infra = { path = "../../../shared-lib/lib-infra" }
  26. [dev-dependencies]
  27. serde = { version = "1.0", features = ["derive"] }
  28. bincode = { version = "1.3"}
  29. protobuf = {version = "2.24.1"}
  30. claim = "0.5.0"
  31. tokio = { version = "1", features = ["full"]}
  32. futures-util = "0.3.15"
  33. [features]
  34. http_server = ["flowy-user/http_server", "flowy-folder/http_server", "flowy-block/http_server"]
  35. use_bunyan = ["lib-log/use_bunyan"]
  36. dart = ["flowy-user/dart", "flowy-net/dart", "flowy-folder/dart", "flowy-collaboration/dart", "flowy-grid/dart"]