#tetcoin #framework #blockchain #crypto #proc-macro

macro tp-runtime-interface-proc-macro

This crate provides procedural macros for usage within the context of the Tetcore runtime interface

Show the crate…

3 stable releases

2.1.2 Jun 23, 2021
2.0.2 Apr 3, 2021
2.0.1 Apr 1, 2021

#232 in #tetcoin

Download history 204/week @ 2024-07-29 208/week @ 2024-08-05 155/week @ 2024-08-12 136/week @ 2024-08-19 236/week @ 2024-08-26 110/week @ 2024-09-02 148/week @ 2024-09-09 151/week @ 2024-09-16 211/week @ 2024-09-23 143/week @ 2024-09-30 13/week @ 2024-10-07 96/week @ 2024-10-14 149/week @ 2024-10-21 98/week @ 2024-10-28 121/week @ 2024-11-04 46/week @ 2024-11-11

420 downloads per month
Used in 158 crates (via tp-runtime-interface)

Apache-2.0

54KB
1K SLoC

Tetcore · GitHub license PRs Welcome

appveyor Rust - Debug Build Rust - Release Build

🚀 Tetcore enables the rapid prototyping of blockchains built for any purpose.

Trying it out

Simply go to core.tetcoin.org and follow the installation instructions. You can also try out one of the tutorials.

Contributions & Code of Conduct

Please follow the contributions guidelines as outlined in docs/CONTRIBUTING.adoc. In all communications and contributions, this project follows the Contributor Covenant Code of Conduct.

Security

The security policy and procedures can be found in docs/SECURITY.md.

License

The reason for the split-licensing is to ensure that for the vast majority of teams using Tetcore to create feature-chains, then all changes can be made entirely in Apache2-licensed code, allowing teams full freedom over what and how they release and giving licensing clarity to commercial teams.

In the interests of the community, we require any deeper improvements made to Tetcore's core logic (e.g. Tetcore's internal consensus, crypto or database code) to be contributed back so everyone can benefit.


lib.rs:

This crate provides procedural macros for usage within the context of the Tetcore runtime interface.

The following macros are provided:

  1. The #[runtime_interface] attribute macro for generating the runtime interfaces.
  2. The PassByCodec derive macro for implementing PassBy with Codec.
  3. The PassByEnum derive macro for implementing PassBy with Enum.
  4. The PassByInner derive macro for implementing PassBy with Inner.

Dependencies

~2MB
~49K SLoC