PackageTrack
Sign in Get early access

displaydoc

A derive macro for implementing the display Trait via a doc comment and string interpolation

0.2.7 526M downloads/mo #195 most downloaded on crates.io yaahc/displaydoc

What this package is like to depend on

Last release 26 days ago

28 Jul 2026

Release timing varies

gaps range from 9 days to 1.9 years

Some releases are documented

notes for 7 of 16 stable releases

Nothing withdrawn

no release was ever pulled

7 years old

16 releases · first in 2019

2 releases in the last 12 months

see the full history below

Release timeline

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

Releases

latest 16
  1. 0.2.7 28 Jul 2026
    Release notes

    Added

    • Updated syn dependency to 3.0

    Changed

    • Bumped MSRV to 1.71
    Open source →
  2. 0.2.6 27 May 2026
    Release notes

    Added

    • Support for multi-line doc comments (#57, #62)

    Changed

    • Use BTreeMap for determinism in generated code (#52)
    • Add #[allow(unused_assignments)] to generated code (#56)
    • Exclude development scripts from published package (#60)
    • Bump pretty_assertions dependency to 1.4.0 (#53)
    Open source →
  3. 0.2.5 20 Jun 2024

    Nothing published for this version

  4. 0.2.4 03 May 2023
    Release notes

    Added

    • Updated syn dependency to 2.0
    • Support for empty enums
    • Implicitly require fmt::Display on all type parameters unless overridden

    Changed

    • Bumped MSRV to 1.56
    Open source →
  5. 0.2.3 16 Jul 2021
    Release notes

    (cargo-release) displaydoc version 0.2.3

    Open source →
    Release notes

    Added

    • Added #[displaydoc("..")] attribute for overriding a doc comment
    Open source →
  6. 0.2.2 01 Jul 2021
    Release notes

    (cargo-release) displaydoc version 0.2.2

    Open source →
    Release notes

    Added

    • Added prefix feature to use the doc comment from an enum and prepend it before the error message from each variant.
    Open source →
  7. 0.2.1 26 Mar 2021
    Release notes

    (cargo-release) displaydoc version 0.2.1

    Open source →
    Release notes

    Added

    • Added opt in support for ignoring extra doc attributes
    Open source →
  8. 0.2.0 17 Mar 2021
    Release notes

    (cargo-release) displaydoc version 0.2.0

    Open source →
    Release notes

    Changed

    • (BREAKING) disallow multiple doc attributes in display impl [https://github.com/yaahc/displaydoc/pull/22]. Allowing and ignoring extra doc attributes made it too easy to accidentally create a broken display implementation with missing context without realizing it, this change turns that into a hard error and directs users towards block comments if multiple lines are needed.

    <!-- next-url --> [Unreleased]: https://github.com/yaahc/displaydoc/compare/v0.2.7...HEAD [0.2.7]: https://github.com/yaahc/displaydoc/compare/v0.2.6...v0.2.7 [0.2.6]: https://github.com/yaahc/displaydoc/compare/v0.2.5...v0.2.6 [0.2.5]: https://github.com/yaahc/displaydoc/compare/v0.2.4...v0.2.5 [0.2.4]: https://github.com/yaahc/displaydoc/compare/v0.2.3...v0.2.4 [0.2.3]: https://github.com/yaahc/displaydoc/compare/v0.2.2...v0.2.3 [0.2.2]: https://github.com/yaahc/displaydoc/compare/v0.2.1...v0.2.2 [0.2.1]: https://github.com/yaahc/displaydoc/compare/v0.2.0...v0.2.1 [0.2.0]: https://github.com/yaahc/displaydoc/releases/tag/v0.2.0

    Open source →
  9. 0.1.7 18 Jul 2020

    Nothing published for this version

  10. 0.1.6 03 May 2020

    Nothing published for this version

  11. 0.1.5 21 Nov 2019

    Nothing published for this version

  12. 0.1.4 18 Oct 2019

    Nothing published for this version

  13. 0.1.3 12 Oct 2019

    Nothing published for this version

  14. 0.1.2 12 Oct 2019

    Nothing published for this version

  15. 0.1.1 12 Oct 2019

    Nothing published for this version

  16. 0.1.0 10 Oct 2019

    Nothing published for this version

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