Cargo.toml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. grid-rev-model = { path = "../../../shared-lib/grid-rev-model" }
  14. flowy-database = { path = "../flowy-database" }
  15. flowy-document = { path = "../flowy-document", default-features = false }
  16. flowy-revision = { path = "../flowy-revision" }
  17. tracing = { version = "0.1" }
  18. futures-core = { version = "0.3", default-features = false }
  19. bytes = "1.0"
  20. tokio = { version = "1", features = ["rt"] }
  21. parking_lot = "0.12.1"
  22. flowy-http-model = { path = "../../../shared-lib/flowy-http-model" }
  23. lib-ws = { path = "../../../shared-lib/lib-ws" }
  24. lib-infra = { path = "../../../shared-lib/lib-infra" }
  25. [features]
  26. http_sync = ["flowy-folder/cloud_sync", "flowy-document/cloud_sync"]
  27. native_sync = ["flowy-folder/cloud_sync", "flowy-document/cloud_sync"]
  28. use_bunyan = ["lib-log/use_bunyan"]
  29. dart = [
  30. "flowy-user/dart",
  31. "flowy-net/dart",
  32. "flowy-folder/dart",
  33. "flowy-grid/dart",
  34. "flowy-document/dart",
  35. ]
  36. openssl_vendored = ["flowy-database/openssl_vendored"]