Cargo.toml 1.1 KB

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