Cargo.toml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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.4.3" }
  14. protobuf = { version = "2.28.0" }
  15. tokio = { version = "1.26", features = ["full", "rt-multi-thread", "tracing"] }
  16. log = "0.4.17"
  17. serde = { version = "1.0", features = ["derive"] }
  18. serde_json = { version = "1.0" }
  19. bytes = { version = "1.4" }
  20. crossbeam-utils = "0.8.15"
  21. lazy_static = "1.4.0"
  22. parking_lot = "0.12.1"
  23. tracing = { version = "0.1", features = ["log"] }
  24. lib-dispatch = { path = "../lib-dispatch" }
  25. flowy-core = { path = "../flowy-core" }
  26. flowy-notification = { path = "../flowy-notification" }
  27. flowy-derive = { path = "../flowy-derive" }
  28. [features]
  29. default = ["dart", "rev-sqlite"]
  30. dart = ["flowy-core/dart"]
  31. rev-sqlite = ["flowy-core/rev-sqlite"]
  32. http_sync = ["flowy-core/http_sync", "flowy-core/use_bunyan"]
  33. openssl_vendored = ["flowy-core/openssl_vendored"]
  34. [build-dependencies]
  35. flowy-codegen = { path = "../flowy-codegen", features = ["dart"] }