Cargo.toml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. [package]
  2. name = "cashu-sdk"
  3. version = "0.1.0"
  4. edition = "2021"
  5. authors = ["thesimplekid"]
  6. homepage.workspace = true
  7. repository.workspace = true
  8. rust-version.workspace = true # MSRV
  9. license.workspace = true
  10. [features]
  11. default = ["mint", "wallet"]
  12. mint = ["cashu/mint"]
  13. blocking = ["dep:once_cell"]
  14. wallet = ["cashu/wallet", "dep:minreq", "dep:once_cell"]
  15. [dependencies]
  16. cashu = { path = "../cashu" }
  17. serde = { workspace = true }
  18. serde_json = { workspace = true }
  19. url = { workspace = true }
  20. tracing = { workspace = true }
  21. futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] }
  22. once_cell = { version = "1.17", optional = true }
  23. [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
  24. tokio = { workspace = true, features = ["rt-multi-thread", "time", "macros", "sync"] }
  25. minreq = { version = "2.7.0", optional = true, features = ["json-using-serde", "https"] }
  26. [target.'cfg(target_arch = "wasm32")'.dependencies]
  27. tokio = { workspace = true, features = ["rt", "macros", "sync", "time"] }
  28. gloo = { version = "0.10.0", features = ["net"]}