@@ -10,7 +10,7 @@ repository = "https://github.com/mmtk/mmtk-core"
1010readme = " README.md"
1111categories = [" memory-management" ]
1212keywords = [" gc" , " garbage" , " collection" , " garbage-collection" , " allocation" ]
13- rust-version = " 1.74.1 "
13+ rust-version = " 1.84 "
1414build = " build.rs"
1515
1616[lib ]
@@ -59,24 +59,9 @@ paste = "1.0.8"
5959rand = " 0.9.0"
6060rand_chacha = " 0.9.0"
6161criterion = " 0.5"
62- # Note: `half` v2.5.0 started to require Rust 1.81.
63- # `criterion` transitively depends on `half` via the dependency chain:
64- # criterion -> ciborium -> ciborium_ll -> half
65- # The MSRV of `ciborium` v0.2.2 is declared as 1.58, and is declared to depend on `half` v2.2.
66- # Ciborium should either bump its MSRV or select a version of `half` that satisfies its current MSRV.
67- # We lock the version of `half` to 2.4.1 to workaround this.
68- # TODO: When we bump MSRV to 1.84 or above, we can rely on Cargo's MSRV-aware dependency resolver and remove such workarounds.
69- half = " =2.4.1"
7062
7163[build-dependencies ]
7264built = { version = " 0.7.7" , features = [" git2" ] }
73- # Note: Some components in ICU4X started to require Rust 1.81 since some versions, such as `litemap` v0.7.5.
74- # The `built` crate depends on ICU4X via the dependency chain:
75- # built -> git2 -> url -> idna -> idna_adapter --(default)--------> crates from the ICU4X projects
76- # --(alternatively)--> `unicode-rs`
77- # But we don't need ICU4X (or even `url`) because we only use `git2` to get the Git commit hash.
78- # We move away from ICU4X completely following the instruction in https://docs.rs/crate/idna_adapter/1.2.0
79- idna_adapter = " =1.1.0"
8065
8166[lints .clippy ]
8267# Allow this. Clippy suggests we should use Sft, Mmtk, rather than SFT and MMTK.
@@ -88,10 +73,9 @@ idna_adapter = "=1.1.0"
8873# to me - considering it will break our API and all the efforts for all the developers to make the change, it may
8974# not worth it.
9075upper_case_acronyms = " allow"
91- # Temporarily allow this -- 9 July 2025. Clippy suggests that we should always inline format args if possible.
92- # We see pushbacks on this lint in Rust 1.67, and the lint was downgraded to pedantic in 1.67.1. It was upgraded
93- # again in Rust 1.88. We temporarily disable this lint and see the reaction from the community.
94- # If there is no pushback for this lint in a few momnths' time, we should remove the following line and migrate the codebase.
76+ # Allow this -- 9 July 2025. Clippy suggests that we should always inline format args if possible.
77+ # This lint was upgraded to 'style' in Rust 1.67, and then was downgraded to pedantic in 1.67.1.
78+ # It was upgraded again in Rust 1.88, and downgraded again in Rust 1.89. We disable this lint to avoid warnings in affected versions.
9579# See https://github.com/mmtk/mmtk-core/issues/1334.
9680uninlined_format_args = " allow"
9781
0 commit comments