drt-sc-derive 0.0.1

DharitriOne smart contract API procedural macros
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use syn::{punctuated::Punctuated, token::PathSep};

/// Path to a Rust module containing a contract module.
pub type ModulePath = Punctuated<syn::PathSegment, PathSep>;

#[derive(Clone, Debug)]
pub struct Supertrait {
    pub full_path: syn::Path,
    #[allow(dead_code)]
    pub trait_name: syn::PathSegment,
    pub module_path: ModulePath,
}