Cargo.toml 1.0 KB

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