1
0

Cargo.toml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. [package]
  2. name = "axum-auth"
  3. version = "0.1.0"
  4. edition = "2021"
  5. publish = false
  6. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  7. [dependencies]
  8. dioxus-web = { workspace = true, features = ["hydrate"], optional = true }
  9. dioxus = { workspace = true }
  10. dioxus-fullstack = { workspace = true }
  11. axum = { version = "0.6.12", optional = true }
  12. tokio = { workspace = true, features = ["full"], optional = true }
  13. serde = "1.0.159"
  14. execute = "0.2.12"
  15. tower-http = { version = "0.4.1", features = ["auth"], optional = true }
  16. simple_logger = { version = "4.2.0", optional = true }
  17. async-trait = { version = "0.1.71", optional = true }
  18. sqlx = { version = "0.7.0", features = [
  19. "macros",
  20. "migrate",
  21. "postgres",
  22. "sqlite",
  23. "_unstable-all-types",
  24. "tls-rustls",
  25. "runtime-tokio",
  26. ], optional = true }
  27. anyhow = "1.0.71"
  28. http = { version = "0.2.9", optional = true }
  29. tower = { version = "0.4.13", optional = true }
  30. [dependencies.axum_session]
  31. version = "0.3.0"
  32. features = ["sqlite-rustls"]
  33. optional = true
  34. [dependencies.axum_session_auth]
  35. version = "0.3.0"
  36. features = ["sqlite-rustls"]
  37. optional = true
  38. [features]
  39. default = []
  40. ssr = ["axum", "tokio", "dioxus-fullstack/axum", "tower-http", "simple_logger", "async-trait", "sqlx", "axum_session", "axum_session_auth", "http", "tower"]
  41. web = ["dioxus-web"]