Cargo.toml 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602
  1. [workspace]
  2. resolver = "2"
  3. members = [
  4. "packages/dioxus",
  5. "packages/dioxus-lib",
  6. "packages/core",
  7. "packages/core-types",
  8. "packages/cli",
  9. "packages/cli-opt",
  10. "packages/core-types",
  11. "packages/core-macro",
  12. "packages/config-macro",
  13. "packages/router-macro",
  14. "packages/extension",
  15. "packages/router",
  16. "packages/html",
  17. "packages/html-internal-macro",
  18. "packages/hooks",
  19. "packages/web",
  20. "packages/ssr",
  21. "packages/desktop",
  22. "packages/mobile",
  23. "packages/interpreter",
  24. "packages/liveview",
  25. "packages/autofmt",
  26. "packages/check",
  27. "packages/cli-config",
  28. "packages/cli",
  29. "packages/config-macro",
  30. "packages/core-macro",
  31. "packages/core-types",
  32. "packages/core",
  33. "packages/desktop",
  34. "packages/devtools-types",
  35. "packages/devtools",
  36. "packages/dioxus-lib",
  37. "packages/dioxus",
  38. "packages/document",
  39. "packages/extension",
  40. "packages/fullstack",
  41. "packages/fullstack-hooks",
  42. "packages/fullstack-protocol",
  43. "packages/generational-box",
  44. "packages/history",
  45. "packages/hooks",
  46. "packages/html-internal-macro",
  47. "packages/html",
  48. "packages/interpreter",
  49. "packages/lazy-js-bundle",
  50. "packages/liveview",
  51. "packages/mobile",
  52. "packages/router-macro",
  53. "packages/router",
  54. "packages/rsx-hotreload",
  55. "packages/rsx-rosetta",
  56. "packages/rsx",
  57. "packages/server-macro",
  58. "packages/signals",
  59. "packages/ssr",
  60. "packages/lazy-js-bundle",
  61. "packages/cli-config",
  62. "packages/devtools",
  63. "packages/devtools-types",
  64. "packages/isrg",
  65. "packages/rsx-hotreload",
  66. "packages/const-serialize",
  67. "packages/const-serialize-macro",
  68. "packages/dx-wire-format",
  69. "packages/logger",
  70. "packages/config-macros",
  71. "packages/native",
  72. "packages/asset-resolver",
  73. "packages/depinfo",
  74. "packages/server",
  75. # Playwright tests
  76. "packages/playwright-tests/liveview",
  77. "packages/playwright-tests/web",
  78. "packages/playwright-tests/fullstack",
  79. "packages/playwright-tests/suspense-carousel",
  80. "packages/playwright-tests/nested-suspense",
  81. # manganis
  82. "packages/manganis/manganis",
  83. "packages/manganis/manganis-core",
  84. "packages/manganis/manganis-macro",
  85. # wasm-split
  86. "packages/wasm-split/wasm-split",
  87. "packages/wasm-split/wasm-split-macro",
  88. "packages/wasm-split/wasm-split-cli",
  89. "packages/wasm-split/wasm-used",
  90. # subsecond
  91. "packages/subsecond/subsecond",
  92. "packages/subsecond/subsecond-types",
  93. # Full project examples
  94. "example-projects/fullstack-hackernews",
  95. "example-projects/ecommerce-site",
  96. "example-projects/wifi-scanner",
  97. "example-projects/file-explorer",
  98. # Simple examples that require a crate
  99. "examples/tailwind",
  100. "examples/pwa",
  101. "examples/fullstack-hello-world",
  102. "examples/fullstack-router",
  103. "examples/fullstack-streaming",
  104. "examples/fullstack-desktop",
  105. "examples/fullstack-auth",
  106. "examples/fullstack-websockets",
  107. # Playwright tests
  108. "packages/playwright-tests/liveview",
  109. "packages/playwright-tests/web",
  110. "packages/playwright-tests/web-routing",
  111. "packages/playwright-tests/barebones-template",
  112. "packages/playwright-tests/fullstack",
  113. "packages/playwright-tests/fullstack-mounted",
  114. "packages/playwright-tests/fullstack-routing",
  115. "packages/playwright-tests/suspense-carousel",
  116. "packages/playwright-tests/nested-suspense",
  117. "packages/playwright-tests/cli-optimization",
  118. "packages/playwright-tests/wasm-split-harness",
  119. "packages/playwright-tests/default-features-disabled",
  120. ]
  121. [workspace.package]
  122. version = "0.7.0-alpha.0"
  123. # dependencies that are shared across packages
  124. [workspace.dependencies]
  125. dioxus = { path = "packages/dioxus", version = "0.7.0-alpha.0" }
  126. dioxus-lib = { path = "packages/dioxus-lib", version = "0.7.0-alpha.0" }
  127. dioxus-core = { path = "packages/core", version = "0.7.0-alpha.0" }
  128. dioxus-core-types = { path = "packages/core-types", version = "0.7.0-alpha.0" }
  129. dioxus-core-macro = { path = "packages/core-macro", version = "0.7.0-alpha.0" }
  130. dioxus-config-macro = { path = "packages/config-macro", version = "0.7.0-alpha.0" }
  131. dioxus-router = { path = "packages/router", version = "0.7.0-alpha.0" }
  132. dioxus-router-macro = { path = "packages/router-macro", version = "0.7.0-alpha.0" }
  133. dioxus-document = { path = "packages/document", version = "0.7.0-alpha.0", default-features = false }
  134. dioxus-history = { path = "packages/history", version = "0.7.0-alpha.0", default-features = false }
  135. dioxus-html = { path = "packages/html", version = "0.7.0-alpha.0", default-features = false }
  136. dioxus-html-internal-macro = { path = "packages/html-internal-macro", version = "0.7.0-alpha.0" }
  137. dioxus-hooks = { path = "packages/hooks", version = "0.7.0-alpha.0" }
  138. dioxus-web = { path = "packages/web", version = "0.7.0-alpha.0", default-features = false }
  139. dioxus-isrg = { path = "packages/isrg", version = "0.7.0-alpha.0" }
  140. dioxus-ssr = { path = "packages/ssr", version = "0.7.0-alpha.0", default-features = false }
  141. dioxus-desktop = { path = "packages/desktop", version = "0.7.0-alpha.0", default-features = false }
  142. dioxus-mobile = { path = "packages/mobile", version = "0.7.0-alpha.0" }
  143. dioxus-interpreter-js = { path = "packages/interpreter", version = "0.7.0-alpha.0" }
  144. dioxus-liveview = { path = "packages/liveview", version = "0.7.0-alpha.0" }
  145. dioxus-autofmt = { path = "packages/autofmt", version = "0.7.0-alpha.0" }
  146. dioxus-check = { path = "packages/check", version = "0.7.0-alpha.0" }
  147. dioxus-rsx = { path = "packages/rsx", version = "0.7.0-alpha.0" }
  148. dioxus-rsx-hotreload = { path = "packages/rsx-hotreload", version = "0.7.0-alpha.0" }
  149. dioxus-rsx-rosetta = { path = "packages/rsx-rosetta", version = "0.7.0-alpha.0" }
  150. dioxus-signals = { path = "packages/signals", version = "0.7.0-alpha.0" }
  151. dioxus-cli-config = { path = "packages/cli-config", version = "0.7.0-alpha.0" }
  152. dioxus-cli-opt = { path = "packages/cli-opt", version = "0.7.0-alpha.0" }
  153. dioxus-devtools = { path = "packages/devtools", version = "0.7.0-alpha.0" }
  154. dioxus-devtools-types = { path = "packages/devtools-types", version = "0.7.0-alpha.0" }
  155. dioxus-server = { path = "packages/server", version = "0.7.0-alpha.0" }
  156. dioxus-fullstack = { path = "packages/fullstack", version = "0.7.0-alpha.0" }
  157. dioxus-fullstack-hooks = { path = "packages/fullstack-hooks", version = "0.7.0-alpha.0" }
  158. dioxus-fullstack-protocol = { path = "packages/fullstack-protocol", version = "0.7.0-alpha.0" }
  159. dioxus_server_macro = { path = "packages/server-macro", version = "0.7.0-alpha.0", default-features = false }
  160. dioxus-dx-wire-format = { path = "packages/dx-wire-format", version = "0.7.0-alpha.0" }
  161. dioxus-logger = { path = "packages/logger", version = "0.7.0-alpha.0" }
  162. dioxus-native = { path = "packages/native", version = "0.7.0-alpha.0" }
  163. dioxus-asset-resolver = { path = "packages/asset-resolver", version = "0.7.0-alpha.0" }
  164. dioxus-config-macros = { path = "packages/config-macros", version = "0.7.0-alpha.0" }
  165. const-serialize = { path = "packages/const-serialize", version = "0.7.0-alpha.0" }
  166. const-serialize-macro = { path = "packages/const-serialize-macro", version = "0.7.0-alpha.0" }
  167. generational-box = { path = "packages/generational-box", version = "0.7.0-alpha.0" }
  168. lazy-js-bundle = { path = "packages/lazy-js-bundle", version = "0.7.0-alpha.0" }
  169. # subsecond
  170. subsecond-types = { path = "packages/subsecond/subsecond-types", version = "0.7.0-alpha.0" }
  171. subsecond = { path = "packages/subsecond/subsecond", version = "0.7.0-alpha.0" }
  172. # manganis
  173. manganis = { path = "packages/manganis/manganis", version = "0.7.0-alpha.0" }
  174. manganis-core = { path = "packages/manganis/manganis-core", version = "0.7.0-alpha.0" }
  175. manganis-macro = { path = "packages/manganis/manganis-macro", version = "0.7.0-alpha.0" }
  176. # wasm-split
  177. wasm-splitter = { path = "packages/wasm-split/wasm-split", version = "0.7.0-alpha.0" }
  178. wasm-split-macro = { path = "packages/wasm-split/wasm-split-macro", version = "0.7.0-alpha.0" }
  179. wasm-split-cli = { path = "packages/wasm-split/wasm-split-cli", version = "0.7.0-alpha.0" }
  180. wasm-split-harness = { path = "packages/playwright-tests/wasm-split-harness", version = "0.7.0-alpha.0" }
  181. wasm-used = { path = "packages/wasm-split/wasm-used", version = "0.7.0-alpha.0" }
  182. depinfo = { path = "packages/depinfo", version = "0.7.0-alpha.0" }
  183. warnings = { version = "0.2.1" }
  184. # a fork of pretty please for tests - let's get off of this if we can!
  185. prettier-please = { version = "0.3.0", features = ["verbatim"] }
  186. anyhow = "1.0.97"
  187. clap = { version = "4.5.31" }
  188. askama_escape = "0.10.3"
  189. tracing = "0.1.41"
  190. tracing-futures = "0.2.5"
  191. tracing-subscriber = { version = "0.3.19", default-features = false }
  192. toml = "0.8"
  193. tokio = "1.43"
  194. tokio-util = { version = "0.7.13" }
  195. tokio-stream = { version = "0.1.17" }
  196. slab = "0.4.9"
  197. slotmap = { version = "1.0.7", features = ["serde"] }
  198. futures = "0.3.31"
  199. futures-channel = "0.3.31"
  200. futures-util = { version = "0.3", default-features = false }
  201. rustc-hash = "2.1.1"
  202. wasm-bindgen = "0.2.100"
  203. wasm-bindgen-futures = "0.4.50"
  204. js-sys = "0.3.77"
  205. web-sys = { version = "0.3.77", default-features = false }
  206. html_parser = "0.7.0"
  207. thiserror = "2.0.12"
  208. prettyplease = { version = "0.2.30", features = ["verbatim"] }
  209. const_format = "0.2.34"
  210. cargo_toml = { version = "0.21.0" }
  211. tauri-utils = { version = "2.2.0" }
  212. tauri-bundler = { version = "2.2.4" }
  213. lru = "0.13.0"
  214. async-trait = "0.1.87"
  215. axum = { version = "0.8.1", default-features = false }
  216. axum-server = { version = "0.7.1", default-features = false }
  217. server_fn = { version = "0.8.2", default-features = false }
  218. server_fn_macro = { version = "0.8.2" }
  219. tower = "0.5.2"
  220. http = "1.2.0"
  221. notify = { version = "8.0.0" }
  222. tower-http = "0.6.2"
  223. hyper = "1.6.0"
  224. hyper-rustls = { version = "0.27.5", default-features = false, features = [
  225. "native-tokio",
  226. "http1",
  227. "http2",
  228. "tls12",
  229. "logging",
  230. "ring",
  231. ] }
  232. rustls = { version = "0.23.23", default-features = false, features = ["logging", "std", "tls12", "ring"] }
  233. serde_json = "1.0.140"
  234. serde = "1.0.218"
  235. syn = "2.0"
  236. quote = "1.0"
  237. proc-macro2 = "1.0"
  238. axum_session = "0.16.0"
  239. axum_session_auth = "0.16.0"
  240. axum_session_sqlx = "0.5.0"
  241. axum-extra = "0.10.0"
  242. reqwest = "0.12.12"
  243. owo-colors = "4.2.0"
  244. ciborium = "0.2.2"
  245. base64 = "0.22.1"
  246. once_cell = "1.20.3"
  247. uuid = "1.15.1"
  248. convert_case = "0.8.0"
  249. tungstenite = { version = "0.26.2" }
  250. tokio-tungstenite = { version = "0.26.2" }
  251. gloo-timers = "0.3.0"
  252. fluent-uri = { version = "0.3.2", features = ["serde"] }
  253. internment = { version = "0.8.6" }
  254. proc-macro2-diagnostics = { version = "0.10", default-features = false }
  255. env_logger = "0.11.6"
  256. chrono = { version = "0.4.40" }
  257. gloo = { version = "0.11.0" }
  258. gloo-utils = { version = "0.2.0" }
  259. rustversion = "1.0.20"
  260. rand = "0.8"
  261. longest-increasing-subsequence = "0.1.0"
  262. trybuild = "1.0"
  263. dirs = "6.0.0"
  264. cargo-config2 = "0.1.32"
  265. criterion = { version = "0.5" }
  266. cargo_metadata = "0.19.2"
  267. parking_lot = "0.12.3"
  268. tracing-wasm = "0.2.1"
  269. console_error_panic_hook = "0.1.7"
  270. base16 = "0.2.1"
  271. digest = "0.10.7"
  272. sha2 = "0.10.8"
  273. walrus = { version = "0.23.3", features = ["parallel"] }
  274. id-arena = "2.2.1"
  275. async-compression = { version = "0.4.20", features = ["futures-io", "gzip", "brotli"] }
  276. getrandom = { version = "0.2.0" }
  277. async-once-cell = { version = "0.5.4" }
  278. rayon = "1.10.0"
  279. wasmparser = "0.226.0"
  280. itertools = "0.14.0"
  281. object = { version = "0.36.0" }
  282. bincode = "1.3.3"
  283. inventory = { version = "0.3.5" }
  284. macro-string = "0.1.4"
  285. walkdir = "2.5.0"
  286. url = "2.3.1"
  287. separator = "0.4.1"
  288. pretty_assertions = "1.4.0"
  289. serde_repr = "0.1"
  290. hyper-util = "0.1.10"
  291. krates = { version = "0.19.0" }
  292. libloading = "0.8.6"
  293. libc = "0.2.170"
  294. memmap2 = "0.9.5"
  295. memfd = "0.6.4"
  296. # desktop
  297. wry = { version = "0.45.0", default-features = false }
  298. tao = { version = "0.33.0", features = ["rwh_05"] }
  299. webbrowser = "1.0.3"
  300. infer = "0.19.0"
  301. dunce = "1.0.5"
  302. urlencoding = "2.1.3"
  303. global-hotkey = "0.6.4"
  304. rfd = { version = "0.15.2", default-features = false }
  305. muda = "0.16.1"
  306. cocoa = "0.26"
  307. core-foundation = "0.10.0"
  308. objc = { version = "0.2.7", features = ["exception"] }
  309. objc_id = "0.1.1"
  310. tray-icon = "0.20.0"
  311. open = "5.1.2"
  312. # web
  313. gloo-dialogs = "0.2.0"
  314. # tui stuff
  315. ansi-to-tui = "7.0"
  316. ansi-to-html = "0.2.1"
  317. path-absolutize = "3.1"
  318. crossterm = { version = "0.29.0" }
  319. ratatui = { version = "0.29.0" }
  320. shell-words = "1.1.0"
  321. color-eyre = "0.6.3"
  322. # native
  323. keyboard-types = { version = "0.7", default-features = false }
  324. winit = { version = "0.30.2", features = ["rwh_06"] }
  325. [profile.dev]
  326. # our release profile should be fast to compile and fast to run
  327. # when we ship our CI builds, we turn on LTO which improves perf leftover by turning on incremental
  328. [profile.release]
  329. incremental = true
  330. # crank up the opt level for wasm-split-cli in dev mode
  331. # important here that lto is on and the debug symbols are present (since they're used by wasm-opt)a
  332. [profile.wasm-split-release]
  333. inherits = "release"
  334. opt-level = 'z'
  335. lto = true
  336. debug = true
  337. # a profile for running the CLI that's also incremental
  338. [profile.cli-release-dev]
  339. inherits = "release"
  340. opt-level = 3
  341. incremental = true
  342. # crank up walrus since it's quite slow in dev mode
  343. [profile.dev.package.walrus]
  344. opt-level = 3
  345. [profile.release-max-opt]
  346. inherits = "release"
  347. lto = true
  348. codegen-units = 1
  349. # Disable debug assertions to check the released path of core and other packages, but build without optimizations to keep build times quick
  350. [profile.release-unoptimized]
  351. inherits = "dev"
  352. debug-assertions = false
  353. incremental = true
  354. [profile.wasm-dev]
  355. inherits = "dev"
  356. opt-level = 1
  357. [profile.server-dev]
  358. inherits = "dev"
  359. [profile.android-dev]
  360. inherits = "dev"
  361. # This is a "virtual package"
  362. # It is not meant to be published, but is used so "cargo run --example XYZ" works properly
  363. [package]
  364. name = "dioxus-examples"
  365. authors = ["Jonathan Kelley"]
  366. edition = "2021"
  367. description = "Top level crate for the Dioxus repository"
  368. license = "MIT OR Apache-2.0"
  369. repository = "https://github.com/DioxusLabs/dioxus/"
  370. homepage = "https://dioxuslabs.com"
  371. documentation = "https://dioxuslabs.com"
  372. keywords = ["dom", "ui", "gui", "react", "wasm"]
  373. rust-version = "1.80.0"
  374. publish = false
  375. version = "0.7.0-alpha.0"
  376. [dependencies]
  377. reqwest = { workspace = true, features = ["json"], optional = true }
  378. ciborium = { workspace = true, optional = true }
  379. base64 = { workspace = true, optional = true }
  380. http-range = { version = "0.1.5", optional = true }
  381. wgpu = { version = "0.19", optional = true }
  382. ouroboros = { version = "*", optional = true }
  383. wasm-splitter = { workspace = true, package = "wasm-split" }
  384. [dev-dependencies]
  385. dioxus = { workspace = true, features = ["router"] }
  386. dioxus-ssr = { workspace = true }
  387. futures-util = { workspace = true }
  388. separator = { workspace = true }
  389. serde = { workspace = true, features = ["derive"] }
  390. serde_json = { workspace = true }
  391. rand = { workspace = true, features = ["small_rng"] }
  392. form_urlencoded = "1.2.0"
  393. async-std = "1.12.0"
  394. web-time = "1.1.0"
  395. [target.'cfg(target_arch = "wasm32")'.dev-dependencies]
  396. getrandom = { workspace = true, features = ["js"] }
  397. tokio = { version = "1.43", default-features = false, features = ["sync", "macros", "io-util", "rt", "time"] }
  398. [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
  399. tokio = { version = "1.43", features = ["full"] }
  400. # force vendored openssl on android
  401. [target.'cfg(target_os = "android")'.dev-dependencies]
  402. openssl = { version = "0.10", features = ["vendored"] }
  403. # To make most examples faster to compile, we split out assets and http-related stuff
  404. # This trims off like 270 dependencies, leading to a significant speedup in compilation time
  405. [features]
  406. default = ["desktop"]
  407. desktop = ["dioxus/desktop"]
  408. native = ["dioxus/native"]
  409. liveview = ["dioxus/liveview"]
  410. fullstack = ["dioxus/fullstack"]
  411. server = ["dioxus/server"]
  412. mobile = ["dioxus/mobile"]
  413. web = ["dioxus/web"]
  414. http = ["dep:reqwest", "dep:http-range"]
  415. gpu = ["dep:ouroboros", "dep:wgpu"]
  416. [[example]]
  417. name = "login_form"
  418. required-features = ["http"]
  419. doc-scrape-examples = true
  420. [[example]]
  421. name = "dog_app"
  422. required-features = ["http"]
  423. doc-scrape-examples = true
  424. [[example]]
  425. name = "video_stream"
  426. required-features = ["http", "desktop"]
  427. doc-scrape-examples = true
  428. [[example]]
  429. name = "suspense"
  430. required-features = ["http", "desktop"]
  431. doc-scrape-examples = true
  432. [[example]]
  433. name = "weather_app"
  434. required-features = ["http"]
  435. doc-scrape-examples = true
  436. [[example]]
  437. name = "image_generator_openai"
  438. required-features = ["http"]
  439. doc-scrape-examples = true
  440. [[example]]
  441. name = "hash_fragment_state"
  442. required-features = ["ciborium", "base64"]
  443. doc-scrape-examples = true
  444. [[example]]
  445. name = "backgrounded_futures"
  446. required-features = ["desktop"]
  447. doc-scrape-examples = true
  448. [[example]]
  449. name = "calculator_mutable"
  450. required-features = ["desktop"]
  451. doc-scrape-examples = true
  452. [[example]]
  453. name = "calculator"
  454. required-features = ["desktop"]
  455. doc-scrape-examples = true
  456. [[example]]
  457. name = "clock"
  458. doc-scrape-examples = true
  459. [[example]]
  460. name = "crm"
  461. required-features = ["desktop"]
  462. doc-scrape-examples = true
  463. [[example]]
  464. name = "custom_html"
  465. required-features = ["desktop"]
  466. doc-scrape-examples = true
  467. [[example]]
  468. name = "custom_menu"
  469. required-features = ["desktop"]
  470. doc-scrape-examples = true
  471. [[example]]
  472. name = "dynamic_asset"
  473. required-features = ["desktop"]
  474. doc-scrape-examples = true
  475. [[example]]
  476. name = "errors"
  477. required-features = ["desktop"]
  478. doc-scrape-examples = true
  479. [[example]]
  480. name = "future"
  481. doc-scrape-examples = true
  482. [[example]]
  483. name = "hydration"
  484. required-features = ["desktop"]
  485. doc-scrape-examples = true
  486. [[example]]
  487. name = "multiwindow"
  488. required-features = ["desktop"]
  489. doc-scrape-examples = true
  490. [[example]]
  491. name = "overlay"
  492. required-features = ["desktop"]
  493. doc-scrape-examples = true
  494. [[example]]
  495. name = "popup"
  496. required-features = ["desktop"]
  497. doc-scrape-examples = true
  498. [[example]]
  499. name = "read_size"
  500. required-features = ["desktop"]
  501. doc-scrape-examples = true
  502. [[example]]
  503. name = "shortcut"
  504. required-features = ["desktop"]
  505. doc-scrape-examples = true
  506. [[example]]
  507. name = "streams"
  508. doc-scrape-examples = true
  509. [[example]]
  510. name = "visible"
  511. doc-scrape-examples = true
  512. [[example]]
  513. name = "window_event"
  514. required-features = ["desktop"]
  515. doc-scrape-examples = true
  516. [[example]]
  517. name = "window_focus"
  518. required-features = ["desktop"]
  519. doc-scrape-examples = true
  520. [[example]]
  521. name = "window_zoom"
  522. required-features = ["desktop"]
  523. doc-scrape-examples = true
  524. [[example]]
  525. name = "wgpu_child_window"
  526. required-features = ["desktop", "gpu"]
  527. [[example]]
  528. name = "control_focus"
  529. doc-scrape-examples = true
  530. [[example]]
  531. name = "eval"
  532. doc-scrape-examples = true
  533. [[example]]
  534. name = "logging"
  535. doc-scrape-examples = true