Cargo.toml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. [package]
  2. name = "dioxus-ssr"
  3. version = { workspace = true }
  4. authors = ["Jonathan Kelley"]
  5. edition = "2021"
  6. description = "Dioxus render-to-string"
  7. license = "MIT OR Apache-2.0"
  8. repository = "https://github.com/DioxusLabs/dioxus/"
  9. keywords = ["dom", "ui", "gui", "react", "ssr"]
  10. [dependencies]
  11. dioxus-core = { workspace = true, features = ["serialize"] }
  12. dioxus-html = { workspace = true, features = ["eval"]}
  13. generational-box = { workspace = true }
  14. askama_escape = "0.10.3"
  15. thiserror = "1.0.23"
  16. rustc-hash = "1.1.0"
  17. lru = { workspace = true }
  18. tracing = { workspace = true }
  19. http = { workspace = true }
  20. async-trait = { workspace = true }
  21. serde_json = { workspace = true }
  22. chrono = { version = "0.4.34", optional = true }
  23. [target.'cfg(target_arch = "wasm32")'.dependencies]
  24. tokio = { version = "1.28", features = ["io-util"], optional = true }
  25. [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
  26. tokio = { version = "1.28", features = ["fs", "io-util"], optional = true }
  27. [dev-dependencies]
  28. dioxus = { workspace = true }
  29. dioxus-signals = { workspace = true }
  30. tracing = { workspace = true }
  31. fern = { version = "0.6.0", features = ["colored"] }
  32. anyhow = "1.0"
  33. argh = "0.1.4"
  34. serde = "1.0.120"
  35. serde_json = "1.0.61"
  36. fs_extra = "1.2.0"
  37. [features]
  38. default = []
  39. incremental = ["dep:tokio", "chrono"]