Conditionally emit rocket::http_verb attr macros if lib/bin

This commit is contained in:
Devin Ragotzy
2020-07-25 23:08:00 -04:00
committed by timokoesters
parent b82fd02ee3
commit 42e0102a2a
8 changed files with 453 additions and 170 deletions

View File

@@ -13,6 +13,7 @@ mod utils;
pub use database::Database;
pub use error::{Error, Result};
pub use pdu::PduEvent;
pub use rocket::State;
pub use ruma_wrapper::{ConduitResult, Ruma, RumaResponse};
use rocket::{fairing::AdHoc, routes};