dioxus.toml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. [application]
  2. # dioxus project name
  3. name = "{{project-name}}"
  4. # default platform
  5. # you can also use `dx serve/build --platform XXX` to use other platform
  6. # value: web | desktop
  7. default_platform = "{{default-platform}}"
  8. # Web `build` & `serve` dist path
  9. out_dir = "dist"
  10. # resource (static) file folder
  11. asset_dir = "public"
  12. # hot reload by default
  13. hot_reload = true
  14. [web.wasm_opt]
  15. # The level wasm-opt should target. z is the smallest. 4 is the fastest.
  16. level = "4"
  17. [web.app]
  18. # HTML title tag content
  19. title = "Dioxus | An elegant GUI library for Rust"
  20. [web.watcher]
  21. index_on_404 = true
  22. watch_path = ["src", "examples"]
  23. [bundler]
  24. # Bundle identifier
  25. identifier = "io.github.{{project-name}}"
  26. # Bundle publisher
  27. publisher = "{{project-name}}"
  28. # Bundle icon
  29. icon = ["icons/icon.png"]
  30. # Bundle resources
  31. resources = ["public/*"]
  32. # Bundle copyright
  33. copyright = ""
  34. # Bundle category
  35. category = "Utility"
  36. # Bundle short description
  37. short_description = "An amazing dioxus application."
  38. # Bundle long description
  39. long_description = """
  40. An amazing dioxus application.
  41. """