Cargo.toml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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", "nut09", "nut10", "nut11", "nut12", "nut13"]
  17. nut07 = []
  18. nut08 = []
  19. nut09 = []
  20. nut10 = []
  21. nut11 = ["nut10"]
  22. nut12 = []
  23. nut13 = ["dep:bip39", "dep:bip32", "nut09"]
  24. [dependencies]
  25. base64 = "0.22.0"
  26. bitcoin = { version = "0.31.0", features=["serde", "rand"] }
  27. bip39 = { version = "2.0.0", optional = true }
  28. bip32 = { version = "0.5.1", optional = true }
  29. hex = "0.4.3"
  30. k256 = { version = "0.13.1", features=["arithmetic", "serde", "schnorr"] }
  31. lightning-invoice = { version = "0.29.0", features=["serde"] }
  32. log = "0.4.2"
  33. rand = "0.8.5"
  34. serde = { workspace = true }
  35. serde_json = { workspace = true }
  36. serde_with = "3.4.0"
  37. url = { workspace = true }
  38. itertools = "0.12.0"
  39. thiserror = { workspace = true }
  40. uuid = { version = "1.6.1", features = ["v4"] }
  41. [target.'cfg(target_arch = "wasm32")'.dependencies]
  42. getrandom = { workspace = true }
  43. [dev-dependencies]
  44. # tokio = {version = "1.27.0", features = ["rt", "macros"] }