Cargo.toml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. thiserror.workspace = true
  28. tracing.workspace = true
  29. url.workspace = true
  30. utoipa = { workspace = true, optional = true }
  31. serde_json.workspace = true
  32. serde_with.workspace = true
  33. regex = { workspace = true, optional = true }
  34. strum = { workspace = true, optional = true }
  35. strum_macros = { workspace = true, optional = true }
  36. [target.'cfg(target_arch = "wasm32")'.dependencies]
  37. instant = { workspace = true, features = ["wasm-bindgen", "inaccurate"] }
  38. [dev-dependencies]
  39. bip39.workspace = true
  40. uuid.workspace = true