Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump to Rust edition 2021 #479

Merged
merged 6 commits into from
Apr 20, 2023
Merged

Bump to Rust edition 2021 #479

merged 6 commits into from
Apr 20, 2023

Conversation

Mallets
Copy link
Member

@Mallets Mallets commented Apr 17, 2023

Rust edition 2018 uses unifies by default dependencies features (see here).
As a consequence, disabling certain features (i.e. shared-memory) in the main Cargo.toml does not end up, as someone could expect, by disabling the actual compilation and linking of such features.

A new dependency resolver has been introduced to avoid such problem (see here and it has been the default choice since Rust edition 2021 (see here).

I suggest hence to bump Rust edition to 2021.
Before merging this PR, all Zenoh's sister repos should be provided with a similar PR:

@Mallets Mallets marked this pull request as ready for review April 19, 2023 13:46
@Mallets Mallets merged commit 9344517 into master Apr 20, 2023
@Mallets Mallets deleted the edition2021 branch April 20, 2023 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant