8 releases

new 0.12.0-alpha.2 Nov 4, 2024
0.12.0-alpha.1 Nov 3, 2024
0.11.0-beta.8 Sep 4, 2024
0.11.0-beta.7 Aug 15, 2024
0.10.0 May 14, 2023

#1642 in Encoding

Download history 1341/week @ 2024-07-14 660/week @ 2024-07-21 1553/week @ 2024-07-28 873/week @ 2024-08-04 830/week @ 2024-08-11 1786/week @ 2024-08-18 971/week @ 2024-08-25 1823/week @ 2024-09-01 599/week @ 2024-09-08 1664/week @ 2024-09-15 538/week @ 2024-09-22 324/week @ 2024-09-29 822/week @ 2024-10-06 481/week @ 2024-10-13 447/week @ 2024-10-20 698/week @ 2024-10-27

2,511 downloads per month
Used in 27 crates (via commit_verify)

Apache-2.0

13KB
135 lines

Commitment encoding derivation macros

Build Tests Lints codecov

Docs unsafe forbidden Apache-2 licensed

Derivation macros for strict encoding. To learn more about the strict encoding please check strict_encoding crate.

The development of the library is supported by LNP/BP Standards Association.

Documentation

Detailed developer & API documentation for the library can be accessed at https://docs.rs/strict_encoding_derive/

Usage

To use the library, you need to reference a latest version of the commit_encode_derive crate in[dependencies] section of your project Cargo.toml. This crate includes derivation macros from the present library by default.

commit_encode_derive = "0.10"

If you are using other client-side-validation libraries, consider importing just a single client_side_validation library which re-exports all of them, including the current one.

Library exports derivation macros #[derive(CommitEncode)].

Contributing

Contribution guidelines can be found in CONTRIBUTING

Licensing

The libraries are distributed on the terms of Apache 2.0 opensource license. See LICENCE file for the license details.

Dependencies

~2MB
~51K SLoC