28 releases (17 stable)

new 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 1558/week @ 2024-07-14 806/week @ 2024-07-21 1902/week @ 2024-07-28 1060/week @ 2024-08-04 1645/week @ 2024-08-11 2019/week @ 2024-08-18 1377/week @ 2024-08-25 2063/week @ 2024-09-01 758/week @ 2024-09-08 1986/week @ 2024-09-15 725/week @ 2024-09-22 554/week @ 2024-09-29 860/week @ 2024-10-06 2634/week @ 2024-10-13 639/week @ 2024-10-20 1178/week @ 2024-10-27

5,390 downloads per month
Used in 75 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
~39K SLoC