test-format 0.1.1

Provides the assert_debug_fmt and assert_display_fmt macros for testing Debug (or Display) implementations on no_std
Documentation
  • Coverage
  • 100%
    7 out of 7 items documented1 out of 5 items with examples
  • Size
  • Source code size: 43.46 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 923.16 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • sunsided/test-format
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • sunsided

Test Debug and Display implementations (with no_std)

Crates.io Docs Build Status Safety Dance codecov MSRV EUPL 1.2 licensed Apache 2.0 licensed MIT licensed

Test Debug and Display implementations on no_std targets viaassert_debug_fmt! and assert_display_fmt! macros:

assert_debug_fmt!(your_type, "expected debug format output");
assert_display_fmt!(your_type, "expected display format output");

Requirements

  • Rust 1.64+

Code of Conduct

We abide by the Contributor Covenant and ask that you do as well.

License

Copyright © 2024 Markus Mayer

Triple licensed under your choice of either of: