-
Notifications
You must be signed in to change notification settings - Fork 80
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
Cargo.toml: Update to Rust edition 2021 #64
Labels
Comments
mxinden
added
help wanted
Extra attention is needed
good first issue
Good for newcomers
labels
May 23, 2022
doehyunbaek
added a commit
to doehyunbaek/client_rust
that referenced
this issue
May 26, 2022
As suggested in prometheus#64, this commit update edition key of manifest file into 2021. Before update, I ran 'cargo fix --edition' to check if migration is needed as this guide(https://doc.rust-lang.org/edition-guide/rust-2021/prelude.html#migration) says. There was no change but following message was printed about the upstream dependencies as mentioned in (https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html#migration) 'When building the following dependencies, the given features will no longer be used: syn v1.0.95 (as host dependency) removed features: extra-traits, full, visit, visit-mut The following differences only apply when building with dev-dependencies: standback v0.2.17 (as host dependency) removed features: std syn v1.0.95 (as host dependency) removed features: visit' Signed-off-by: Doehyun Baek <doehyunbaek@gmail.com>
Merged
mxinden
pushed a commit
that referenced
this issue
Jun 1, 2022
As suggested in #64, this commit update edition key of manifest file into 2021. As documented in 2021 edition guide(https://doc.rust-lang.org/edition-guide/rust-2021/IntoIterator-for-arrays.html), array.into_iter() now returns owned value instead of references, This commit changes previous doc comments to utilize new behavior. Signed-off-by: Doehyun Baek <doehyunbaek@gmail.com>
Fixed with #65. |
ackintosh
pushed a commit
to ackintosh/client_rust
that referenced
this issue
Aug 27, 2022
As suggested in prometheus#64, this commit update edition key of manifest file into 2021. As documented in 2021 edition guide(https://doc.rust-lang.org/edition-guide/rust-2021/IntoIterator-for-arrays.html), array.into_iter() now returns owned value instead of references, This commit changes previous doc comments to utilize new behavior. Signed-off-by: Doehyun Baek <doehyunbaek@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As discussed in #63, we should upgrade to Rust edition 2021.
Tracking this here for the sake of completeness.
//CC @doehyunbaek
The text was updated successfully, but these errors were encountered: