8 releases

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

#1647 in Encoding

Download history 799/week @ 2024-07-22 1398/week @ 2024-07-29 892/week @ 2024-08-05 1024/week @ 2024-08-12 1606/week @ 2024-08-19 1100/week @ 2024-08-26 1678/week @ 2024-09-02 587/week @ 2024-09-09 1714/week @ 2024-09-16 529/week @ 2024-09-23 276/week @ 2024-09-30 1071/week @ 2024-10-07 258/week @ 2024-10-14 439/week @ 2024-10-21 751/week @ 2024-10-28 568/week @ 2024-11-04

2,271 downloads per month
Used in 29 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