23 releases (13 stable)

new 2.7.0-beta.3 Apr 18, 2024
2.7.0-beta.1 Feb 15, 2024
2.0.1 Oct 9, 2023
2.0.0 Mar 28, 2023
0.8.0 Jun 30, 2022

#5 in #strict-encoding

Download history 1885/week @ 2023-12-23 815/week @ 2023-12-30 519/week @ 2024-01-06 655/week @ 2024-01-13 580/week @ 2024-01-20 936/week @ 2024-01-27 641/week @ 2024-02-03 859/week @ 2024-02-10 559/week @ 2024-02-17 1751/week @ 2024-02-24 1494/week @ 2024-03-02 2053/week @ 2024-03-09 1913/week @ 2024-03-16 1676/week @ 2024-03-23 964/week @ 2024-03-30 906/week @ 2024-04-06

5,747 downloads per month
Used in 74 crates (3 directly)

Apache-2.0

47KB
925 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 Institute.

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
~36K SLoC