Cargo.toml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. [package]
  2. name = "cdk-axum"
  3. version = "0.6.0"
  4. edition = "2021"
  5. license = "MIT"
  6. homepage = "https://github.com/cashubtc/cdk"
  7. repository = "https://github.com/cashubtc/cdk.git"
  8. rust-version = "1.63.0" # MSRV
  9. description = "Cashu CDK axum webserver"
  10. [dependencies]
  11. anyhow = "1"
  12. async-trait = "0.1.83"
  13. axum = { version = "0.6.20", features = ["ws"] }
  14. cdk = { path = "../cdk", version = "0.6.0", default-features = false, features = [
  15. "mint",
  16. ] }
  17. tokio = { version = "1", default-features = false, features = ["io-util"] }
  18. tracing = { version = "0.1", default-features = false, features = [
  19. "attributes",
  20. "log",
  21. ] }
  22. utoipa = { version = "4", features = [
  23. "preserve_order",
  24. "preserve_path_order",
  25. ], optional = true }
  26. futures = { version = "0.3.28", default-features = false }
  27. moka = { version = "0.11.1", features = ["future"] }
  28. serde_json = "1"
  29. paste = "1.0.15"
  30. serde = { version = "1.0.210", features = ["derive"] }
  31. uuid = { version = "1", features = ["v4", "serde"] }
  32. sha2 = "0.10.8"
  33. redis = { version = "0.23.3", features = [
  34. "tokio-rustls-comp",
  35. ], optional = true }
  36. [features]
  37. redis = ["dep:redis"]
  38. swagger = ["cdk/swagger", "dep:utoipa"]