#palette #derive #macros

macro palette_derive

Automatically implement traits from the palette crate

9 releases

0.7.3 Aug 10, 2023
0.7.2 May 21, 2023
0.7.1 Apr 16, 2023
0.6.1 Jul 16, 2022
0.4.0 May 26, 2018

#1161 in Procedural macros

Download history 11888/week @ 2023-08-16 11307/week @ 2023-08-23 9918/week @ 2023-08-30 11925/week @ 2023-09-06 12993/week @ 2023-09-13 13146/week @ 2023-09-20 13147/week @ 2023-09-27 11505/week @ 2023-10-04 10465/week @ 2023-10-11 13456/week @ 2023-10-18 14696/week @ 2023-10-25 13493/week @ 2023-11-01 15393/week @ 2023-11-08 14444/week @ 2023-11-15 13912/week @ 2023-11-22 12479/week @ 2023-11-29

58,084 downloads per month
Used in 307 crates (via palette)

MIT/Apache

51KB
1.5K 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 and similar changes.

License

Licensed under either of

at your option.


lib.rs:

Derives traits from the palette crate.

Dependencies

~0.4–0.9MB
~21K SLoC