Cargo.toml 1.6 KB

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