Cargo.toml 1.1 KB

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