#palette #macro-derive #derive #macro

macro palette_derive

Automatically implement traits from the palette crate

12 releases

0.7.6 Apr 28, 2024
0.7.5 Feb 25, 2024
0.7.4 Jan 28, 2024
0.7.3 Aug 10, 2023
0.4.0 May 26, 2018

#44 in #palette

Download history 20936/week @ 2024-01-25 17503/week @ 2024-02-01 18342/week @ 2024-02-08 19951/week @ 2024-02-15 21352/week @ 2024-02-22 22176/week @ 2024-02-29 20105/week @ 2024-03-07 20182/week @ 2024-03-14 21645/week @ 2024-03-21 19692/week @ 2024-03-28 17385/week @ 2024-04-04 20129/week @ 2024-04-11 19983/week @ 2024-04-18 22528/week @ 2024-04-25 25890/week @ 2024-05-02 20897/week @ 2024-05-09

92,555 downloads per month
Used in 370 crates (via palette)

MIT/Apache

68KB
2K SLoC

palette_derive

Contains derive macros for the palette crate. They are all reexported through palette and require it to be a dependency, so there is typically no reason to use this crate directly.

Minimum Supported Rust Version (MSRV)

This version of Palette has been automatically tested with Rust version 1.60.0 and the stable, beta, and nightly channels. Future versions of the library may advance the minimum supported version to make use of new language features, but this will normally be considered a breaking change. Exceptions may be made for security patches, dependencies advancing their MSRV in minor or patch releases, and similar changes.

License

Licensed under either of

at your option.


lib.rs:

Derives traits from the palette crate.

Dependencies

~0.3–0.8MB
~20K SLoC