Crates.io | metaldb-derive |
lib.rs | metaldb-derive |
version | 1.0.0 |
source | src |
created_at | 2022-05-15 12:06:47.075326 |
updated_at | 2022-05-15 12:06:47.075326 |
description | Procedural macros for metaldb. |
homepage | |
repository | https://github.com/olegnn/metaldb |
max_upload_size | |
id | 587120 |
size | 29,475 |
This crate provides several procedural macros for metaldb.
Overview of presented macros:
BinaryValue
: derive macro for BinaryValue
trait of MerkleDB.
The implementation uses serde
traits using bincode
.FromAccess
: derive macro for FromAccess
trait for schemas of
MerkleDB indexes.Consult the crate docs for more details.
Include metaldb-derive
as a dependency in your Cargo.toml
:
[dependencies]
metaldb-derive = "1.0.0"
metaldb-derive
is licensed under the Apache License (Version 2.0).
See LICENSE for details.