Cargo.toml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. [package]
  2. name = "cdk-common"
  3. version.workspace = true
  4. authors = ["CDK Developers"]
  5. description = "CDK common types and traits"
  6. homepage = "https://github.com/cashubtc/cdk"
  7. repository = "https://github.com/cashubtc/cdk.git"
  8. edition.workspace = true
  9. rust-version.workspace = true # MSRV
  10. license.workspace = true
  11. readme = "README.md"
  12. [features]
  13. default = ["mint", "wallet"]
  14. swagger = ["dep:utoipa", "cashu/swagger"]
  15. bench = []
  16. wallet = ["cashu/wallet"]
  17. mint = ["cashu/mint", "dep:uuid"]
  18. auth = ["cashu/auth"]
  19. [dependencies]
  20. async-trait.workspace = true
  21. bitcoin.workspace = true
  22. cashu.workspace = true
  23. cbor-diag.workspace = true
  24. ciborium.workspace = true
  25. serde.workspace = true
  26. lightning-invoice.workspace = true
  27. thiserror.workspace = true
  28. tracing.workspace = true
  29. url.workspace = true
  30. uuid = { workspace = true, optional = true }
  31. utoipa = { workspace = true, optional = true }
  32. futures.workspace = true
  33. anyhow.workspace = true
  34. serde_json.workspace = true
  35. serde_with.workspace = true
  36. [target.'cfg(target_arch = "wasm32")'.dependencies]
  37. instant = { workspace = true, features = ["wasm-bindgen", "inaccurate"] }
  38. [dev-dependencies]
  39. rand.workspace = true
  40. bip39.workspace = true