denyhosts/clamav/libclamav_rust/.cargo/vendor/pin-project/CHANGELOG.md

33 KiB

Changelog

All notable changes to this project will be documented in this file.

This project adheres to Semantic Versioning.

Unreleased

1.0.12 - 2022-08-15

  • Suppress unused_tuple_struct_fields lint in generated code.

1.0.11 - 2022-07-02

1.0.10 - 2021-12-31

  • Revert the increase of the minimal version of syn that was done in 1.0.9.

1.0.9 - 2021-12-26

1.0.8 - 2021-07-21

1.0.7 - 2021-04-16

1.0.6 - 2021-03-25

1.0.5 - 2021-02-03

1.0.4 - 2021-01-09

1.0.3 - 2021-01-05

  • Exclude unneeded files from crates.io.

1.0.2 - 2020-11-18

1.0.1 - 2020-10-15

Note: This release has been yanked because it failed to compile with syn 1.0.84 and later.

1.0.0 - 2020-10-13

Note: This release has been yanked because it failed to compile with syn 1.0.84 and later.

Changes since the 1.0.0-alpha.1 release:

1.0.0-alpha.1 - 2020-09-22

See also tracking issue for 1.0 release.

0.4.30 - 2022-07-02

0.4.29 - 2021-12-26

0.4.28 - 2021-03-28

Note: This release has been yanked because it failed to compile with syn 1.0.84 and later.

0.4.27 - 2020-10-11

Note: This release has been yanked because it failed to compile with syn 1.0.84 and later.

  • Update minimal version of syn to 1.0.44.

0.4.26 - 2020-10-04

Note: This release has been yanked because it failed to compile with syn 1.0.84 and later.

0.4.25 - 2020-10-01

Note: This release has been yanked because it failed to compile with syn 1.0.84 and later.

0.4.24 - 2020-09-26

Note: This release has been yanked because it failed to compile with syn 1.0.84 and later.

0.4.23 - 2020-07-27

Note: This release has been yanked because it failed to compile with syn 1.0.84 and later.

0.4.22 - 2020-06-14

Note: This release has been yanked because it failed to compile with syn 1.0.84 and later.

  • Documentation improvements.

0.4.21 - 2020-06-13

Note: This release has been yanked because it failed to compile with syn 1.0.84 and later.

0.4.20 - 2020-06-07

Note: This release has been yanked because it failed to compile with syn 1.0.84 and later.

0.4.19 - 2020-06-04

Note: This release has been yanked because it failed to compile with syn 1.0.84 and later.

0.4.18 - 2020-06-04

Note: This release has been yanked because it failed to compile with syn 1.0.84 and later.

0.4.17 - 2020-05-18

Note: This release has been yanked because it failed to compile with syn 1.0.84 and later.

  • Support naming the projection types.

    By passing an argument with the same name as the method to the attribute, you can name the projection type returned from the method:

    #[pin_project(project = EnumProj)]
    enum Enum<T> {
        Variant(#[pin] T),
    }
    
    fn func<T>(x: Pin<&mut Enum<T>>) {
        match x.project() {
            EnumProj::Variant(y) => {
                let _: Pin<&mut T> = y;
            }
        }
    }
    

0.4.16 - 2020-05-11

Note: This release has been yanked because it failed to compile with syn 1.0.84 and later.

0.4.15 - 2020-05-10

Note: This release has been yanked because it failed to compile with syn 1.0.84 and later.

0.4.14 - 2020-05-09

Note: This release has been yanked because it failed to compile with syn 1.0.84 and later.

0.4.13 - 2020-05-07

Note: This release has been yanked because it failed to compile with syn 1.0.84 and later.

0.4.12 - 2020-05-07

Note: This release has been yanked because it failed to compile with syn 1.0.84 and later.

0.4.11 - 2020-05-07

Note: This release has been yanked. See #206 for details.

0.4.10 - 2020-05-04

Note: This release has been yanked because it failed to compile with syn 1.0.84 and later.

0.4.9 - 2020-04-14

Note: This release has been yanked because it failed to compile with syn 1.0.84 and later.

0.4.8 - 2020-01-27

Note: This release has been yanked because it failed to compile with syn 1.0.84 and later.

0.4.7 - 2020-01-20

Note: This release has been yanked because it failed to compile with syn 1.0.84 and later.

0.4.6 - 2019-11-20

Note: This release has been yanked because it failed to compile with syn 1.0.84 and later.

0.4.5 - 2019-10-21

Note: This release has been yanked because it failed to compile with syn 1.0.84 and later.

0.4.4 - 2019-10-17

Note: This release has been yanked because it failed to compile with syn 1.0.84 and later.

0.4.3 - 2019-10-15

Note: This release has been yanked. See #148 for details.

0.4.2 - 2019-09-29

Note: This release has been yanked. See #148 for details.

0.4.1 - 2019-09-26

Note: This release has been yanked. See #148 for details.

0.4.0 - 2019-09-25

Note: This release has been yanked. See #148 for details.

Changes since the 0.4.0-beta.1 release:

0.4.0-beta.1 - 2019-09-21

0.4.0-alpha.11 - 2019-09-11

  • Change #[pinned_drop] to trait implementation.

    #[pinned_drop]
    impl<T> PinnedDrop for Foo<'_, T> {
        fn drop(mut self: Pin<&mut Self>) {
            **self.project().was_dropped = true;
        }
    }
    
  • Add some examples and generated code.

  • Diagnostic improvements.

0.4.0-alpha.10 - 2019-09-07

0.4.0-alpha.9 - 2019-09-05

0.4.0-alpha.8 - 2019-09-03

0.4.0-alpha.7 - 2019-09-02

0.4.0-alpha.6 - 2019-09-01

0.4.0-alpha.5 - 2019-08-24

0.4.0-alpha.4 - 2019-08-23

  • Suppress clippy::drop_bounds lint in generated code.

0.4.0-alpha.3 - 2019-08-23

0.4.0-alpha.2 - 2019-08-13

  • Update proc-macro2, syn, and quote to 1.0.

0.4.0-alpha.1 - 2019-08-11

  • Pin projection has become a safe operation.

  • #[unsafe_project] has been replaced with #[pin_project].

  • The Unpin argument has been removed - an Unpin impl is now generated by default.

  • Drop impls must be specified with #[pinned_drop] instead of via a normal Drop impl.

  • Unpin impls must be specified with an impl of UnsafeUnpin, instead of implementing the normal Unpin trait.

  • Make #[project] attribute disabled by default.

See also tracking issue for 0.4 release.

0.3.5 - 2019-08-14

  • Update proc-macro2, syn, and quote to 1.0.

0.3.4 - 2019-07-21

  • Diagnostic improvements.

0.3.3 - 2019-07-15

Note: This release has been yanked. See #16 for details.

  • Diagnostic improvements.

0.3.2 - 2019-03-30

  • Avoid suffixes on tuple index.

0.3.1 - 2019-03-02

  • Documentation improvements.

  • Update minimum syn version to 0.15.22.

0.3.0 - 2019-02-20

  • Remove unsafe_fields attribute.

  • Remove unsafe_variants attribute.

0.2.2 - 2019-02-20

  • Fix a bug that generates incorrect code for the some structures with trait bounds on type generics.

0.2.1 - 2019-02-20

  • Fix a bug that generates incorrect code for the structures with where clause and associated type fields.

0.2.0 - 2019-02-11

  • Make unsafe_fields optional.

  • Documentation improvements.

0.1.8 - 2019-02-02

  • Add the feature to create projected enums to unsafe_project.

  • Add project attribute to support pattern matching.

0.1.7 - 2019-01-19

  • Fix documentation.

0.1.6 - 2019-01-19

  • unsafe_fields can now opt-out.

  • Add unsafe_variants attribute. This attribute is available if pin-project is built with the "unsafe_variants" feature.

0.1.5 - 2019-01-17

  • Add support for tuple struct to unsafe_project.

0.1.4 - 2019-01-12

  • Add options for automatically implementing Unpin to both unsafe_project and unsafe_fields.

0.1.3 - 2019-01-11

  • Fix dependencies.

  • Add unsafe_fields attribute.

0.1.2 - 2019-01-09

  • Documentation improvements.

0.1.1 - 2019-01-08

  • Rename from unsafe_pin_project to unsafe_project.

0.1.0 - 2019-01-08

Note: This release has been yanked.

Initial release