Cargo.toml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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 = ["document"]}
  13. dioxus-cli-config = { workspace = true, features = ["read-config"], optional = true }
  14. dioxus-interpreter-js = { workspace = true }
  15. generational-box = { workspace = true }
  16. askama_escape = "0.10.3"
  17. thiserror = "1.0.23"
  18. rustc-hash = "1.1.0"
  19. lru = { workspace = true }
  20. tracing = { workspace = true }
  21. http = { workspace = true }
  22. async-trait = { workspace = true }
  23. serde_json = { workspace = true }
  24. chrono = { version = "0.4.34", optional = true }
  25. [target.'cfg(target_arch = "wasm32")'.dependencies]
  26. tokio = { version = "1.28", features = ["io-util"], optional = true }
  27. [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
  28. tokio = { version = "1.28", features = ["fs", "io-util"], optional = true }
  29. [dev-dependencies]
  30. dioxus = { workspace = true }
  31. dioxus-signals = { workspace = true }
  32. tokio = { version = "1", features = ["full"] }
  33. tracing = { workspace = true }
  34. fern = { version = "0.6.0", features = ["colored"] }
  35. anyhow = "1.0"
  36. argh = "0.1.4"
  37. serde = "1.0.120"
  38. serde_json = "1.0.61"
  39. fs_extra = "1.2.0"
  40. [features]
  41. default = []
  42. incremental = ["dep:tokio", "dep:chrono", "dep:dioxus-cli-config"]
  43. [package.metadata.docs.rs]
  44. cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]