Rocket/lib/src/request/data/mod.rs

12 lines
420 B
Rust
Raw Normal View History

//! Talk about the data thing.
2016-10-09 11:29:02 +00:00
#[cfg(any(test, feature = "testing"))] pub mod test_data;
#[cfg(not(any(test, feature = "testing")))] pub mod data;
#[cfg(not(any(test, feature = "testing")))] pub mod data_stream;
mod from_data;
2016-10-09 11:29:02 +00:00
pub use self::from_data::{FromData, DataOutcome};
2016-10-09 11:29:02 +00:00
#[cfg(any(test, feature = "testing"))] pub use self::test_data::Data;
#[cfg(not(any(test, feature = "testing")))] pub use self::data::Data;