1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#[cfg(engine)]
mod async_fn_trait;
#[cfg(engine)]
mod cache_res;
#[cfg(any(client, doc))]
mod checkpoint;
mod decode_time_str;
#[cfg(any(client, doc))]
mod fetch;
mod log;
#[cfg(engine)]
mod minify;
mod path_prefix;
mod render;
#[cfg(any(client, doc))]
mod replace_head;
mod test;

#[cfg(engine)]
pub(crate) use async_fn_trait::AsyncFnReturn;
#[cfg(engine)]
pub use cache_res::{cache_fallible_res, cache_res};
#[cfg(any(client, doc))]
pub use checkpoint::checkpoint;
pub use decode_time_str::{ComputedDuration, InvalidDuration, PerseusDuration}; /* These have dummy equivalents for the browser */
#[cfg(any(client, doc))]
pub(crate) use fetch::fetch;
#[cfg(engine)]
pub(crate) use minify::minify;
pub use path_prefix::*;
#[cfg(any(client, doc))]
pub(crate) use render::render_or_hydrate;
#[cfg(engine)]
pub(crate) use render::ssr_fallible;
#[cfg(any(client, doc))]
pub(crate) use replace_head::replace_head;