Cargo.toml 19 KB

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