4 releases

0.11.0-beta.5 Mar 19, 2024
0.11.0-beta.4 Feb 26, 2024
0.10.0 May 14, 2023
0.10.0-beta.1 May 11, 2023

#1761 in Encoding

Download history 354/week @ 2024-01-01 210/week @ 2024-01-08 447/week @ 2024-01-15 372/week @ 2024-01-22 621/week @ 2024-01-29 312/week @ 2024-02-05 378/week @ 2024-02-12 223/week @ 2024-02-19 1358/week @ 2024-02-26 1018/week @ 2024-03-04 586/week @ 2024-03-11 1035/week @ 2024-03-18 1242/week @ 2024-03-25 526/week @ 2024-04-01 671/week @ 2024-04-08 299/week @ 2024-04-15

2,975 downloads per month
Used in 26 crates (via commit_verify)

Apache-2.0

13KB
136 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
~47K SLoC