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