Cargo.toml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. [package]
  2. name = "cdk-axum"
  3. version.workspace = true
  4. edition.workspace = true
  5. license.workspace = true
  6. homepage = "https://github.com/cashubtc/cdk"
  7. repository = "https://github.com/cashubtc/cdk.git"
  8. rust-version.workspace = true # MSRV
  9. description = "Cashu CDK axum webserver"
  10. readme = "README.md"
  11. [features]
  12. redis = ["dep:redis"]
  13. swagger = ["cdk/swagger", "dep:utoipa"]
  14. prometheus = ["dep:cdk-prometheus"]
  15. [dependencies]
  16. anyhow.workspace = true
  17. async-trait.workspace = true
  18. axum = { workspace = true, features = ["ws"] }
  19. cdk = { workspace = true, features = [
  20. "mint",
  21. ]}
  22. tokio.workspace = true
  23. tracing.workspace = true
  24. utoipa = { workspace = true, optional = true }
  25. futures.workspace = true
  26. cdk-prometheus = { workspace = true , optional = true}
  27. moka = { version = "0.12.10", features = ["future"] }
  28. serde_json.workspace = true
  29. paste = "1.0.15"
  30. serde.workspace = true
  31. uuid.workspace = true
  32. sha2 = "0.10.8"
  33. redis = { version = "0.31.0", features = [
  34. "tokio-rustls-comp",
  35. ], optional = true }
  36. [target.'cfg(target_arch = "wasm32")'.dependencies]
  37. uuid = { workspace = true, features = ["js"] }
  38. [lints]
  39. workspace = true