Cargo.toml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. [package]
  2. name = "cashu"
  3. version.workspace = true
  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.workspace = true # MSRV
  10. license.workspace = true
  11. readme = "README.md"
  12. [features]
  13. default = ["mint", "wallet", "auth"]
  14. swagger = ["dep:utoipa"]
  15. mint = ["dep:uuid"]
  16. wallet = []
  17. auth = ["dep:strum", "dep:strum_macros", "dep:regex"]
  18. bench = []
  19. [dependencies]
  20. uuid = { workspace = true, optional = true }
  21. bitcoin.workspace = true
  22. cbor-diag.workspace = true
  23. ciborium.workspace = true
  24. once_cell.workspace = true
  25. serde.workspace = true
  26. lightning-invoice.workspace = true
  27. lightning.workspace = true
  28. thiserror.workspace = true
  29. tracing.workspace = true
  30. url.workspace = true
  31. utoipa = { workspace = true, optional = true }
  32. serde_json.workspace = true
  33. serde_with.workspace = true
  34. regex = { workspace = true, optional = true }
  35. strum = { workspace = true, optional = true }
  36. strum_macros = { workspace = true, optional = true }
  37. [target.'cfg(target_arch = "wasm32")'.dependencies]
  38. instant = { workspace = true, features = ["wasm-bindgen", "inaccurate"] }
  39. [dev-dependencies]
  40. bip39.workspace = true
  41. uuid.workspace = true