File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change
1
+ //! Traits for conversions between types.
2
+
3
+ #[ doc( inline) ]
4
+ pub use http_types:: convert:: * ;
Original file line number Diff line number Diff line change @@ -207,6 +207,7 @@ pub mod router;
207
207
mod server;
208
208
mod utils;
209
209
210
+ pub mod convert;
210
211
pub mod log;
211
212
pub mod prelude;
212
213
pub mod security;
@@ -218,7 +219,6 @@ pub use redirect::Redirect;
218
219
pub use request:: Request ;
219
220
pub use response:: Response ;
220
221
pub use route:: Route ;
221
- pub use serde_json;
222
222
pub use server:: Server ;
223
223
224
224
#[ doc( inline) ]
Original file line number Diff line number Diff line change 1
1
//! The Tide prelude.
2
+ pub use crate :: convert:: { json, Deserialize , Serialize } ;
2
3
pub use http_types:: Status ;
3
- pub use serde_json:: json;
You can’t perform that action at this time.
0 commit comments