Cargo.toml 690 B

12345678910111213141516171819202122232425262728
  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. license.workspace = true
  9. [features]
  10. default = ["mint", "wallet"]
  11. mint = []
  12. # Fix: Should be minreq or gloo
  13. wallet = ["minreq"]
  14. [dependencies]
  15. cashu = { path = "../cashu" }
  16. serde = { workspace = true }
  17. serde_json = { workspace = true }
  18. url = { workspace = true }
  19. tracing = { workspace = true }
  20. [target.'cfg(target_arch = "wasm32")'.dependencies]
  21. gloo = { version = "0.9.0", features = ["net"]}
  22. [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
  23. minreq = { version = "2.7.0", optional = true, features = ["json-using-serde", "https"] }