anchor-syn 1.0.1

Anchor syntax parsing and code generation tools
Documentation
1
2
3
4
5
6
7
8
9
pub mod accounts;
pub mod context;
pub mod docs;
pub mod error;
pub mod program;

pub fn tts_to_string<T: quote::ToTokens>(item: T) -> String {
    item.to_token_stream().to_string()
}