veltrix 0.7.3

Unix helpers, service integrations, and Unicode metadata
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Unicode-specific helpers.
//!
//! This parent module is the canonical home for Unicode domains.

#[cfg(feature = "unicode-emojis")]
/// Emoji constants and lookup helpers.
pub mod emojis;

#[cfg(all(test, feature = "unicode-emojis"))]
mod tests {
    #[test]
    fn unicode_emojis_reexports_generated_data() {
        let emoji = super::emojis::find_by_search_term("smile").expect("smile exists");

        assert_eq!(emoji.unicode_version, super::emojis::UNICODE_EMOJI_VERSION);
    }
}