qmk-via-api 0.0.1__tar.gz
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.
- qmk_via_api-0.0.1/.github/workflows/CI.yml +0 -0
- qmk_via_api-0.0.1/.gitignore +82 -0
- qmk_via_api-0.0.1/Cargo.lock +339 -0
- qmk_via_api-0.0.1/Cargo.toml +21 -0
- qmk_via_api-0.0.1/LICENSE +674 -0
- qmk_via_api-0.0.1/PKG-INFO +72 -0
- qmk_via_api-0.0.1/README.md +62 -0
- qmk_via_api-0.0.1/pyproject.toml +11 -0
- qmk_via_api-0.0.1/src/api.rs +470 -0
- qmk_via_api-0.0.1/src/api_commands.rs +27 -0
- qmk_via_api-0.0.1/src/keycodes.rs +699 -0
- qmk_via_api-0.0.1/src/lib.rs +12 -0
- qmk_via_api-0.0.1/src/utils.rs +43 -0
|
Binary file
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# This file should only ignore things that are generated during a `x.py` build,
|
|
2
|
+
# generated by common IDEs, and optional files controlled by the user that
|
|
3
|
+
# affect the build (such as config.toml).
|
|
4
|
+
# In particular, things like `mir_dump` should not be listed here; they are only
|
|
5
|
+
# created during manual debugging and many people like to clean up instead of
|
|
6
|
+
# having git ignore such leftovers. You can use `.git/info/exclude` to
|
|
7
|
+
# configure your local ignore list.
|
|
8
|
+
|
|
9
|
+
## File system
|
|
10
|
+
.DS_Store
|
|
11
|
+
desktop.ini
|
|
12
|
+
|
|
13
|
+
## Editor
|
|
14
|
+
*.swp
|
|
15
|
+
*.swo
|
|
16
|
+
Session.vim
|
|
17
|
+
.cproject
|
|
18
|
+
.idea
|
|
19
|
+
*.iml
|
|
20
|
+
.vscode
|
|
21
|
+
.project
|
|
22
|
+
.favorites.json
|
|
23
|
+
.settings/
|
|
24
|
+
.vs/
|
|
25
|
+
|
|
26
|
+
## Tool
|
|
27
|
+
.valgrindrc
|
|
28
|
+
.cargo
|
|
29
|
+
# Included because it is part of the test case
|
|
30
|
+
!/tests/run-make/thumb-none-qemu/example/.cargo
|
|
31
|
+
|
|
32
|
+
## Configuration
|
|
33
|
+
/config.toml
|
|
34
|
+
/Makefile
|
|
35
|
+
config.mk
|
|
36
|
+
config.stamp
|
|
37
|
+
no_llvm_build
|
|
38
|
+
|
|
39
|
+
## Build
|
|
40
|
+
/dl/
|
|
41
|
+
/doc/
|
|
42
|
+
/inst/
|
|
43
|
+
/llvm/
|
|
44
|
+
/mingw-build/
|
|
45
|
+
build/
|
|
46
|
+
!/compiler/rustc_mir_build/src/build/
|
|
47
|
+
/build-rust-analyzer/
|
|
48
|
+
/dist/
|
|
49
|
+
/unicode-downloads
|
|
50
|
+
/target
|
|
51
|
+
/src/bootstrap/target
|
|
52
|
+
/src/tools/x/target
|
|
53
|
+
# Created by default with `src/ci/docker/run.sh`
|
|
54
|
+
/obj/
|
|
55
|
+
|
|
56
|
+
## Temporary files
|
|
57
|
+
*~
|
|
58
|
+
\#*
|
|
59
|
+
\#*\#
|
|
60
|
+
.#*
|
|
61
|
+
|
|
62
|
+
## Tags
|
|
63
|
+
tags
|
|
64
|
+
tags.*
|
|
65
|
+
TAGS
|
|
66
|
+
TAGS.*
|
|
67
|
+
|
|
68
|
+
## Python
|
|
69
|
+
__pycache__/
|
|
70
|
+
.venv/
|
|
71
|
+
*.py[cod]
|
|
72
|
+
*$py.class
|
|
73
|
+
|
|
74
|
+
## Node
|
|
75
|
+
node_modules
|
|
76
|
+
package-lock.json
|
|
77
|
+
package.json
|
|
78
|
+
|
|
79
|
+
## Rustdoc GUI tests
|
|
80
|
+
tests/rustdoc-gui/src/**.lock
|
|
81
|
+
|
|
82
|
+
# Before adding new lines, see the comment at the top.
|
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 3
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "autocfg"
|
|
7
|
+
version = "1.1.0"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
|
|
10
|
+
|
|
11
|
+
[[package]]
|
|
12
|
+
name = "bitflags"
|
|
13
|
+
version = "1.3.2"
|
|
14
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
15
|
+
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
|
|
16
|
+
|
|
17
|
+
[[package]]
|
|
18
|
+
name = "cc"
|
|
19
|
+
version = "1.0.90"
|
|
20
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
21
|
+
checksum = "8cd6604a82acf3039f1144f54b8eb34e91ffba622051189e71b781822d5ee1f5"
|
|
22
|
+
|
|
23
|
+
[[package]]
|
|
24
|
+
name = "cfg-if"
|
|
25
|
+
version = "1.0.0"
|
|
26
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
27
|
+
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
28
|
+
|
|
29
|
+
[[package]]
|
|
30
|
+
name = "either"
|
|
31
|
+
version = "1.10.0"
|
|
32
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
33
|
+
checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a"
|
|
34
|
+
|
|
35
|
+
[[package]]
|
|
36
|
+
name = "heck"
|
|
37
|
+
version = "0.4.1"
|
|
38
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
39
|
+
checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
|
|
40
|
+
|
|
41
|
+
[[package]]
|
|
42
|
+
name = "hidapi"
|
|
43
|
+
version = "2.6.1"
|
|
44
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
45
|
+
checksum = "9e58251020fe88fe0dae5ebcc1be92b4995214af84725b375d08354d0311c23c"
|
|
46
|
+
dependencies = [
|
|
47
|
+
"cc",
|
|
48
|
+
"cfg-if",
|
|
49
|
+
"libc",
|
|
50
|
+
"pkg-config",
|
|
51
|
+
"windows-sys",
|
|
52
|
+
]
|
|
53
|
+
|
|
54
|
+
[[package]]
|
|
55
|
+
name = "indoc"
|
|
56
|
+
version = "2.0.5"
|
|
57
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
58
|
+
checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5"
|
|
59
|
+
|
|
60
|
+
[[package]]
|
|
61
|
+
name = "itertools"
|
|
62
|
+
version = "0.12.1"
|
|
63
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
64
|
+
checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569"
|
|
65
|
+
dependencies = [
|
|
66
|
+
"either",
|
|
67
|
+
]
|
|
68
|
+
|
|
69
|
+
[[package]]
|
|
70
|
+
name = "libc"
|
|
71
|
+
version = "0.2.153"
|
|
72
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
73
|
+
checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd"
|
|
74
|
+
|
|
75
|
+
[[package]]
|
|
76
|
+
name = "lock_api"
|
|
77
|
+
version = "0.4.11"
|
|
78
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
79
|
+
checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45"
|
|
80
|
+
dependencies = [
|
|
81
|
+
"autocfg",
|
|
82
|
+
"scopeguard",
|
|
83
|
+
]
|
|
84
|
+
|
|
85
|
+
[[package]]
|
|
86
|
+
name = "memoffset"
|
|
87
|
+
version = "0.9.0"
|
|
88
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
89
|
+
checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c"
|
|
90
|
+
dependencies = [
|
|
91
|
+
"autocfg",
|
|
92
|
+
]
|
|
93
|
+
|
|
94
|
+
[[package]]
|
|
95
|
+
name = "once_cell"
|
|
96
|
+
version = "1.19.0"
|
|
97
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
98
|
+
checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
|
|
99
|
+
|
|
100
|
+
[[package]]
|
|
101
|
+
name = "parking_lot"
|
|
102
|
+
version = "0.12.1"
|
|
103
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
104
|
+
checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
|
|
105
|
+
dependencies = [
|
|
106
|
+
"lock_api",
|
|
107
|
+
"parking_lot_core",
|
|
108
|
+
]
|
|
109
|
+
|
|
110
|
+
[[package]]
|
|
111
|
+
name = "parking_lot_core"
|
|
112
|
+
version = "0.9.9"
|
|
113
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
114
|
+
checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e"
|
|
115
|
+
dependencies = [
|
|
116
|
+
"cfg-if",
|
|
117
|
+
"libc",
|
|
118
|
+
"redox_syscall",
|
|
119
|
+
"smallvec",
|
|
120
|
+
"windows-targets",
|
|
121
|
+
]
|
|
122
|
+
|
|
123
|
+
[[package]]
|
|
124
|
+
name = "pkg-config"
|
|
125
|
+
version = "0.3.30"
|
|
126
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
127
|
+
checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec"
|
|
128
|
+
|
|
129
|
+
[[package]]
|
|
130
|
+
name = "portable-atomic"
|
|
131
|
+
version = "1.6.0"
|
|
132
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
133
|
+
checksum = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0"
|
|
134
|
+
|
|
135
|
+
[[package]]
|
|
136
|
+
name = "proc-macro2"
|
|
137
|
+
version = "1.0.79"
|
|
138
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
139
|
+
checksum = "e835ff2298f5721608eb1a980ecaee1aef2c132bf95ecc026a11b7bf3c01c02e"
|
|
140
|
+
dependencies = [
|
|
141
|
+
"unicode-ident",
|
|
142
|
+
]
|
|
143
|
+
|
|
144
|
+
[[package]]
|
|
145
|
+
name = "pyo3"
|
|
146
|
+
version = "0.21.0"
|
|
147
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
148
|
+
checksum = "a02a88a17e74cadbc8ce77855e1d6c8ad0ab82901a4a9b5046bd01c1c0bd95cd"
|
|
149
|
+
dependencies = [
|
|
150
|
+
"cfg-if",
|
|
151
|
+
"indoc",
|
|
152
|
+
"libc",
|
|
153
|
+
"memoffset",
|
|
154
|
+
"parking_lot",
|
|
155
|
+
"portable-atomic",
|
|
156
|
+
"pyo3-build-config",
|
|
157
|
+
"pyo3-ffi",
|
|
158
|
+
"pyo3-macros",
|
|
159
|
+
"unindent",
|
|
160
|
+
]
|
|
161
|
+
|
|
162
|
+
[[package]]
|
|
163
|
+
name = "pyo3-build-config"
|
|
164
|
+
version = "0.21.0"
|
|
165
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
166
|
+
checksum = "a5eb0b6ecba38961f6f4bd6cd5906dfab3cd426ff37b2eed5771006aa31656f1"
|
|
167
|
+
dependencies = [
|
|
168
|
+
"once_cell",
|
|
169
|
+
"target-lexicon",
|
|
170
|
+
]
|
|
171
|
+
|
|
172
|
+
[[package]]
|
|
173
|
+
name = "pyo3-ffi"
|
|
174
|
+
version = "0.21.0"
|
|
175
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
176
|
+
checksum = "ba8a6e48a29b5d22e4fdaf132d8ba8d3203ee9f06362d48f244346902a594ec3"
|
|
177
|
+
dependencies = [
|
|
178
|
+
"libc",
|
|
179
|
+
"pyo3-build-config",
|
|
180
|
+
]
|
|
181
|
+
|
|
182
|
+
[[package]]
|
|
183
|
+
name = "pyo3-macros"
|
|
184
|
+
version = "0.21.0"
|
|
185
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
186
|
+
checksum = "4e80493c5965f94a747d0782a607b2328a4eea5391327b152b00e2f3b001cede"
|
|
187
|
+
dependencies = [
|
|
188
|
+
"proc-macro2",
|
|
189
|
+
"pyo3-macros-backend",
|
|
190
|
+
"quote",
|
|
191
|
+
"syn",
|
|
192
|
+
]
|
|
193
|
+
|
|
194
|
+
[[package]]
|
|
195
|
+
name = "pyo3-macros-backend"
|
|
196
|
+
version = "0.21.0"
|
|
197
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
198
|
+
checksum = "fcd7d86f42004025200e12a6a8119bd878329e6fddef8178eaafa4e4b5906c5b"
|
|
199
|
+
dependencies = [
|
|
200
|
+
"heck",
|
|
201
|
+
"proc-macro2",
|
|
202
|
+
"pyo3-build-config",
|
|
203
|
+
"quote",
|
|
204
|
+
"syn",
|
|
205
|
+
]
|
|
206
|
+
|
|
207
|
+
[[package]]
|
|
208
|
+
name = "qmk-via-api"
|
|
209
|
+
version = "0.0.1"
|
|
210
|
+
dependencies = [
|
|
211
|
+
"hidapi",
|
|
212
|
+
"itertools",
|
|
213
|
+
"pyo3",
|
|
214
|
+
]
|
|
215
|
+
|
|
216
|
+
[[package]]
|
|
217
|
+
name = "quote"
|
|
218
|
+
version = "1.0.35"
|
|
219
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
220
|
+
checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
|
|
221
|
+
dependencies = [
|
|
222
|
+
"proc-macro2",
|
|
223
|
+
]
|
|
224
|
+
|
|
225
|
+
[[package]]
|
|
226
|
+
name = "redox_syscall"
|
|
227
|
+
version = "0.4.1"
|
|
228
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
229
|
+
checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa"
|
|
230
|
+
dependencies = [
|
|
231
|
+
"bitflags",
|
|
232
|
+
]
|
|
233
|
+
|
|
234
|
+
[[package]]
|
|
235
|
+
name = "scopeguard"
|
|
236
|
+
version = "1.2.0"
|
|
237
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
238
|
+
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
|
|
239
|
+
|
|
240
|
+
[[package]]
|
|
241
|
+
name = "smallvec"
|
|
242
|
+
version = "1.13.2"
|
|
243
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
244
|
+
checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
|
|
245
|
+
|
|
246
|
+
[[package]]
|
|
247
|
+
name = "syn"
|
|
248
|
+
version = "2.0.55"
|
|
249
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
250
|
+
checksum = "002a1b3dbf967edfafc32655d0f377ab0bb7b994aa1d32c8cc7e9b8bf3ebb8f0"
|
|
251
|
+
dependencies = [
|
|
252
|
+
"proc-macro2",
|
|
253
|
+
"quote",
|
|
254
|
+
"unicode-ident",
|
|
255
|
+
]
|
|
256
|
+
|
|
257
|
+
[[package]]
|
|
258
|
+
name = "target-lexicon"
|
|
259
|
+
version = "0.12.14"
|
|
260
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
261
|
+
checksum = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f"
|
|
262
|
+
|
|
263
|
+
[[package]]
|
|
264
|
+
name = "unicode-ident"
|
|
265
|
+
version = "1.0.12"
|
|
266
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
267
|
+
checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
|
|
268
|
+
|
|
269
|
+
[[package]]
|
|
270
|
+
name = "unindent"
|
|
271
|
+
version = "0.2.3"
|
|
272
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
273
|
+
checksum = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce"
|
|
274
|
+
|
|
275
|
+
[[package]]
|
|
276
|
+
name = "windows-sys"
|
|
277
|
+
version = "0.48.0"
|
|
278
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
279
|
+
checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
|
|
280
|
+
dependencies = [
|
|
281
|
+
"windows-targets",
|
|
282
|
+
]
|
|
283
|
+
|
|
284
|
+
[[package]]
|
|
285
|
+
name = "windows-targets"
|
|
286
|
+
version = "0.48.5"
|
|
287
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
288
|
+
checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
|
|
289
|
+
dependencies = [
|
|
290
|
+
"windows_aarch64_gnullvm",
|
|
291
|
+
"windows_aarch64_msvc",
|
|
292
|
+
"windows_i686_gnu",
|
|
293
|
+
"windows_i686_msvc",
|
|
294
|
+
"windows_x86_64_gnu",
|
|
295
|
+
"windows_x86_64_gnullvm",
|
|
296
|
+
"windows_x86_64_msvc",
|
|
297
|
+
]
|
|
298
|
+
|
|
299
|
+
[[package]]
|
|
300
|
+
name = "windows_aarch64_gnullvm"
|
|
301
|
+
version = "0.48.5"
|
|
302
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
303
|
+
checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
|
|
304
|
+
|
|
305
|
+
[[package]]
|
|
306
|
+
name = "windows_aarch64_msvc"
|
|
307
|
+
version = "0.48.5"
|
|
308
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
309
|
+
checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
|
|
310
|
+
|
|
311
|
+
[[package]]
|
|
312
|
+
name = "windows_i686_gnu"
|
|
313
|
+
version = "0.48.5"
|
|
314
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
315
|
+
checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
|
|
316
|
+
|
|
317
|
+
[[package]]
|
|
318
|
+
name = "windows_i686_msvc"
|
|
319
|
+
version = "0.48.5"
|
|
320
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
321
|
+
checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
|
|
322
|
+
|
|
323
|
+
[[package]]
|
|
324
|
+
name = "windows_x86_64_gnu"
|
|
325
|
+
version = "0.48.5"
|
|
326
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
327
|
+
checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
|
|
328
|
+
|
|
329
|
+
[[package]]
|
|
330
|
+
name = "windows_x86_64_gnullvm"
|
|
331
|
+
version = "0.48.5"
|
|
332
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
333
|
+
checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
|
|
334
|
+
|
|
335
|
+
[[package]]
|
|
336
|
+
name = "windows_x86_64_msvc"
|
|
337
|
+
version = "0.48.5"
|
|
338
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
339
|
+
checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[package]
|
|
2
|
+
name = "qmk-via-api"
|
|
3
|
+
license = "GPL-3.0-only"
|
|
4
|
+
description = "VIA api implementation for QMK-based keyboards"
|
|
5
|
+
authors = ["Stephan Rumswinkel"]
|
|
6
|
+
repository = "https://github.com/srwi/qmk-via-api"
|
|
7
|
+
readme = "README.md"
|
|
8
|
+
version = "0.0.1"
|
|
9
|
+
edition = "2021"
|
|
10
|
+
|
|
11
|
+
[lib]
|
|
12
|
+
name = "qmk_via_api"
|
|
13
|
+
crate-type = ["cdylib", "lib"] # "cdylib" is necessary to produce a shared library for Python to import from.
|
|
14
|
+
|
|
15
|
+
[dependencies]
|
|
16
|
+
hidapi = "2.6.1"
|
|
17
|
+
itertools = "0.12.1"
|
|
18
|
+
|
|
19
|
+
[dependencies.pyo3]
|
|
20
|
+
version = "0.21.0"
|
|
21
|
+
features = ["abi3-py38"] # "abi3-py38" tells pyo3 (and maturin) to build using the stable ABI with minimum Python version 3.8.
|