Cargo.toml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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 livewview example
  19. tide-websockets = "0.1.0"
  20. serde_millis = "0.1"
  21. serde_json = "1"
  22. serde = { version = "1", features = ['derive'] }
  23. # For the doc generator
  24. pulldown-cmark = { version = "0.8.0", default-features = false }
  25. dioxus-webview = { path = "../packages/webview", version = "0.0.0" }
  26. dioxus-hooks = { path = "../packages/hooks", version = "0.0.0" }
  27. # Shared functionality is done as a lib
  28. [lib]
  29. path = "common.rs"
  30. # ================================
  31. # Examples are manually keyed in
  32. # ================================
  33. [[example]]
  34. path = "example_app.rs"
  35. name = "example_app"
  36. [[example]]
  37. path = "website.rs"
  38. name = "website"
  39. # [[example]]
  40. # path = "hello_web.rs"
  41. # name = "hello_web"
  42. # [[example]]
  43. # path = "tide_ssr.rs"
  44. # name = "tide_ssr"
  45. # [[example]]
  46. # path = "doc_generator.rs"
  47. # name = "doc_generator"
  48. # [[example]]
  49. # path = "router.rs"
  50. # name = "router"
  51. # [[example]]
  52. # path = "fc_macro.rs"
  53. # name = "fc_macro"
  54. # [[example]]
  55. # path = "webview.rs"
  56. # name = "webview"
  57. # [[example]]
  58. # path = "blah.rs"
  59. # name = "blah"
  60. # [[example]]
  61. # path = "live.rs"
  62. # name = "live"