Cargo.toml 19 KB

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