Cargo.toml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. test = []
  16. bench = []
  17. wallet = ["cashu/wallet"]
  18. mint = ["cashu/mint", "dep:uuid"]
  19. auth = ["cashu/auth"]
  20. [dependencies]
  21. async-trait.workspace = true
  22. bitcoin.workspace = true
  23. cashu.workspace = true
  24. cbor-diag.workspace = true
  25. ciborium.workspace = true
  26. serde.workspace = true
  27. lightning-invoice.workspace = true
  28. thiserror.workspace = true
  29. tracing.workspace = true
  30. url.workspace = true
  31. uuid = { workspace = true, optional = true }
  32. utoipa = { workspace = true, optional = true }
  33. futures.workspace = true
  34. anyhow.workspace = true
  35. serde_json.workspace = true
  36. serde_with.workspace = true
  37. [target.'cfg(target_arch = "wasm32")'.dependencies]
  38. instant = { workspace = true, features = ["wasm-bindgen", "inaccurate"] }
  39. [dev-dependencies]
  40. rand.workspace = true
  41. bip39.workspace = true