Cargo.toml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. [package]
  2. name = "dioxus-examples"
  3. version = "0.0.0"
  4. authors = ["Jonathan Kelley <jkelleyrtp@gmail.com>"]
  5. edition = "2018"
  6. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  7. [dependencies]
  8. fern = { version = "0.6.0", features = ["colored"] }
  9. log = "0.4.1"
  10. dioxus = { path = "../packages/dioxus" }
  11. dioxus-ssr = { path = "../packages/ssr" }
  12. rand = "0.8.2"
  13. anyhow = "*"
  14. [dev-dependencies]
  15. # For the tide ssr examples
  16. async-std = { version = "1.9.0", features = ["attributes"] }
  17. tide = { version = "0.15.0" }
  18. # For the doc generator
  19. pulldown-cmark = { version = "0.8.0", default-features = false }
  20. dioxus-webview = { path = "../packages/webview", version = "0.0.0" }
  21. dioxus-hooks = { path = "../packages/hooks", version = "0.0.0" }
  22. [lib]
  23. path = "common.rs"
  24. [[example]]
  25. path = "hello_web.rs"
  26. name = "hello_web"
  27. [[example]]
  28. path = "tide_ssr.rs"
  29. name = "tide_ssr"
  30. [[example]]
  31. path = "doc_generator.rs"
  32. name = "doc_generator"
  33. [[example]]
  34. path = "router.rs"
  35. name = "router"
  36. [[example]]
  37. path = "fc_macro.rs"
  38. name = "fc_macro"
  39. [[example]]
  40. path = "webview.rs"
  41. name = "webview"