Cargo.toml 1.5 KB

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