#macro-derive #traits #partial-default

macro partial-default-derive

Derive-macro support for PartialDefault

1 unstable release

0.1.0 Oct 25, 2023

#666 in #macro-derive

Download history 773/week @ 2024-01-07 695/week @ 2024-01-14 955/week @ 2024-01-21 872/week @ 2024-01-28 1044/week @ 2024-02-04 1030/week @ 2024-02-11 909/week @ 2024-02-18 1179/week @ 2024-02-25 1207/week @ 2024-03-03 1251/week @ 2024-03-10 1522/week @ 2024-03-17 1306/week @ 2024-03-24 1200/week @ 2024-03-31 779/week @ 2024-04-07 1583/week @ 2024-04-14 1174/week @ 2024-04-21

4,804 downloads per month
Used in partial-default

AGPL-3.0-only

13KB
209 lines

This crate provides a derive-macro for the partial-default crate. See there for more details.

License and Contributions

PartialDefault was made to support libsignal, but is available for general use under the AGPLv3. Still, this is meant to be a low-maintenance crate; do not expect active support or progress on feature requests.

Signal does accept external contributions to this project; however, signing a CLA (Contributor License Agreement) is required for all contributions.

Copyright 2023 Signal Messenger, LLC.

The partial-default-derive crate contains code adapted from the rust-smart-default crate, Copyright (c) 2017 Idan Arye, under the MIT license.

Dependencies

~0.4–0.8MB
~19K SLoC