@nozich/git-mood 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/ci.yml +20 -0
- package/.github/workflows/release.yml +105 -0
- package/Cargo.lock +475 -0
- package/Cargo.toml +10 -0
- package/LICENSE +21 -0
- package/README.md +88 -0
- package/bin/cli.js +106 -0
- package/package.json +32 -0
- package/src/hook.rs +70 -0
- package/src/main.rs +264 -0
- package/src/sentiment.rs +120 -0
- package/src/svg.rs +190 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [ "main", "master" ]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [ "main", "master" ]
|
|
8
|
+
|
|
9
|
+
env:
|
|
10
|
+
CARGO_TERM_COLOR: always
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
build:
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
steps:
|
|
16
|
+
- uses: actions/checkout@v4
|
|
17
|
+
- name: Build
|
|
18
|
+
run: cargo build --verbose
|
|
19
|
+
- name: Run tests
|
|
20
|
+
run: cargo test --verbose
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- 'v*'
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: write
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
build:
|
|
13
|
+
name: Build - ${{ matrix.target }}
|
|
14
|
+
runs-on: ${{ matrix.os }}
|
|
15
|
+
strategy:
|
|
16
|
+
matrix:
|
|
17
|
+
include:
|
|
18
|
+
- os: ubuntu-latest
|
|
19
|
+
target: x86_64-unknown-linux-gnu
|
|
20
|
+
asset_name: git-mood-linux-x64
|
|
21
|
+
use_cross: false
|
|
22
|
+
- os: ubuntu-latest
|
|
23
|
+
target: aarch64-unknown-linux-gnu
|
|
24
|
+
asset_name: git-mood-linux-arm64
|
|
25
|
+
use_cross: true
|
|
26
|
+
- os: macos-latest
|
|
27
|
+
target: x86_64-apple-darwin
|
|
28
|
+
asset_name: git-mood-darwin-x64
|
|
29
|
+
use_cross: false
|
|
30
|
+
- os: macos-latest
|
|
31
|
+
target: aarch64-apple-darwin
|
|
32
|
+
asset_name: git-mood-darwin-arm64
|
|
33
|
+
use_cross: false
|
|
34
|
+
- os: windows-latest
|
|
35
|
+
target: x86_64-pc-windows-msvc
|
|
36
|
+
asset_name: git-mood-win32-x64.exe
|
|
37
|
+
use_cross: false
|
|
38
|
+
|
|
39
|
+
steps:
|
|
40
|
+
- name: Checkout repository
|
|
41
|
+
uses: actions/checkout@v4
|
|
42
|
+
|
|
43
|
+
- name: Install Rust toolchain
|
|
44
|
+
uses: dtolnay/rust-toolchain@stable
|
|
45
|
+
with:
|
|
46
|
+
targets: ${{ matrix.target }}
|
|
47
|
+
|
|
48
|
+
- name: Install Cross (if required)
|
|
49
|
+
if: matrix.use_cross
|
|
50
|
+
run: cargo install cross --git https://github.com/cross-rs/cross
|
|
51
|
+
|
|
52
|
+
- name: Build binary (Standard)
|
|
53
|
+
if: ${{ !matrix.use_cross }}
|
|
54
|
+
run: cargo build --target ${{ matrix.target }} --release
|
|
55
|
+
|
|
56
|
+
- name: Build binary (Cross)
|
|
57
|
+
if: matrix.use_cross
|
|
58
|
+
run: cross build --target ${{ matrix.target }} --release
|
|
59
|
+
|
|
60
|
+
- name: Prepare asset (Windows)
|
|
61
|
+
if: matrix.os == 'windows-latest'
|
|
62
|
+
run: |
|
|
63
|
+
mv target\${{ matrix.target }}\release\git-mood.exe ${{ matrix.asset_name }}
|
|
64
|
+
|
|
65
|
+
- name: Prepare asset (Unix)
|
|
66
|
+
if: matrix.os != 'windows-latest'
|
|
67
|
+
run: |
|
|
68
|
+
mv target/${{ matrix.target }}/release/git-mood ${{ matrix.asset_name }}
|
|
69
|
+
|
|
70
|
+
- name: Upload Artifact
|
|
71
|
+
uses: actions/upload-artifact@v4
|
|
72
|
+
with:
|
|
73
|
+
name: ${{ matrix.asset_name }}
|
|
74
|
+
path: ${{ matrix.asset_name }}
|
|
75
|
+
|
|
76
|
+
release:
|
|
77
|
+
name: Create GitHub Release
|
|
78
|
+
needs: build
|
|
79
|
+
runs-on: ubuntu-latest
|
|
80
|
+
steps:
|
|
81
|
+
- name: Checkout repository
|
|
82
|
+
uses: actions/checkout@v4
|
|
83
|
+
|
|
84
|
+
- name: Download all build artifacts
|
|
85
|
+
uses: actions/download-artifact@v4
|
|
86
|
+
with:
|
|
87
|
+
path: ./artifacts
|
|
88
|
+
|
|
89
|
+
- name: Flatten artifacts directory
|
|
90
|
+
run: |
|
|
91
|
+
mkdir dist
|
|
92
|
+
find ./artifacts -type f -exec cp {} ./dist/ \;
|
|
93
|
+
ls -la ./dist/
|
|
94
|
+
|
|
95
|
+
- name: Create Release and Upload Assets
|
|
96
|
+
uses: softprops/action-gh-release@v1
|
|
97
|
+
with:
|
|
98
|
+
files: |
|
|
99
|
+
dist/git-mood-linux-x64
|
|
100
|
+
dist/git-mood-linux-arm64
|
|
101
|
+
dist/git-mood-darwin-x64
|
|
102
|
+
dist/git-mood-darwin-arm64
|
|
103
|
+
dist/git-mood-win32-x64.exe
|
|
104
|
+
env:
|
|
105
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
package/Cargo.lock
ADDED
|
@@ -0,0 +1,475 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 4
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "android_system_properties"
|
|
7
|
+
version = "0.1.5"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
|
|
10
|
+
dependencies = [
|
|
11
|
+
"libc",
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
[[package]]
|
|
15
|
+
name = "autocfg"
|
|
16
|
+
version = "1.5.1"
|
|
17
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
18
|
+
checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
|
|
19
|
+
|
|
20
|
+
[[package]]
|
|
21
|
+
name = "bumpalo"
|
|
22
|
+
version = "3.20.3"
|
|
23
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
24
|
+
checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"
|
|
25
|
+
|
|
26
|
+
[[package]]
|
|
27
|
+
name = "cc"
|
|
28
|
+
version = "1.2.64"
|
|
29
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
30
|
+
checksum = "dad887fd958be91b5098c0248def011f4523ab786cd411be668777e55063501f"
|
|
31
|
+
dependencies = [
|
|
32
|
+
"find-msvc-tools",
|
|
33
|
+
"shlex",
|
|
34
|
+
]
|
|
35
|
+
|
|
36
|
+
[[package]]
|
|
37
|
+
name = "cfg-if"
|
|
38
|
+
version = "1.0.4"
|
|
39
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
40
|
+
checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
|
|
41
|
+
|
|
42
|
+
[[package]]
|
|
43
|
+
name = "chrono"
|
|
44
|
+
version = "0.4.45"
|
|
45
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
46
|
+
checksum = "1aa79e62e7697b8e29b513a68abacf485adcd1fe8284a4316c5ae868e6633327"
|
|
47
|
+
dependencies = [
|
|
48
|
+
"iana-time-zone",
|
|
49
|
+
"js-sys",
|
|
50
|
+
"num-traits",
|
|
51
|
+
"serde",
|
|
52
|
+
"wasm-bindgen",
|
|
53
|
+
"windows-link",
|
|
54
|
+
]
|
|
55
|
+
|
|
56
|
+
[[package]]
|
|
57
|
+
name = "colored"
|
|
58
|
+
version = "2.2.0"
|
|
59
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
60
|
+
checksum = "117725a109d387c937a1533ce01b450cbde6b88abceea8473c4d7a85853cda3c"
|
|
61
|
+
dependencies = [
|
|
62
|
+
"lazy_static",
|
|
63
|
+
"windows-sys",
|
|
64
|
+
]
|
|
65
|
+
|
|
66
|
+
[[package]]
|
|
67
|
+
name = "core-foundation-sys"
|
|
68
|
+
version = "0.8.7"
|
|
69
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
70
|
+
checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
|
|
71
|
+
|
|
72
|
+
[[package]]
|
|
73
|
+
name = "find-msvc-tools"
|
|
74
|
+
version = "0.1.9"
|
|
75
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
76
|
+
checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582"
|
|
77
|
+
|
|
78
|
+
[[package]]
|
|
79
|
+
name = "futures-core"
|
|
80
|
+
version = "0.3.32"
|
|
81
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
82
|
+
checksum = "7e3450815272ef58cec6d564423f6e755e25379b217b0bc688e295ba24df6b1d"
|
|
83
|
+
|
|
84
|
+
[[package]]
|
|
85
|
+
name = "futures-task"
|
|
86
|
+
version = "0.3.32"
|
|
87
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
88
|
+
checksum = "037711b3d59c33004d3856fbdc83b99d4ff37a24768fa1be9ce3538a1cde4393"
|
|
89
|
+
|
|
90
|
+
[[package]]
|
|
91
|
+
name = "futures-util"
|
|
92
|
+
version = "0.3.32"
|
|
93
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
94
|
+
checksum = "389ca41296e6190b48053de0321d02a77f32f8a5d2461dd38762c0593805c6d6"
|
|
95
|
+
dependencies = [
|
|
96
|
+
"futures-core",
|
|
97
|
+
"futures-task",
|
|
98
|
+
"pin-project-lite",
|
|
99
|
+
"slab",
|
|
100
|
+
]
|
|
101
|
+
|
|
102
|
+
[[package]]
|
|
103
|
+
name = "git-mood"
|
|
104
|
+
version = "0.1.0"
|
|
105
|
+
dependencies = [
|
|
106
|
+
"chrono",
|
|
107
|
+
"colored",
|
|
108
|
+
"serde",
|
|
109
|
+
"serde_json",
|
|
110
|
+
]
|
|
111
|
+
|
|
112
|
+
[[package]]
|
|
113
|
+
name = "iana-time-zone"
|
|
114
|
+
version = "0.1.65"
|
|
115
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
116
|
+
checksum = "e31bc9ad994ba00e440a8aa5c9ef0ec67d5cb5e5cb0cc7f8b744a35b389cc470"
|
|
117
|
+
dependencies = [
|
|
118
|
+
"android_system_properties",
|
|
119
|
+
"core-foundation-sys",
|
|
120
|
+
"iana-time-zone-haiku",
|
|
121
|
+
"js-sys",
|
|
122
|
+
"log",
|
|
123
|
+
"wasm-bindgen",
|
|
124
|
+
"windows-core",
|
|
125
|
+
]
|
|
126
|
+
|
|
127
|
+
[[package]]
|
|
128
|
+
name = "iana-time-zone-haiku"
|
|
129
|
+
version = "0.1.2"
|
|
130
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
131
|
+
checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f"
|
|
132
|
+
dependencies = [
|
|
133
|
+
"cc",
|
|
134
|
+
]
|
|
135
|
+
|
|
136
|
+
[[package]]
|
|
137
|
+
name = "itoa"
|
|
138
|
+
version = "1.0.18"
|
|
139
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
140
|
+
checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
|
|
141
|
+
|
|
142
|
+
[[package]]
|
|
143
|
+
name = "js-sys"
|
|
144
|
+
version = "0.3.102"
|
|
145
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
146
|
+
checksum = "03d04c30968dffe80775bd4d7fb676131cd04a1fb46d2686dbffbaec2d9dfd31"
|
|
147
|
+
dependencies = [
|
|
148
|
+
"cfg-if",
|
|
149
|
+
"futures-util",
|
|
150
|
+
"wasm-bindgen",
|
|
151
|
+
]
|
|
152
|
+
|
|
153
|
+
[[package]]
|
|
154
|
+
name = "lazy_static"
|
|
155
|
+
version = "1.5.0"
|
|
156
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
157
|
+
checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
|
|
158
|
+
|
|
159
|
+
[[package]]
|
|
160
|
+
name = "libc"
|
|
161
|
+
version = "0.2.186"
|
|
162
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
163
|
+
checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
|
|
164
|
+
|
|
165
|
+
[[package]]
|
|
166
|
+
name = "log"
|
|
167
|
+
version = "0.4.32"
|
|
168
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
169
|
+
checksum = "953f07c43838f8e6f9758cab68bf5bed85465e7587ebe0b823f1bcd81978ad3a"
|
|
170
|
+
|
|
171
|
+
[[package]]
|
|
172
|
+
name = "memchr"
|
|
173
|
+
version = "2.8.2"
|
|
174
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
175
|
+
checksum = "88904434abc2901f197fe8cc55f0445e7ded921dba5911dad2e2b39b48e663c4"
|
|
176
|
+
|
|
177
|
+
[[package]]
|
|
178
|
+
name = "num-traits"
|
|
179
|
+
version = "0.2.19"
|
|
180
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
181
|
+
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
|
|
182
|
+
dependencies = [
|
|
183
|
+
"autocfg",
|
|
184
|
+
]
|
|
185
|
+
|
|
186
|
+
[[package]]
|
|
187
|
+
name = "once_cell"
|
|
188
|
+
version = "1.21.4"
|
|
189
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
190
|
+
checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
|
191
|
+
|
|
192
|
+
[[package]]
|
|
193
|
+
name = "pin-project-lite"
|
|
194
|
+
version = "0.2.17"
|
|
195
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
196
|
+
checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
|
|
197
|
+
|
|
198
|
+
[[package]]
|
|
199
|
+
name = "proc-macro2"
|
|
200
|
+
version = "1.0.106"
|
|
201
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
202
|
+
checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
|
|
203
|
+
dependencies = [
|
|
204
|
+
"unicode-ident",
|
|
205
|
+
]
|
|
206
|
+
|
|
207
|
+
[[package]]
|
|
208
|
+
name = "quote"
|
|
209
|
+
version = "1.0.45"
|
|
210
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
211
|
+
checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924"
|
|
212
|
+
dependencies = [
|
|
213
|
+
"proc-macro2",
|
|
214
|
+
]
|
|
215
|
+
|
|
216
|
+
[[package]]
|
|
217
|
+
name = "rustversion"
|
|
218
|
+
version = "1.0.22"
|
|
219
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
220
|
+
checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
|
|
221
|
+
|
|
222
|
+
[[package]]
|
|
223
|
+
name = "serde"
|
|
224
|
+
version = "1.0.228"
|
|
225
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
226
|
+
checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
|
|
227
|
+
dependencies = [
|
|
228
|
+
"serde_core",
|
|
229
|
+
"serde_derive",
|
|
230
|
+
]
|
|
231
|
+
|
|
232
|
+
[[package]]
|
|
233
|
+
name = "serde_core"
|
|
234
|
+
version = "1.0.228"
|
|
235
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
236
|
+
checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
|
|
237
|
+
dependencies = [
|
|
238
|
+
"serde_derive",
|
|
239
|
+
]
|
|
240
|
+
|
|
241
|
+
[[package]]
|
|
242
|
+
name = "serde_derive"
|
|
243
|
+
version = "1.0.228"
|
|
244
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
245
|
+
checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
|
|
246
|
+
dependencies = [
|
|
247
|
+
"proc-macro2",
|
|
248
|
+
"quote",
|
|
249
|
+
"syn",
|
|
250
|
+
]
|
|
251
|
+
|
|
252
|
+
[[package]]
|
|
253
|
+
name = "serde_json"
|
|
254
|
+
version = "1.0.150"
|
|
255
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
256
|
+
checksum = "e8014e44b4736ed0538adeecded0fce2a272f22dc9578a7eb6b2d9993c74cfb9"
|
|
257
|
+
dependencies = [
|
|
258
|
+
"itoa",
|
|
259
|
+
"memchr",
|
|
260
|
+
"serde",
|
|
261
|
+
"serde_core",
|
|
262
|
+
"zmij",
|
|
263
|
+
]
|
|
264
|
+
|
|
265
|
+
[[package]]
|
|
266
|
+
name = "shlex"
|
|
267
|
+
version = "2.0.1"
|
|
268
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
269
|
+
checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
|
|
270
|
+
|
|
271
|
+
[[package]]
|
|
272
|
+
name = "slab"
|
|
273
|
+
version = "0.4.12"
|
|
274
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
275
|
+
checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
|
|
276
|
+
|
|
277
|
+
[[package]]
|
|
278
|
+
name = "syn"
|
|
279
|
+
version = "2.0.118"
|
|
280
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
281
|
+
checksum = "1b9ae57f904213ebb649ce6895b8a66c66f0203b9319718f69a5612a065b1422"
|
|
282
|
+
dependencies = [
|
|
283
|
+
"proc-macro2",
|
|
284
|
+
"quote",
|
|
285
|
+
"unicode-ident",
|
|
286
|
+
]
|
|
287
|
+
|
|
288
|
+
[[package]]
|
|
289
|
+
name = "unicode-ident"
|
|
290
|
+
version = "1.0.24"
|
|
291
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
292
|
+
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
293
|
+
|
|
294
|
+
[[package]]
|
|
295
|
+
name = "wasm-bindgen"
|
|
296
|
+
version = "0.2.125"
|
|
297
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
298
|
+
checksum = "8ddb3f79143bced6de84270411622a2699cee572fc0875aeaf1e7867cf9fca1a"
|
|
299
|
+
dependencies = [
|
|
300
|
+
"cfg-if",
|
|
301
|
+
"once_cell",
|
|
302
|
+
"rustversion",
|
|
303
|
+
"wasm-bindgen-macro",
|
|
304
|
+
"wasm-bindgen-shared",
|
|
305
|
+
]
|
|
306
|
+
|
|
307
|
+
[[package]]
|
|
308
|
+
name = "wasm-bindgen-macro"
|
|
309
|
+
version = "0.2.125"
|
|
310
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
311
|
+
checksum = "4e21a184b13fb19e157296e2c46056aec9092264fab83e4ba59e68c61b323c3d"
|
|
312
|
+
dependencies = [
|
|
313
|
+
"quote",
|
|
314
|
+
"wasm-bindgen-macro-support",
|
|
315
|
+
]
|
|
316
|
+
|
|
317
|
+
[[package]]
|
|
318
|
+
name = "wasm-bindgen-macro-support"
|
|
319
|
+
version = "0.2.125"
|
|
320
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
321
|
+
checksum = "fecefd9c35bd935a20fc3fc344b5f29138961e4f47fb03297d88f2587afb5ebd"
|
|
322
|
+
dependencies = [
|
|
323
|
+
"bumpalo",
|
|
324
|
+
"proc-macro2",
|
|
325
|
+
"quote",
|
|
326
|
+
"syn",
|
|
327
|
+
"wasm-bindgen-shared",
|
|
328
|
+
]
|
|
329
|
+
|
|
330
|
+
[[package]]
|
|
331
|
+
name = "wasm-bindgen-shared"
|
|
332
|
+
version = "0.2.125"
|
|
333
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
334
|
+
checksum = "23939e44bb9a5d7576fa2b563dc2e136628f1224e88a8deed09e04858b77871f"
|
|
335
|
+
dependencies = [
|
|
336
|
+
"unicode-ident",
|
|
337
|
+
]
|
|
338
|
+
|
|
339
|
+
[[package]]
|
|
340
|
+
name = "windows-core"
|
|
341
|
+
version = "0.62.2"
|
|
342
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
343
|
+
checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb"
|
|
344
|
+
dependencies = [
|
|
345
|
+
"windows-implement",
|
|
346
|
+
"windows-interface",
|
|
347
|
+
"windows-link",
|
|
348
|
+
"windows-result",
|
|
349
|
+
"windows-strings",
|
|
350
|
+
]
|
|
351
|
+
|
|
352
|
+
[[package]]
|
|
353
|
+
name = "windows-implement"
|
|
354
|
+
version = "0.60.2"
|
|
355
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
356
|
+
checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf"
|
|
357
|
+
dependencies = [
|
|
358
|
+
"proc-macro2",
|
|
359
|
+
"quote",
|
|
360
|
+
"syn",
|
|
361
|
+
]
|
|
362
|
+
|
|
363
|
+
[[package]]
|
|
364
|
+
name = "windows-interface"
|
|
365
|
+
version = "0.59.3"
|
|
366
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
367
|
+
checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358"
|
|
368
|
+
dependencies = [
|
|
369
|
+
"proc-macro2",
|
|
370
|
+
"quote",
|
|
371
|
+
"syn",
|
|
372
|
+
]
|
|
373
|
+
|
|
374
|
+
[[package]]
|
|
375
|
+
name = "windows-link"
|
|
376
|
+
version = "0.2.1"
|
|
377
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
378
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
379
|
+
|
|
380
|
+
[[package]]
|
|
381
|
+
name = "windows-result"
|
|
382
|
+
version = "0.4.1"
|
|
383
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
384
|
+
checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5"
|
|
385
|
+
dependencies = [
|
|
386
|
+
"windows-link",
|
|
387
|
+
]
|
|
388
|
+
|
|
389
|
+
[[package]]
|
|
390
|
+
name = "windows-strings"
|
|
391
|
+
version = "0.5.1"
|
|
392
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
393
|
+
checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091"
|
|
394
|
+
dependencies = [
|
|
395
|
+
"windows-link",
|
|
396
|
+
]
|
|
397
|
+
|
|
398
|
+
[[package]]
|
|
399
|
+
name = "windows-sys"
|
|
400
|
+
version = "0.59.0"
|
|
401
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
402
|
+
checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
|
|
403
|
+
dependencies = [
|
|
404
|
+
"windows-targets",
|
|
405
|
+
]
|
|
406
|
+
|
|
407
|
+
[[package]]
|
|
408
|
+
name = "windows-targets"
|
|
409
|
+
version = "0.52.6"
|
|
410
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
411
|
+
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
|
|
412
|
+
dependencies = [
|
|
413
|
+
"windows_aarch64_gnullvm",
|
|
414
|
+
"windows_aarch64_msvc",
|
|
415
|
+
"windows_i686_gnu",
|
|
416
|
+
"windows_i686_gnullvm",
|
|
417
|
+
"windows_i686_msvc",
|
|
418
|
+
"windows_x86_64_gnu",
|
|
419
|
+
"windows_x86_64_gnullvm",
|
|
420
|
+
"windows_x86_64_msvc",
|
|
421
|
+
]
|
|
422
|
+
|
|
423
|
+
[[package]]
|
|
424
|
+
name = "windows_aarch64_gnullvm"
|
|
425
|
+
version = "0.52.6"
|
|
426
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
427
|
+
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
|
|
428
|
+
|
|
429
|
+
[[package]]
|
|
430
|
+
name = "windows_aarch64_msvc"
|
|
431
|
+
version = "0.52.6"
|
|
432
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
433
|
+
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
|
|
434
|
+
|
|
435
|
+
[[package]]
|
|
436
|
+
name = "windows_i686_gnu"
|
|
437
|
+
version = "0.52.6"
|
|
438
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
439
|
+
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
|
|
440
|
+
|
|
441
|
+
[[package]]
|
|
442
|
+
name = "windows_i686_gnullvm"
|
|
443
|
+
version = "0.52.6"
|
|
444
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
445
|
+
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
|
|
446
|
+
|
|
447
|
+
[[package]]
|
|
448
|
+
name = "windows_i686_msvc"
|
|
449
|
+
version = "0.52.6"
|
|
450
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
451
|
+
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
|
|
452
|
+
|
|
453
|
+
[[package]]
|
|
454
|
+
name = "windows_x86_64_gnu"
|
|
455
|
+
version = "0.52.6"
|
|
456
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
457
|
+
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
|
|
458
|
+
|
|
459
|
+
[[package]]
|
|
460
|
+
name = "windows_x86_64_gnullvm"
|
|
461
|
+
version = "0.52.6"
|
|
462
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
463
|
+
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
|
|
464
|
+
|
|
465
|
+
[[package]]
|
|
466
|
+
name = "windows_x86_64_msvc"
|
|
467
|
+
version = "0.52.6"
|
|
468
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
469
|
+
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
|
|
470
|
+
|
|
471
|
+
[[package]]
|
|
472
|
+
name = "zmij"
|
|
473
|
+
version = "1.0.21"
|
|
474
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
475
|
+
checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa"
|
package/Cargo.toml
ADDED
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Anilcan Kara
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|