#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

#233 in #tetcoin

Download history 297/week @ 2023-12-22 59/week @ 2023-12-29 183/week @ 2024-01-05 222/week @ 2024-01-12 150/week @ 2024-01-19 136/week @ 2024-01-26 122/week @ 2024-02-02 188/week @ 2024-02-09 227/week @ 2024-02-16 159/week @ 2024-02-23 216/week @ 2024-03-01 291/week @ 2024-03-08 223/week @ 2024-03-15 331/week @ 2024-03-22 466/week @ 2024-03-29 188/week @ 2024-04-05

1,209 downloads per month
Used in 159 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
~44K SLoC