// Copyright: Ankitects Pty Ltd and contributors // License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html macro_rules! protobuf { ($ident:ident) => { pub mod $ident { #![allow(clippy::derive_partial_eq_without_eq)] include!(concat!( env!("OUT_DIR"), concat!("/anki.", stringify!($ident), ".rs") )); } pub use $ident::*; }; } protobuf!(backend); protobuf!(card_rendering); protobuf!(cards); protobuf!(collection); protobuf!(config); protobuf!(deckconfig); protobuf!(decks); protobuf!(generic); protobuf!(i18n); protobuf!(import_export); protobuf!(links); protobuf!(media); protobuf!(notes); protobuf!(notetypes); protobuf!(scheduler); protobuf!(search); protobuf!(stats); protobuf!(sync); protobuf!(tags);