Cargo.toml 18 KB

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