Cargo.toml 1.0 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. [features]
  11. default = ["auth"]
  12. redis = ["dep:redis"]
  13. swagger = ["cdk/swagger", "dep:utoipa"]
  14. auth = ["cdk/auth"]
  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. moka = { version = "0.11.1", features = ["future"] }
  27. serde_json.workspace = true
  28. paste = "1.0.15"
  29. serde.workspace = true
  30. uuid.workspace = true
  31. sha2 = "0.10.8"
  32. redis = { version = "0.23.3", features = [
  33. "tokio-rustls-comp",
  34. ], optional = true }
  35. [build-dependencies]
  36. # Dep of utopia 2.5.0 breaks so keeping here for now
  37. time = "=0.3.39"