git-sumi 0.3.0

Non-opinionated commit message linter
Documentation
// Latest Gitmoji version: v3.15
// The unicode emojis were normalised using GNU sed:
// sed -i 's/\xEF\xB8\x8F//g' gitmoji.rs

use std::collections::HashSet;
use std::sync::LazyLock;

pub static UNICODE_EMOJIS: LazyLock<HashSet<&'static str>> = LazyLock::new(|| {
    HashSet::from([
        "๐ŸŽจ", // :art:
        "โšก", // :zap: without variation selector
        "๐Ÿ”ฅ", // :fire:
        "๐Ÿ›", // :bug:
        "๐Ÿš‘", // :ambulance:
        "โœจ", // :sparkles:
        "๐Ÿ“", // :memo:
        "๐Ÿš€", // :rocket:
        "๐Ÿ’„", // :lipstick:
        "๐ŸŽ‰", // :tada:
        "โœ…", // :white_check_mark:
        "๐Ÿ”’", // :lock:
        "๐Ÿ”", // :closed_lock_with_key:
        "๐Ÿ”–", // :bookmark:
        "๐Ÿšจ", // :rotating_light:
        "๐Ÿšง", // :construction:
        "๐Ÿ’š", // :green_heart:
        "โฌ‡",  // :arrow_down:
        "โฌ†",  // :arrow_up:
        "๐Ÿ“Œ", // :pushpin:
        "๐Ÿ‘ท", // :construction_worker:
        "๐Ÿ“ˆ", // :chart_with_upwards_trend:
        "โ™ป",  // :recycle:
        "โž•", // :heavy_plus_sign:
        "โž–", // :heavy_minus_sign:
        "๐Ÿ”ง", // :wrench:
        "๐Ÿ”จ", // :hammer:
        "๐ŸŒ", // :globe_with_meridians:
        "โœ",  // :pencil2:
        "๐Ÿ’ฉ", // :poop:
        "โช", // :rewind:
        "๐Ÿ”€", // :twisted_rightwards_arrows:
        "๐Ÿ“ฆ", // :package:
        "๐Ÿ‘ฝ", // :alien:
        "๐Ÿšš", // :truck:
        "๐Ÿ“„", // :page_facing_up:
        "๐Ÿ’ฅ", // :boom:
        "๐Ÿฑ", // :bento:
        "โ™ฟ", // :wheelchair:
        "๐Ÿ’ก", // :bulb:
        "๐Ÿป", // :beers:
        "๐Ÿ’ฌ", // :speech_balloon:
        "๐Ÿ—ƒ",  // :card_file_box:
        "๐Ÿ”Š", // :loud_sound:
        "๐Ÿ”‡", // :mute:
        "๐Ÿ‘ฅ", // :busts_in_silhouette:
        "๐Ÿšธ", // :children_crossing:
        "๐Ÿ—",  // :building_construction:
        "๐Ÿ“ฑ", // :iphone:
        "๐Ÿคก", // :clown_face:
        "๐Ÿฅš", // :egg:
        "๐Ÿ™ˆ", // :see_no_evil:
        "๐Ÿ“ธ", // :camera_flash:
        "โš—",  // :alembic:
        "๐Ÿ”", // :mag:
        "๐Ÿท",  // :label:
        "๐ŸŒฑ", // :seedling:
        "๐Ÿšฉ", // :triangular_flag_on_post:
        "๐Ÿฅ…", // :goal_net:
        "๐Ÿ’ซ", // :dizzy:
        "๐Ÿ—‘",  // :wastebasket:
        "๐Ÿ›‚", // :passport_control:
        "๐Ÿฉน", // :adhesive_bandage:
        "๐Ÿง", // :monocle_face:
        "โšฐ",  // :coffin:
        "๐Ÿงช", // :test_tube:
        "๐Ÿ‘”", // :necktie:
        "๐Ÿฉบ", // :stethoscope:
        "๐Ÿงฑ", // :bricks:
        "๐Ÿง‘โ€๐Ÿ’ป", // :technologist:
        "๐Ÿ’ธ", // :money_with_wings:
        "๐Ÿงต", // :thread:
        "๐Ÿฆบ", // :safety_vest:
        "โœˆ",  // :airplane:
    ])
});

pub static STRING_EMOJIS: LazyLock<HashSet<&'static str>> = LazyLock::new(|| {
    HashSet::from([
        ":art:",
        ":zap:",
        ":fire:",
        ":bug:",
        ":ambulance:",
        ":sparkles:",
        ":memo:",
        ":rocket:",
        ":lipstick:",
        ":tada:",
        ":white_check_mark:",
        ":lock:",
        ":closed_lock_with_key:",
        ":bookmark:",
        ":rotating_light:",
        ":construction:",
        ":green_heart:",
        ":arrow_down:",
        ":arrow_up:",
        ":pushpin:",
        ":construction_worker:",
        ":chart_with_upwards_trend:",
        ":recycle:",
        ":heavy_plus_sign:",
        ":heavy_minus_sign:",
        ":wrench:",
        ":hammer:",
        ":globe_with_meridians:",
        ":pencil2:",
        ":poop:",
        ":rewind:",
        ":twisted_rightwards_arrows:",
        ":package:",
        ":alien:",
        ":truck:",
        ":page_facing_up:",
        ":boom:",
        ":bento:",
        ":wheelchair:",
        ":bulb:",
        ":beers:",
        ":speech_balloon:",
        ":card_file_box:",
        ":loud_sound:",
        ":mute:",
        ":busts_in_silhouette:",
        ":children_crossing:",
        ":building_construction:",
        ":iphone:",
        ":clown_face:",
        ":egg:",
        ":see_no_evil:",
        ":camera_flash:",
        ":alembic:",
        ":mag:",
        ":label:",
        ":seedling:",
        ":triangular_flag_on_post:",
        ":goal_net:",
        ":dizzy:",
        ":wastebasket:",
        ":passport_control:",
        ":adhesive_bandage:",
        ":monocle_face:",
        ":coffin:",
        ":test_tube:",
        ":necktie:",
        ":stethoscope:",
        ":bricks:",
        ":technologist:",
        ":money_with_wings:",
        ":thread:",
        ":safety_vest:",
        ":airplane:",
    ])
});