trait_transformer/lib.rs
1// Copyright (c) 2023 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4// https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
5// <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
6// option. This file may not be copied, modified, or distributed
7// except according to those terms.
8
9mod transformer;
10
11#[proc_macro_attribute]
12pub fn trait_transformer(
13 attr: proc_macro::TokenStream,
14 item: proc_macro::TokenStream,
15) -> proc_macro::TokenStream {
16 transformer::trait_transformer(attr, item)
17}