Commit dcdd698
authored
refactor!: migrate workspace to Rust 1.85 and Edition 2024 (#4114)
- Set edition = "2024" in all 55 member crates
- Centralize rust-version = "1.85" in [workspace.package]
- Add unsafe to extern "C" blocks (Edition 2024 requirement)
- Remove redundant ref/ref mut in match patterns (match ergonomics)
- Escape reserved keyword gen as r#gen in examples
- Fix RPIT lifetime over-capture in TagTokens::to_spanned and Registry::get_handler
- Remove ref from macro-generated pattern in html_element.rs
- Update rustfmt.toml and CI workflows to 1.85
- Apply Edition 2024 rustfmt style
* chore: regenerate lock
* chore(docs): update if-let gaurd stablization version
* chore: update rand to 0.10
- Update workspace rand dependency from 0.9 to 0.10
- Rename trait import Rng to RngExt for extension methods
- Replace removed SmallRng::from_os_rng() with from_rng()
- Remove small_rng feature flag (always available in 0.10)
- Keep rand 0.9 as rand_09 in function_router and router
examples for lipsum MarkovChain API compatibility
* chore: update fake to 5.x
* docs: update MSRV to 1.85.0 in Next version docs
* refactor: remove redundant Future imports now in Edition 2024 prelude
* chore: update MSRV references from 1.84.0 to 1.85.0 in macro tests1 parent 5ac5ecc commit dcdd698
236 files changed
Lines changed: 1451 additions & 1336 deletions
File tree
- .github/workflows
- examples
- async_clock
- src
- boids
- src
- communication_child_to_parent
- src
- communication_grandchild_with_grandparent
- src
- communication_grandparent_to_grandchild
- src
- communication_parent_to_child
- src
- contexts
- counter_functional
- counter
- src
- dyn_create_destroy_apps
- file_upload
- src
- function_delayed_input
- src
- function_memory_game
- src
- components
- function_router
- src
- components
- pages
- function_todomvc
- futures
- src
- game_of_life
- src
- immutable
- inner_html
- js_callback
- src
- keyed_list
- src
- mount_point
- src
- nested_list
- node_refs
- password_strength
- portals
- src
- router
- src
- components
- pages
- simple_ssr
- ssr_router
- src/bin
- suspense
- timer_functional
- timer
- todomvc
- src
- two_apps
- src
- wasi_ssr_module
- src
- web_worker_fib
- src
- web_worker_prime
- src
- webgl
- src
- packages
- yew-agent-macro
- src
- yew-agent
- src
- oneshot
- reactor
- worker
- yew-macro
- src
- classes
- derive_props
- hook
- html_tree
- lint
- props
- tests
- derive_props
- function_component_attr
- html_macro
- yew-router-macro
- src
- tests
- yew-router
- src
- components
- yew
- src
- dom_bundle
- btag
- functional
- hooks
- use_prepared_state
- use_transitive_state
- html
- component
- conversion
- suspense
- tests
- utils
- virtual_dom
- tests
- tools
- benchmark-core
- benchmark-hooks
- src
- benchmark-ssr
- src
- benchmark-struct
- src
- build-examples
- src
- bin
- changelog
- src
- tests
- collect-release-info
- src
- process-benchmark-results
- ssr-e2e-harness
- ssr-e2e
- src
- website-test
- website
- docs/getting-started
- i18n
- ja/docusaurus-plugin-content-docs/current/getting-started
- zh-Hans/docusaurus-plugin-content-docs/current/getting-started
- zh-Hant/docusaurus-plugin-content-docs/current/getting-started
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
| 214 | + | |
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| |||
0 commit comments