Cargo.toml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. serde_with = "3.4.0"
  34. url = { workspace = true }
  35. regex = "1.8.4"
  36. itertools = "0.11.0"
  37. thiserror = { workspace = true }
  38. uuid = { version = "1.6.1", features = ["v4"] }
  39. [dev-dependencies]
  40. # tokio = {version = "1.27.0", features = ["rt", "macros"] }