Cargo.toml 1.0 KB

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