Cargo.toml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 staticlib
  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. lazy_static = {version = "1.4.0"}
  17. tokio = { version = "1", features = ["rt", "rt-multi-thread"] }
  18. log = "0.4.14"
  19. serde = { version = "1.0", features = ["derive"] }
  20. serde_json = {version = "1.0"}
  21. bytes = { version = "1.0" }
  22. parking_lot = "0.11"
  23. flowy-dispatch = {path = "../flowy-dispatch"}
  24. flowy-sdk = {path = "../flowy-sdk"}
  25. flowy-derive = {path = "../flowy-derive"}
  26. flowy-dart-notify = {path = "../flowy-dart-notify" }
  27. flowy-net = {path = "../flowy-net"}
  28. [features]
  29. flutter = ["flowy-dart-notify/dart"]
  30. http_server = ["flowy-sdk/http_server", "flowy-sdk/use_bunyan"]
  31. #use_serde = ["bincode"]
  32. #use_protobuf= ["protobuf"]