Cargo.toml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. [package]
  2. name = "cashu"
  3. version = "0.4.1-ALPHA"
  4. edition = "2021"
  5. authors = ["thesimplekid"]
  6. readme = "README.md"
  7. homepage.workspace = true
  8. repository.workspace = true
  9. license.workspace = true
  10. rust-version.workspace = true # MSRV
  11. description = "Cashu rust wallet and mint library"
  12. [features]
  13. default = ["mint", "wallet", "all-nuts"]
  14. mint = []
  15. wallet = []
  16. all-nuts = ["nut13"]
  17. nut13 = ["dep:bip39"]
  18. [dependencies]
  19. base64 = "0.21" # bitcoin uses v0.21 (optional dep)
  20. bip39 = { version = "2.0", optional = true }
  21. bitcoin = { version = "0.30", features = ["serde", "rand", "rand-std"] } # lightning-invoice uses v0.30
  22. lightning-invoice = { version = "0.29", features = ["serde"] }
  23. once_cell = "1.19"
  24. serde.workspace = true
  25. serde_json.workspace = true
  26. serde_with = "3.4"
  27. url.workspace = true
  28. thiserror.workspace = true
  29. tracing.workspace = true
  30. uuid = { version = "1.6", features = ["v4"] }
  31. [target.'cfg(target_arch = "wasm32")'.dependencies]
  32. getrandom.workspace = true
  33. instant = { version = "0.1", features = [ "wasm-bindgen", "inaccurate" ] }