1 stable release
1.0.0 | May 15, 2022 |
---|
#508 in #index
Used in metaldb
19KB
371 lines
Procedural macros for metaldb
This crate provides several procedural macros for metaldb.
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 metaldb-derive
as a dependency in your Cargo.toml
:
[dependencies]
metaldb-derive = "1.0.0"
License
metaldb-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 metaldb.
Dependencies
~2MB
~44K SLoC