Cargo.toml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 = ["nut07", "nut08", "nut10"]
  17. nut07 = []
  18. nut08 = []
  19. nut10 = []
  20. [dependencies]
  21. base64 = "0.21.0"
  22. bitcoin = { version = "0.30.0", features=["serde", "rand"] }
  23. # TODO: Should be optional
  24. bip39 = "2.0.0"
  25. bip32 = "0.5.1"
  26. hex = "0.4.3"
  27. k256 = { version = "0.13.1", features=["arithmetic", "serde", "schnorr"] }
  28. lightning-invoice = { version = "0.25.0", features=["serde"] }
  29. log = "0.4.2"
  30. rand = "0.8.5"
  31. getrandom = { version = "0.2", features = ["js"] }
  32. serde = { workspace = true }
  33. serde_json = { workspace = true }
  34. serde_with = "3.4.0"
  35. url = { workspace = true }
  36. regex = "1.8.4"
  37. itertools = "0.11.0"
  38. thiserror = { workspace = true }
  39. uuid = { version = "1.6.1", features = ["v4"] }
  40. [dev-dependencies]
  41. # tokio = {version = "1.27.0", features = ["rt", "macros"] }