11 releases (6 breaking)

0.7.0 Mar 25, 2024
0.6.0 Jan 23, 2024
0.5.2 Dec 5, 2023
0.4.2 Sep 25, 2023
0.1.0 Jun 2, 2023

#2629 in Procedural macros

Download history 104/week @ 2025-06-29 79/week @ 2025-07-06 219/week @ 2025-07-13 234/week @ 2025-07-20 281/week @ 2025-07-27 633/week @ 2025-08-03 498/week @ 2025-08-10 309/week @ 2025-08-17 505/week @ 2025-08-24 787/week @ 2025-08-31 468/week @ 2025-09-07 325/week @ 2025-09-14 449/week @ 2025-09-21 525/week @ 2025-09-28 465/week @ 2025-10-05 937/week @ 2025-10-12

2,413 downloads per month
Used in 15 crates (via twenty-first)

GPL-2.0 license

46KB
1K SLoC

This crate provides a derive macro for the BFieldCodec trait.

The macro emits statements starting with: use crate::twenty_first::

Crates that use this macro must add a use statement twenty_first in their lib.rs: use twenty_first;

or if using twenty-first via re-export in dep_crate: use dep_crate::twenty_first;

Failure to do so will result in compile errors.

Dependencies

~150–550KB
~13K SLoC