Cargo.toml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. [lib]
  22. path = "common.rs"
  23. [[example]]
  24. path = "hello.rs"
  25. name = "hello"
  26. [[example]]
  27. path = "tide_ssr.rs"
  28. name = "tide_ssr"
  29. [[example]]
  30. path = "doc_generator.rs"
  31. name = "doc_generator"
  32. [[example]]
  33. path = "router.rs"
  34. name = "router"
  35. [[example]]
  36. path = "fc_macro.rs"
  37. name = "fc_macro"
  38. [[example]]
  39. path = "webview.rs"
  40. name = "webview"