Cargo.toml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. default = ["auth"]
  13. redis = ["dep:redis"]
  14. swagger = ["cdk/swagger", "dep:utoipa"]
  15. auth = ["cdk/auth"]
  16. prometheus = ["dep:cdk-prometheus"]
  17. [dependencies]
  18. anyhow.workspace = true
  19. async-trait.workspace = true
  20. axum = { workspace = true, features = ["ws"] }
  21. cdk = { workspace = true, features = [
  22. "mint",
  23. ]}
  24. tokio.workspace = true
  25. tracing.workspace = true
  26. utoipa = { workspace = true, optional = true }
  27. futures.workspace = true
  28. cdk-prometheus = { workspace = true , optional = true}
  29. moka = { version = "0.12.10", features = ["future"] }
  30. serde_json.workspace = true
  31. paste = "1.0.15"
  32. serde.workspace = true
  33. uuid.workspace = true
  34. sha2 = "0.10.8"
  35. redis = { version = "0.31.0", features = [
  36. "tokio-rustls-comp",
  37. ], optional = true }
  38. [target.'cfg(target_arch = "wasm32")'.dependencies]
  39. uuid = { workspace = true, features = ["js"] }