You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

34 lines
556 B

#![allow(dead_code)]
/// Macro-izes `#[doc = x]`.
#[macro_export]
macro_rules! doc_comment {
($x:expr, $($tt:tt)*) => {
#[doc = $x]
$($tt)*
};
}
#[macro_export]
macro_rules! serialize {
(conf_enum: $($tt:tt)*) => {
#[derive(serde::Deserialize, serde::Serialize)]
#[serde(deny_unknown_fields)]
$($tt)*
};
(conf: $($tt:tt)*) => {
#[derive(serde::Deserialize, serde::Serialize)]
#[serde(rename_all = "kebab-case", deny_unknown_fields, default)]
$($tt)*
};
}
#[macro_use]
pub mod ffi;
#[macro_use]
pub mod log;
pub mod meta;
// EOF