git_sumi/lint/constants/gitmoji.rs
1// Latest Gitmoji version: v3.15
2// The unicode emojis were normalised using GNU sed:
3// sed -i 's/\xEF\xB8\x8F//g' gitmoji.rs
4
5use std::collections::HashSet;
6use std::sync::LazyLock;
7
8pub static UNICODE_EMOJIS: LazyLock<HashSet<&'static str>> = LazyLock::new(|| {
9 HashSet::from([
10 "๐จ", // :art:
11 "โก", // :zap: without variation selector
12 "๐ฅ", // :fire:
13 "๐", // :bug:
14 "๐", // :ambulance:
15 "โจ", // :sparkles:
16 "๐", // :memo:
17 "๐", // :rocket:
18 "๐", // :lipstick:
19 "๐", // :tada:
20 "โ
", // :white_check_mark:
21 "๐", // :lock:
22 "๐", // :closed_lock_with_key:
23 "๐", // :bookmark:
24 "๐จ", // :rotating_light:
25 "๐ง", // :construction:
26 "๐", // :green_heart:
27 "โฌ", // :arrow_down:
28 "โฌ", // :arrow_up:
29 "๐", // :pushpin:
30 "๐ท", // :construction_worker:
31 "๐", // :chart_with_upwards_trend:
32 "โป", // :recycle:
33 "โ", // :heavy_plus_sign:
34 "โ", // :heavy_minus_sign:
35 "๐ง", // :wrench:
36 "๐จ", // :hammer:
37 "๐", // :globe_with_meridians:
38 "โ", // :pencil2:
39 "๐ฉ", // :poop:
40 "โช", // :rewind:
41 "๐", // :twisted_rightwards_arrows:
42 "๐ฆ", // :package:
43 "๐ฝ", // :alien:
44 "๐", // :truck:
45 "๐", // :page_facing_up:
46 "๐ฅ", // :boom:
47 "๐ฑ", // :bento:
48 "โฟ", // :wheelchair:
49 "๐ก", // :bulb:
50 "๐ป", // :beers:
51 "๐ฌ", // :speech_balloon:
52 "๐", // :card_file_box:
53 "๐", // :loud_sound:
54 "๐", // :mute:
55 "๐ฅ", // :busts_in_silhouette:
56 "๐ธ", // :children_crossing:
57 "๐", // :building_construction:
58 "๐ฑ", // :iphone:
59 "๐คก", // :clown_face:
60 "๐ฅ", // :egg:
61 "๐", // :see_no_evil:
62 "๐ธ", // :camera_flash:
63 "โ", // :alembic:
64 "๐", // :mag:
65 "๐ท", // :label:
66 "๐ฑ", // :seedling:
67 "๐ฉ", // :triangular_flag_on_post:
68 "๐ฅ
", // :goal_net:
69 "๐ซ", // :dizzy:
70 "๐", // :wastebasket:
71 "๐", // :passport_control:
72 "๐ฉน", // :adhesive_bandage:
73 "๐ง", // :monocle_face:
74 "โฐ", // :coffin:
75 "๐งช", // :test_tube:
76 "๐", // :necktie:
77 "๐ฉบ", // :stethoscope:
78 "๐งฑ", // :bricks:
79 "๐งโ๐ป", // :technologist:
80 "๐ธ", // :money_with_wings:
81 "๐งต", // :thread:
82 "๐ฆบ", // :safety_vest:
83 "โ", // :airplane:
84 ])
85});
86
87pub static STRING_EMOJIS: LazyLock<HashSet<&'static str>> = LazyLock::new(|| {
88 HashSet::from([
89 ":art:",
90 ":zap:",
91 ":fire:",
92 ":bug:",
93 ":ambulance:",
94 ":sparkles:",
95 ":memo:",
96 ":rocket:",
97 ":lipstick:",
98 ":tada:",
99 ":white_check_mark:",
100 ":lock:",
101 ":closed_lock_with_key:",
102 ":bookmark:",
103 ":rotating_light:",
104 ":construction:",
105 ":green_heart:",
106 ":arrow_down:",
107 ":arrow_up:",
108 ":pushpin:",
109 ":construction_worker:",
110 ":chart_with_upwards_trend:",
111 ":recycle:",
112 ":heavy_plus_sign:",
113 ":heavy_minus_sign:",
114 ":wrench:",
115 ":hammer:",
116 ":globe_with_meridians:",
117 ":pencil2:",
118 ":poop:",
119 ":rewind:",
120 ":twisted_rightwards_arrows:",
121 ":package:",
122 ":alien:",
123 ":truck:",
124 ":page_facing_up:",
125 ":boom:",
126 ":bento:",
127 ":wheelchair:",
128 ":bulb:",
129 ":beers:",
130 ":speech_balloon:",
131 ":card_file_box:",
132 ":loud_sound:",
133 ":mute:",
134 ":busts_in_silhouette:",
135 ":children_crossing:",
136 ":building_construction:",
137 ":iphone:",
138 ":clown_face:",
139 ":egg:",
140 ":see_no_evil:",
141 ":camera_flash:",
142 ":alembic:",
143 ":mag:",
144 ":label:",
145 ":seedling:",
146 ":triangular_flag_on_post:",
147 ":goal_net:",
148 ":dizzy:",
149 ":wastebasket:",
150 ":passport_control:",
151 ":adhesive_bandage:",
152 ":monocle_face:",
153 ":coffin:",
154 ":test_tube:",
155 ":necktie:",
156 ":stethoscope:",
157 ":bricks:",
158 ":technologist:",
159 ":money_with_wings:",
160 ":thread:",
161 ":safety_vest:",
162 ":airplane:",
163 ])
164});