Cargo.toml 1.1 KB

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