Cargo.toml 901 B

12345678910111213141516171819202122232425262728293031323334
  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. # for iOS it would be `rlib`
  10. # for Macos it would be `rlib`
  11. # for android it would be `c-dylib`
  12. # default rlib
  13. crate-type = ["rlib"]
  14. [dependencies]
  15. allo-isolate = {version = "^0.1", features = ["catch-unwind",]}
  16. byteorder = {version = "1.3.4"}
  17. ffi-support = {version = "0.4.2"}
  18. protobuf = {version = "2.20.0"}
  19. lazy_static = {version = "1.4.0"}
  20. tokio = { version = "1", features = ["sync"] }
  21. log = "0.4.14"
  22. serde = { version = "1.0", features = ["derive"] }
  23. serde_json = {version = "1.0"}
  24. flowy-sys = {path = "../flowy-sys"}
  25. flowy-sdk = {path = "../flowy-sdk"}
  26. flowy-log = {path = "../flowy-log"}
  27. #[features]
  28. #use_serde = ["bincode"]
  29. #use_protobuf= ["protobuf"]