PackageTrack
Sign in Get early access

extend

Create extensions for types you don't own with extension traits but without the boilerplate.

1.2.0 9.4M downloads/mo #3223 most downloaded on crates.io davidpdrsn/extend

What this package is like to depend on

Last release 3 years ago

no release in 18 months

Ships unpredictably

gaps range from 2 weeks to 1.5 years

Nearly every release is documented

notes for 14 of 15 stable releases

Nothing withdrawn

no release was ever pulled

7 years old

15 releases · first in 2019

0 releases in the last 12 months

see the full history below

Release timeline

15 releases · Oct 2019 to Mar 2023
2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 15
  1. 1.2.0 18 Mar 2023
    Release notes
    • Support destructuring function arguments
    Open source →
  2. 1.1.3 18 Mar 2023
    Release notes
    • Update to syn 2.0
    Open source →
  3. 1.1.2 02 Sep 2021
    Release notes
    • Fix using pub impl with #[async_trait].
    Open source →
  4. 1.1.1 12 Jul 2021
    Release notes
    • Fix name collision for extensions on &T and &mut T. The generated traits now get different names.
    Open source →
  5. 1.1.0 12 Jun 2021
    Release notes
    • Support setting visibility of the generated trait directly on the impl block. For example: pub impl i32 { ... }.
    • Add #[ext_sized] for adding Sized supertrait.
    Open source →
  6. 1.0.1 14 Feb 2021
    Release notes

    Update maintenance status

    Open source →
    Release notes
    • Update maintenance status.
    Open source →
  7. 1.0.0 30 Jan 2021
    Release notes
    • Support extensions on bare functions types (things like fn(i32) -> bool).
    • Support extensions on trait objects (things like dyn Send + Sync).
    Open source →
  8. 0.3.0 31 Aug 2020
    Release notes

    (cargo-release) extend version 0.3.0

    Open source →
    Release notes
    • Add async-trait compatibility.

    Breaking changes

    • Other attributes put on the impl would previously only be included on the generated trait. They're now included on both the trait and the implementation.
    Open source →
  9. 0.2.1 29 Aug 2020
    Release notes

    (cargo-release) extend version 0.2.1

    Open source →
    Release notes
    • Fix documentation link in Cargo.toml.
    • Use more correct repository URL in Cargo.toml.
    Open source →
  10. 0.2.0 29 Aug 2020
    Release notes

    (cargo-release) extend version 0.2.0

    Open source →
    Release notes
    • Handle unnamed extensions on the same generic type with different type parameters. For example Option<i32> and Option<String>. Previously we would generate the same name of both hidden traits which wouldn't compile.
    • Support associated constants in extension impls.

    Breaking changes

    • Generated traits are no longer sealed and the sealed argument previously supported by #[ext] has been removed. Making the traits sealed lead to lots of complexity that we didn't think brought much value.
    Open source →
  11. 0.1.2 22 May 2020

    Nothing published for this version

  12. 0.1.1 22 Feb 2020
    Release notes
    • Add support for specifying supertraits of the generated trait #4.
    Open source →
  13. 0.1.0 26 Nov 2019
    Release notes

    Breaking changes

    • Simplify names of traits generates for complex types.
    Open source →
  14. 0.0.2 30 Oct 2019
    Release notes
    • Move "trybuild" to dev-dependency.
    Open source →
  15. 0.0.1 30 Oct 2019
    Release notes

    Initial release.

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive