mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-23 08:18:03 +00:00
13 lines
332 B
Rust
13 lines
332 B
Rust
#![feature(plugin_registrar, rustc_private)]
|
|
#![cfg_attr(feature = "clippy", feature(plugin))]
|
|
#![cfg_attr(feature = "clippy", plugin(clippy))]
|
|
|
|
extern crate serde_codegen;
|
|
extern crate rustc_plugin;
|
|
|
|
#[plugin_registrar]
|
|
#[doc(hidden)]
|
|
pub fn plugin_registrar(reg: &mut rustc_plugin::Registry) {
|
|
serde_codegen::register(reg);
|
|
}
|