28 releases (17 stable)

2.8.0 Nov 4, 2024
2.7.0 Aug 30, 2024
2.7.0-beta.3 Apr 18, 2024
2.7.0-beta.1 Feb 15, 2024
0.8.0 Jun 30, 2022

#4 in #strict-encoding

Download history 622/week @ 2024-08-02 1762/week @ 2024-08-09 2284/week @ 2024-08-16 906/week @ 2024-08-23 2474/week @ 2024-08-30 947/week @ 2024-09-06 1150/week @ 2024-09-13 1588/week @ 2024-09-20 480/week @ 2024-09-27 524/week @ 2024-10-04 2554/week @ 2024-10-11 1203/week @ 2024-10-18 1062/week @ 2024-10-25 1582/week @ 2024-11-01 580/week @ 2024-11-08 1187/week @ 2024-11-15

4,463 downloads per month
Used in 80 crates (3 directly)

Apache-2.0

47KB
913 lines

Strict 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 UBIDECO Labs.

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 the latest version of the strict_encoding crate in[dependencies] section of your project Cargo.toml. This crate includes derivation macros from the present library by default.

strict_encoding = "2.0"

Library exports derivation macros StrictType, StrictDumb, StrictEncode, StrictDecode.

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

~1.5MB
~40K SLoC