condition-matcher-derive 0.1.0

Derive macro for condition-matcher
Documentation
  • Coverage
  • 100%
    2 out of 2 items documented0 out of 1 items with examples
  • Size
  • Source code size: 6.76 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 293.07 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 4s Average build duration of successful builds.
  • all releases: 4s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • mindbend0x

Condition Matcher Derive

This crate provides the #[derive(Matchable)] procedural macro for the condition-matcher crate.

Usage

use condition_matcher::{Matchable, MatchableDerive};

#[derive(MatchableDerive, PartialEq)]
struct User {
    name: String,
    age: u32,
    email: Option<String>,
}