Cargo.toml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. [package]
  2. name = "cashu"
  3. version = "0.7.1"
  4. edition = "2021"
  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 = "1.63.0" # MSRV
  10. license = "MIT"
  11. [features]
  12. default = ["mint", "wallet"]
  13. swagger = ["dep:utoipa"]
  14. mint = ["dep:uuid"]
  15. wallet = []
  16. bench = []
  17. [dependencies]
  18. uuid = { version = "=1.12.1", features = ["v4", "serde"], optional = true }
  19. bitcoin = { version = "0.32.2", features = [
  20. "base64",
  21. "serde",
  22. "rand",
  23. "rand-std",
  24. ] }
  25. cbor-diag = "0.1.12"
  26. ciborium = { version = "0.2.2", default-features = false, features = ["std"] }
  27. once_cell = "1.20.2"
  28. serde = { version = "1", features = ["derive"] }
  29. lightning-invoice = { version = "0.32.0", features = ["serde", "std"] }
  30. thiserror = "2"
  31. tracing = "0.1"
  32. url = "2.3"
  33. utoipa = { version = "4", optional = true }
  34. serde_json = "1"
  35. serde_with = "3"
  36. [target.'cfg(target_arch = "wasm32")'.dependencies]
  37. instant = { version = "0.1", features = ["wasm-bindgen", "inaccurate"] }
  38. [dev-dependencies]
  39. bip39 = "2.0"
  40. uuid = { version = "=1.12.1", features = ["v4", "serde"] }