simd_json_derive_int/
lib.rs

1use proc_macro::TokenStream;
2
3mod args;
4mod deserialize;
5mod serialize;
6
7#[proc_macro_derive(Serialize, attributes(serde, simd_json))]
8pub fn derive_serialize(input: TokenStream) -> TokenStream {
9    serialize::derive(input)
10}
11
12#[proc_macro_derive(Deserialize, attributes(serde, simd_json))]
13pub fn derive_deserialize(input: TokenStream) -> TokenStream {
14    deserialize::derive(input)
15}