Cargo.toml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. [package]
  2. name = "cashu-crab"
  3. version = "0.4.0-ALPHA"
  4. edition = "2021"
  5. authors = ["thesimplekid"]
  6. license = "BSD-3-Clause"
  7. readme = "README.md"
  8. documentation = "https://docs.rs/crate/cashu-crab"
  9. repository = "https://github.com/thesimplekid/cashu-crab"
  10. description = "Cashu rust wallet and mint library"
  11. # exclude = ["integration_test"]
  12. #[workspace]
  13. #members = ["integration_test"]
  14. [features]
  15. default = ["mint", "wallet"]
  16. mint = []
  17. wallet = ["minreq"]
  18. [dependencies]
  19. base64 = "0.21.0"
  20. bitcoin = { version = "0.30.0", features=["serde", "rand", "no-std"] }
  21. bitcoin_hashes = "0.12.0"
  22. hex = "0.4.3"
  23. k256 = { version = "0.13.1", features=["arithmetic"] }
  24. lightning-invoice = { version = "0.24.0", features=["serde"] }
  25. rand = "0.8.5"
  26. getrandom = { version = "0.2", features = ["js"] }
  27. serde = { version = "1.0.160", features = ["derive"]}
  28. serde_json = "1.0.96"
  29. url = "2.3.1"
  30. regex = "1.8.4"
  31. log = "0.4.19"
  32. [target.'cfg(target_arch = "wasm32")'.dependencies]
  33. gloo = { version = "0.9.0", features = ["net"]}
  34. [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
  35. minreq = { version = "2.7.0", optional = true, features = ["json-using-serde", "https"] }
  36. [dev-dependencies]
  37. tokio = {version = "1.27.0", features = ["rt", "macros"] }