1 stable release
1.0.0 | Apr 12, 2021 |
---|
#542 in #index
Used in matterdb
19KB
371 lines
Procedural macros for matterdb
This crate provides several procedural macros for MatterDB.
Overview of presented macros:
BinaryValue
: derive macro forBinaryValue
trait of MerkleDB. The implementation usesserde
traits usingbincode
.FromAccess
: derive macro forFromAccess
trait for schemas of MerkleDB indexes.
Consult the crate docs for more details.
Usage
Include matterdb-derive
as a dependency in your Cargo.toml
:
[dependencies]
matterdb-derive = "1.0.0"
License
matterdb-derive
is licensed under the Apache License (Version 2.0).
See LICENSE for details.
lib.rs
:
This crate provides macros for deriving some useful methods and traits for the MatterDB.
Dependencies
~2MB
~45K SLoC