Cargo.toml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. [package]
  2. name = "dart-ffi"
  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. [lib]
  7. name = "dart_ffi"
  8. # this value will change depending on the target os
  9. # default static lib
  10. crate-type = ["staticlib"]
  11. [dependencies]
  12. allo-isolate = { version = "^0.1", features = ["catch-unwind"] }
  13. byteorder = { version = "1.3.4" }
  14. ffi-support = { version = "0.4.2" }
  15. protobuf = { version = "2.20.0" }
  16. tokio = { version = "1", features = ["rt", "rt-multi-thread"] }
  17. log = "0.4.14"
  18. serde = { version = "1.0", features = ["derive"] }
  19. serde_json = { version = "1.0" }
  20. bytes = { version = "1.0" }
  21. once_cell = "1"
  22. crossbeam-utils = "0.8.7"
  23. lib-dispatch = { path = "../lib-dispatch" }
  24. flowy-sdk = { path = "../flowy-sdk" }
  25. dart-notify = { path = "../dart-notify" }
  26. flowy-derive = { path = "../../../shared-lib/flowy-derive" }
  27. [features]
  28. default = ["flowy-sdk/dart", "dart-notify/dart", "flutter"]
  29. flutter = []
  30. http_sync = ["flowy-sdk/http_sync", "flowy-sdk/use_bunyan"]
  31. openssl_vendored = ["flowy-sdk/openssl_vendored"]
  32. [build-dependencies]
  33. lib-infra = { path = "../../../shared-lib/lib-infra", features = [
  34. "protobuf_file_gen",
  35. "dart",
  36. ] }