#macro-derive #traits #partial-default

macro partial-default-derive

Derive-macro support for PartialDefault

1 unstable release

0.1.0 Oct 25, 2023

#813 in #macro-derive

Download history 1290/week @ 2024-05-22 1039/week @ 2024-05-29 992/week @ 2024-06-05 976/week @ 2024-06-12 1504/week @ 2024-06-19 1707/week @ 2024-06-26 1057/week @ 2024-07-03 1762/week @ 2024-07-10 1313/week @ 2024-07-17 1257/week @ 2024-07-24 1474/week @ 2024-07-31 1565/week @ 2024-08-07 1591/week @ 2024-08-14 1717/week @ 2024-08-21 1396/week @ 2024-08-28 1414/week @ 2024-09-04

6,400 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

~255–700KB
~17K SLoC