-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Expand file tree
/
Copy pathlib.rs
More file actions
25 lines (23 loc) · 733 Bytes
/
lib.rs
File metadata and controls
25 lines (23 loc) · 733 Bytes
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
// # Implementation Note:
//
// This example is also used to demonstrate SSR hydration.
// It is important to follow the following rules when updating this example:
//
// - Do not use usize for randomised contents.
//
// usize differs in memory size in 32-bit and 64-bit targets (wasm32 is a 32-bit target family.)
// and would lead to a different value even if the Rng at the same state.
//
// - Do not swap StdRng for SmallRng.
//
// SmallRng uses different algorithms depending on the platform.
// Hence, it may not yield the same value on the client and server side.
mod app;
pub mod components;
pub mod content;
mod generator;
pub mod imagegen;
pub mod pages;
pub use app::*;
pub use content::*;
pub use generator::*;