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 878/week @ 2024-07-22 1780/week @ 2024-07-29 1129/week @ 2024-08-05 1800/week @ 2024-08-12 1848/week @ 2024-08-19 1571/week @ 2024-08-26 1835/week @ 2024-09-02 752/week @ 2024-09-09 2053/week @ 2024-09-16 718/week @ 2024-09-23 483/week @ 2024-09-30 1498/week @ 2024-10-07 2039/week @ 2024-10-14 638/week @ 2024-10-21 1538/week @ 2024-10-28 1112/week @ 2024-11-04

5,977 downloads per month
Used in 78 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