Cargo.toml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. [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. moka = { version = "0.11.1", 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.23.3", features = [
  34. "tokio-rustls-comp",
  35. ], optional = true }
  36. [build-dependencies]
  37. # Dep of utopia 2.5.0 breaks so keeping here for now
  38. time = "=0.3.39"