Cargo.toml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. [package]
  2. name = "cashu"
  3. version = "0.6.0"
  4. edition = "2021"
  5. description = "Cashu shared types and crypto utilities, used as the foundation for the CDK and their crates"
  6. rust-version = "1.63.0" # MSRV
  7. [features]
  8. swagger = ["dep:utoipa"]
  9. bench = []
  10. [dependencies]
  11. bitcoin = { version = "0.32.2", features = [
  12. "base64",
  13. "serde",
  14. "rand",
  15. "rand-std",
  16. ] }
  17. cbor-diag = "0.1.12"
  18. ciborium = { version = "0.2.2", default-features = false, features = ["std"] }
  19. once_cell = "1.20.2"
  20. serde = { version = "1", features = ["derive"] }
  21. lightning-invoice = { version = "0.32.0", features = ["serde", "std"] }
  22. thiserror = "2"
  23. tracing = "0.1"
  24. url = "2.3"
  25. uuid = { version = "1", features = ["v4", "serde"] }
  26. utoipa = { version = "4", optional = true }
  27. serde_json = "1"
  28. serde_with = "3"
  29. [target.'cfg(target_arch = "wasm32")'.dependencies]
  30. instant = { version = "0.1", features = ["wasm-bindgen", "inaccurate"] }
  31. [dev-dependencies]
  32. rand = "0.8.5"
  33. bip39 = "2.0"