Cargo.toml 890 B

123456789101112131415161718192021222324252627282930
  1. [package]
  2. name = "cashu-sdk-ffi"
  3. version = "0.1.0"
  4. edition = "2021"
  5. publish = false
  6. rust-version.workspace = true
  7. [lib]
  8. name = "cashu_sdk_ffi"
  9. crate-type = ["cdylib", "staticlib"]
  10. [dependencies]
  11. cashu-ffi = { path = "../cashu-ffi" }
  12. cashu-sdk = { path = "../../crates/cashu-sdk", default-features = false, features = ["wallet", "mint", "all-nuts"] }
  13. tracing = { workspace = true }
  14. tracing-subscriber = { workspace = true }
  15. uniffi = { workspace = true }
  16. futures = { version= "0.3.29", feature = "executor" }
  17. once_cell = { version = "1.17" }
  18. [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
  19. tokio = { workspace = true, features = ["rt-multi-thread", "time", "macros", "sync"] }
  20. [target.'cfg(target_arch = "wasm32")'.dependencies]
  21. tokio = { workspace = true, features = ["rt", "macros", "sync", "time"] }
  22. [build-dependencies]
  23. uniffi = { workspace = true, features = ["build"] }