1
0

Cargo.toml 18 KB

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