mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
* Rename within files * Rename in CI * Rename the folder and file names * Rename raw_rs to rawkit * Add example to README * Add initial documentation * Small API changes and extra documentation * Bump versions and stuff * Readme improvements * Merge proc-macro crates into one * Add README to rawkit-proc-macros * Remove keywords and categories * Add licenses to rawkit-proc-macros --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
17 lines
325 B
Rust
17 lines
325 B
Rust
extern crate proc_macro;
|
|
|
|
mod build_camera_data;
|
|
mod tag_derive;
|
|
|
|
use proc_macro::TokenStream;
|
|
|
|
#[proc_macro_derive(Tag)]
|
|
pub fn tag_derive(input: TokenStream) -> TokenStream {
|
|
tag_derive::tag_derive(input)
|
|
}
|
|
|
|
#[proc_macro]
|
|
pub fn build_camera_data(_: TokenStream) -> TokenStream {
|
|
build_camera_data::build_camera_data()
|
|
}
|