Cargo.toml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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 = "hello_web.rs"
  35. # name = "hello_web"
  36. # [[example]]
  37. # path = "tide_ssr.rs"
  38. # name = "tide_ssr"
  39. # [[example]]
  40. # path = "doc_generator.rs"
  41. # name = "doc_generator"
  42. # [[example]]
  43. # path = "router.rs"
  44. # name = "router"
  45. # [[example]]
  46. # path = "fc_macro.rs"
  47. # name = "fc_macro"
  48. # [[example]]
  49. # path = "webview.rs"
  50. # name = "webview"
  51. # [[example]]
  52. # path = "blah.rs"
  53. # name = "blah"
  54. # [[example]]
  55. # path = "live.rs"
  56. # name = "live"