Cargo.toml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. [package]
  2. name = "cashu"
  3. version = "0.7.1"
  4. edition.workspace = true
  5. authors = ["CDK Developers"]
  6. description = "Cashu shared types and crypto utilities, used as the foundation for the CDK and their crates"
  7. homepage = "https://github.com/cashubtc/cdk"
  8. repository = "https://github.com/cashubtc/cdk.git"
  9. rust-version = "1.75.0" # MSRV
  10. license.workspace = true
  11. [features]
  12. default = ["mint", "wallet", "auth"]
  13. swagger = ["dep:utoipa"]
  14. mint = ["dep:uuid"]
  15. wallet = []
  16. auth = ["dep:strum", "dep:strum_macros", "dep:regex"]
  17. bench = []
  18. [dependencies]
  19. uuid = { workspace = true, optional = true }
  20. bitcoin.workspace = true
  21. cbor-diag.workspace = true
  22. ciborium.workspace = true
  23. once_cell.workspace = true
  24. serde.workspace = true
  25. lightning-invoice.workspace = true
  26. thiserror.workspace = true
  27. tracing.workspace = true
  28. url.workspace = true
  29. utoipa = { workspace = true, optional = true }
  30. serde_json.workspace = true
  31. serde_with.workspace = true
  32. regex = { workspace = true, optional = true }
  33. strum = { workspace = true, optional = true }
  34. strum_macros = { workspace = true, optional = true }
  35. [target.'cfg(target_arch = "wasm32")'.dependencies]
  36. instant = { workspace = true, features = ["wasm-bindgen", "inaccurate"] }
  37. [dev-dependencies]
  38. bip39.workspace = true
  39. uuid.workspace = true