| 1 | //! Implementation details for the `uuid` crate. |
| 2 | //! |
| 3 | //! This crate is not meant to be used directly. It |
| 4 | //! allows `wasm32-unknown-unknown` users who aren't |
| 5 | //! in a JS-enabled runtime to configure a source of |
| 6 | //! randomness via `getrandom`: |
| 7 | //! |
| 8 | //! ```toml |
| 9 | //! [dependencies.uuid] |
| 10 | //! features = ["v4", "rng-getrandom"] |
| 11 | //! ``` |
| 12 | |
| 13 | #[doc(hidden)] |
| 14 | pub mod __private { |
| 15 | #[cfg(feature = "getrandom")] |
| 16 | pub use getrandom; |
| 17 | |
| 18 | #[cfg(feature = "rand")] |
| 19 | pub use rand; |
| 20 | } |