matterdb-derive

Crates.iomatterdb-derive
lib.rsmatterdb-derive
version1.0.0
sourcesrc
created_at2021-04-12 15:24:21.715304
updated_at2021-04-12 15:24:21.715304
descriptionProcedural macros for matterdb.
homepage
repositoryhttps://github.com/popzxc/matterdb
max_upload_size
id382435
size29,498
Igor Aleksanov (popzxc)

documentation

https://docs.rs/matterdb

README

Procedural macros for matterdb

rust 1.45.0+ required

This crate provides several procedural macros for MatterDB.

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 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.

Commit count: 30

cargo fmt