Cargo.toml 18 KB

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