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

Update to 2021 edition #65

Merged
merged 4 commits into from
Jun 1, 2022
Merged

Commits on May 26, 2022

  1. *: Update edition into 2021

    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>
    doehyunbaek committed May 26, 2022
    Configuration menu
    Copy the full SHA
    2229c7d View commit details
    Browse the repository at this point in the history
  2. src/metris: Use IntoIterator for arrays

    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>
    doehyunbaek committed May 26, 2022
    Configuration menu
    Copy the full SHA
    fee9a5a View commit details
    Browse the repository at this point in the history

Commits on May 31, 2022

  1. *: Apply suggestions.

    Accordiing to suggestions here(prometheus#65 (review)).
    
    Signed-off-by: Doehyun Baek <doehyunbaek@gmail.com>
    doehyunbaek committed May 31, 2022
    Configuration menu
    Copy the full SHA
    1bca5bc View commit details
    Browse the repository at this point in the history
  2. CHANGELOG.md: add unrelease

    Signed-off-by: Doehyun Baek <doehyunbaek@gmail.com>
    doehyunbaek committed May 31, 2022
    Configuration menu
    Copy the full SHA
    6e37b15 View commit details
    Browse the repository at this point in the history