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

chore(deps): update pin-project requirement from 0.4 to 1.0 #1038

Merged
merged 1 commit into from
Oct 18, 2020

Conversation

dependabot-preview[bot]
Copy link
Contributor

Updates the requirements on pin-project to permit the latest version.

Release notes

Sourced from pin-project's releases.

1.0.0

  • Remove deprecated #[project], #[project_ref], and #[project_replace] attributes.

    Name the projected type by passing an argument with the same name as the method to the #[pin_project] attribute instead:

    - #[pin_project]
    + #[pin_project(project = EnumProj)]
      enum Enum<T> {
          Variant(#[pin] T),
      }
    
    #[project]
    fn func<T>(x: Pin<&mut Enum<T>>) {
    
    #[project]
    match x.project() {
    
    
    
        Enum::Variant(_) =&gt; { /* ... */ }
    
    
    
    
    
        EnumProj::Variant(_) =&gt; { /* ... */ }
    }
    
    }
  • Remove deprecated Replace argument from #[pin_project] attribute. Use project_replace argument instead.

  • Optimize code generation when used on enums.

  • Raise the minimum supported Rust version of this crate from Rust 1.34 to Rust 1.37.

  • Suppress explicit_outlives_requirements, box_pointers, clippy::large_enum_variant, clippy::pattern_type_mismatch, clippy::implicit_return, and clippy::redundant_pub_crate lints in generated code. (#276, #277, #284)

  • Diagnostic improvements.

  • Changes since the 1.0.0-alpha.1 release:

    Changelog

    Sourced from pin-project's changelog.

    [1.0.0] - 2020-10-13

    • Remove deprecated #[project], #[project_ref], and #[project_replace] attributes.

      Name the projected type by passing an argument with the same name as the method to the #[pin_project] attribute instead:

      - #[pin_project]
      + #[pin_project(project = EnumProj)]
        enum Enum<T> {
            Variant(#[pin] T),
        }
      
      #[project]
      fn func<T>(x: Pin<&mut Enum<T>>) {
      
      #[project]
      match x.project() {
      
      
      
          Enum::Variant(_) =&gt; { /* ... */ }
      
      
      
      
      
          EnumProj::Variant(_) =&gt; { /* ... */ }
      }
      
      }
  • Remove deprecated Replace argument from #[pin_project] attribute. Use project_replace argument instead.

  • Optimize code generation when used on enums.

  • Raise the minimum supported Rust version of this crate from Rust 1.34 to Rust 1.37.

  • Suppress explicit_outlives_requirements, box_pointers, clippy::large_enum_variant, clippy::pattern_type_mismatch, clippy::implicit_return, and clippy::redundant_pub_crate lints in generated code. (#276, #277, #284)

  • Diagnostic improvements.

  • Changes since the 1.0.0-alpha.1 release:

    [1.0.0-alpha.1] - 2020-09-22

    Commits

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)

    Updates the requirements on [pin-project](https://github.com/taiki-e/pin-project) to permit the latest version.
    - [Release notes](https://github.com/taiki-e/pin-project/releases)
    - [Changelog](https://github.com/taiki-e/pin-project/blob/master/CHANGELOG.md)
    - [Commits](taiki-e/pin-project@v0.4.0...v1.0.0)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    @dependabot-preview dependabot-preview bot requested review from hawkw and a team as code owners October 14, 2020 06:42
    @dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Oct 14, 2020
    @hawkw hawkw merged commit cd911e0 into master Oct 18, 2020
    @dependabot-preview dependabot-preview bot deleted the dependabot/cargo/pin-project-1.0 branch October 18, 2020 20:57
    dvdplm added a commit to dvdplm/tracing that referenced this pull request Oct 19, 2020
    …cros
    
    * upstream/master: (30 commits)
      chore(deps): update pin-project requirement from 0.4 to 1.0 (tokio-rs#1038)
      chore: remove duplicated section from tracing/README.md (tokio-rs#1046)
      opentelemetry: prepare for 0.8.0 release (tokio-rs#1036)
      docs: add favicon for extra pretty docs (tokio-rs#1033)
      subscriber: fix `reload` ergonomics (tokio-rs#1035)
      chore(deps): update crossbeam-channel requirement from 0.4.2 to 0.5.0 (tokio-rs#1031)
      opentelemetry: Assign default ids if missing (tokio-rs#1027)
      chore: remove deprecated add-path from CI (tokio-rs#1026)
      attributes:  fix `#[instrument(err)]` in case of early returns (tokio-rs#1006)
      core: remove mandatory liballoc dependency with no-std (tokio-rs#1017)
      chore(deps): update cfg-if requirement from 0.1.10 to 1.0.0 (tokio-rs#1023)
      subscriber: warn if trying to enable a statically disabled level (tokio-rs#990)
      subscriber: use macros for module declarations (tokio-rs#1009)
      chore: remove `stdlib.rs` (tokio-rs#1008)
      core: fix linked list tests reusing `Registration`s (tokio-rs#1016)
      subscriber: support dash in target names (tokio-rs#1012)
      docs: switch to intra-doc links in tracing-core (tokio-rs#1010)
      tracing-opentelemetry: implement additional record types (bool, i64, u64) (tokio-rs#1007)
      core: add intrusive linked list for callsite registry (tokio-rs#988)
      serde: allow tracing-serde to work on no_std. (tokio-rs#960)
      ...
    dvdplm added a commit to dvdplm/tracing that referenced this pull request Oct 19, 2020
    * upstream/master:
      chore(deps): update pin-project requirement from 0.4 to 1.0 (tokio-rs#1038)
      chore: remove duplicated section from tracing/README.md (tokio-rs#1046)
    dvdplm added a commit to dvdplm/tracing that referenced this pull request Oct 19, 2020
    …gger
    
    * upstream/master: (31 commits)
      chore: fix tracing-macros::dbg (tokio-rs#1054)
      chore(deps): update pin-project requirement from 0.4 to 1.0 (tokio-rs#1038)
      chore: remove duplicated section from tracing/README.md (tokio-rs#1046)
      opentelemetry: prepare for 0.8.0 release (tokio-rs#1036)
      docs: add favicon for extra pretty docs (tokio-rs#1033)
      subscriber: fix `reload` ergonomics (tokio-rs#1035)
      chore(deps): update crossbeam-channel requirement from 0.4.2 to 0.5.0 (tokio-rs#1031)
      opentelemetry: Assign default ids if missing (tokio-rs#1027)
      chore: remove deprecated add-path from CI (tokio-rs#1026)
      attributes:  fix `#[instrument(err)]` in case of early returns (tokio-rs#1006)
      core: remove mandatory liballoc dependency with no-std (tokio-rs#1017)
      chore(deps): update cfg-if requirement from 0.1.10 to 1.0.0 (tokio-rs#1023)
      subscriber: warn if trying to enable a statically disabled level (tokio-rs#990)
      subscriber: use macros for module declarations (tokio-rs#1009)
      chore: remove `stdlib.rs` (tokio-rs#1008)
      core: fix linked list tests reusing `Registration`s (tokio-rs#1016)
      subscriber: support dash in target names (tokio-rs#1012)
      docs: switch to intra-doc links in tracing-core (tokio-rs#1010)
      tracing-opentelemetry: implement additional record types (bool, i64, u64) (tokio-rs#1007)
      core: add intrusive linked list for callsite registry (tokio-rs#988)
      ...
    dvdplm added a commit to dvdplm/tracing that referenced this pull request Oct 22, 2020
    …spatch-as-owned-tokio-rs#455
    
    * upstream/master: (34 commits)
      subscriber: remove TraceLogger (tokio-rs#1052)
      subscriber: make Registry::enter/exit much faster (tokio-rs#1058)
      chore(deps): update env_logger requirement from 0.7 to 0.8 (tokio-rs#1050)
      chore: fix tracing-macros::dbg (tokio-rs#1054)
      chore(deps): update pin-project requirement from 0.4 to 1.0 (tokio-rs#1038)
      chore: remove duplicated section from tracing/README.md (tokio-rs#1046)
      opentelemetry: prepare for 0.8.0 release (tokio-rs#1036)
      docs: add favicon for extra pretty docs (tokio-rs#1033)
      subscriber: fix `reload` ergonomics (tokio-rs#1035)
      chore(deps): update crossbeam-channel requirement from 0.4.2 to 0.5.0 (tokio-rs#1031)
      opentelemetry: Assign default ids if missing (tokio-rs#1027)
      chore: remove deprecated add-path from CI (tokio-rs#1026)
      attributes:  fix `#[instrument(err)]` in case of early returns (tokio-rs#1006)
      core: remove mandatory liballoc dependency with no-std (tokio-rs#1017)
      chore(deps): update cfg-if requirement from 0.1.10 to 1.0.0 (tokio-rs#1023)
      subscriber: warn if trying to enable a statically disabled level (tokio-rs#990)
      subscriber: use macros for module declarations (tokio-rs#1009)
      chore: remove `stdlib.rs` (tokio-rs#1008)
      core: fix linked list tests reusing `Registration`s (tokio-rs#1016)
      subscriber: support dash in target names (tokio-rs#1012)
      ...
    dvdplm added a commit to dvdplm/tracing that referenced this pull request Oct 22, 2020
    …spatch-as-ref-tokio-rs#455
    
    * upstream/master:
      subscriber: remove TraceLogger (tokio-rs#1052)
      subscriber: make Registry::enter/exit much faster (tokio-rs#1058)
      chore(deps): update env_logger requirement from 0.7 to 0.8 (tokio-rs#1050)
      chore: fix tracing-macros::dbg (tokio-rs#1054)
      chore(deps): update pin-project requirement from 0.4 to 1.0 (tokio-rs#1038)
      chore: remove duplicated section from tracing/README.md (tokio-rs#1046)
    dvdplm added a commit to dvdplm/tracing that referenced this pull request Oct 22, 2020
    * dp-target-is-cow:
      subscriber: remove TraceLogger (tokio-rs#1052)
      subscriber: make Registry::enter/exit much faster (tokio-rs#1058)
      Use impl Into<Cow<'a, str>
      chore(deps): update env_logger requirement from 0.7 to 0.8 (tokio-rs#1050)
      No need for extra lifetime
      Add constructor for dynamic data
      chore: fix tracing-macros::dbg (tokio-rs#1054)
      Feature gate usage of Cow in Metadata
      chore(deps): update pin-project requirement from 0.4 to 1.0 (tokio-rs#1038)
      chore: remove duplicated section from tracing/README.md (tokio-rs#1046)
    hawkw pushed a commit that referenced this pull request Jan 28, 2021
    Updates the requirements on [pin-project](https://github.com/taiki-e/pin-project) to permit the latest version.
    - [Release notes](https://github.com/taiki-e/pin-project/releases)
    - [Changelog](https://github.com/taiki-e/pin-project/blob/master/CHANGELOG.md)
    - [Commits](taiki-e/pin-project@v0.4.0...v1.0.0)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    
    Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
    hawkw pushed a commit that referenced this pull request Jan 28, 2021
    Updates the requirements on [pin-project](https://github.com/taiki-e/pin-project) to permit the latest version.
    - [Release notes](https://github.com/taiki-e/pin-project/releases)
    - [Changelog](https://github.com/taiki-e/pin-project/blob/master/CHANGELOG.md)
    - [Commits](taiki-e/pin-project@v0.4.0...v1.0.0)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    
    Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
    hawkw pushed a commit that referenced this pull request Jan 28, 2021
    Updates the requirements on [pin-project](https://github.com/taiki-e/pin-project) to permit the latest version.
    - [Release notes](https://github.com/taiki-e/pin-project/releases)
    - [Changelog](https://github.com/taiki-e/pin-project/blob/master/CHANGELOG.md)
    - [Commits](taiki-e/pin-project@v0.4.0...v1.0.0)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    
    Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
    hawkw added a commit that referenced this pull request Feb 16, 2021
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    dependencies Pull requests that update a dependency file
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    1 participant