metaldb-derive

Crates.iometaldb-derive
lib.rsmetaldb-derive
version1.0.0
sourcesrc
created_at2022-05-15 12:06:47.075326
updated_at2022-05-15 12:06:47.075326
descriptionProcedural macros for metaldb.
homepage
repositoryhttps://github.com/olegnn/metaldb
max_upload_size
id587120
size29,475
Oleg Nosov (olegnn)

documentation

https://docs.rs/metaldb

README

Procedural macros for metaldb

rust 1.45.0+ required

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.

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.

Commit count: 2

cargo fmt