Skip to content

Conversation

@nsarlin-zama
Copy link
Contributor

@nsarlin-zama nsarlin-zama commented Oct 30, 2025

Since cargo commands create a lock using the smallest msrv in the workspace, it can prevent getting up-to-date dependencies

closes: please link all relevant issues

PR content/description

Cargo commands will create a lockfile using the smallest msrv in the workspace.
This leads to a situation where crate A with a high msrv will be restrained to dependencies compatible with a low msrv because of an unrelated crate B in the workspace.
To simplify this, we set a common msrv for the workspace.

I did not update the version of zk-pok and versionable because they are already updated by #2950


This change is Reviewable

@IceTDrinker
Copy link
Member

tfhe/Cargo.toml line 20 at r1 (raw file):

    "/web_wasm_parallel_tests/",
]
rust-version.workspace = true

may need to update a make target that was parsing this toml for the MSRV

@nsarlin-zama nsarlin-zama force-pushed the ns/chore/workspace_msrv branch from d15963d to ac925f5 Compare October 30, 2025 09:53
Copy link
Contributor Author

@nsarlin-zama nsarlin-zama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 0 of 8 files reviewed, 1 unresolved discussion (waiting on @IceTDrinker and @soonum)


tfhe/Cargo.toml line 20 at r1 (raw file):

Previously, IceTDrinker wrote…

may need to update a make target that was parsing this toml for the MSRV

good catch, fixed

Since cargo commands create a lock using the smallest msrv in the workspace, it
can prevent getting up-to-date dependencies
@nsarlin-zama nsarlin-zama force-pushed the ns/chore/workspace_msrv branch from ac925f5 to 5fdd95c Compare October 30, 2025 09:57
@nsarlin-zama
Copy link
Contributor Author

cargo audit works after this pr: https://github.com/zama-ai/tfhe-rs/actions/runs/18941093224

Copy link
Member

@IceTDrinker IceTDrinker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot !

@IceTDrinker reviewed 7 of 7 files at r1, 1 of 1 files at r2, 1 of 1 files at r3, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @soonum)

@nsarlin-zama nsarlin-zama merged commit 83b8209 into main Oct 31, 2025
145 checks passed
@nsarlin-zama nsarlin-zama deleted the ns/chore/workspace_msrv branch October 31, 2025 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants