beaver-box 1.0.0__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.
- beaver_box-1.0.0/.gitignore +75 -0
- beaver_box-1.0.0/.gitlab-ci.yml +11 -0
- beaver_box-1.0.0/Cargo.lock +391 -0
- beaver_box-1.0.0/Cargo.toml +31 -0
- beaver_box-1.0.0/LICENSE +201 -0
- beaver_box-1.0.0/PKG-INFO +133 -0
- beaver_box-1.0.0/README.md +116 -0
- beaver_box-1.0.0/assets/banner.png +0 -0
- beaver_box-1.0.0/pyproject.toml +35 -0
- beaver_box-1.0.0/sample_data.csv +101 -0
- beaver_box-1.0.0/src/cli/args.rs +63 -0
- beaver_box-1.0.0/src/cli/mod.rs +7 -0
- beaver_box-1.0.0/src/lib.rs +100 -0
- beaver_box-1.0.0/src/main.rs +83 -0
- beaver_box-1.0.0/src/parsers/csv_parser.rs +54 -0
- beaver_box-1.0.0/src/parsers/json_parser.rs +77 -0
- beaver_box-1.0.0/src/parsers/mod.rs +7 -0
- beaver_box-1.0.0/src/sql/dialect.rs +39 -0
- beaver_box-1.0.0/src/sql/formatter.rs +47 -0
- beaver_box-1.0.0/src/sql/generator.rs +59 -0
- beaver_box-1.0.0/src/sql/inference.rs +131 -0
- beaver_box-1.0.0/src/sql/mod.rs +19 -0
- beaver_box-1.0.0/src/sql/tests.rs +95 -0
- beaver_box-1.0.0/tests/integration_tests.rs +84 -0
- beaver_box-1.0.0/tests/test_beaver.py +95 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/target
|
|
2
|
+
|
|
3
|
+
# Byte-compiled / optimized / DLL files
|
|
4
|
+
__pycache__/
|
|
5
|
+
.pytest_cache/
|
|
6
|
+
*.py[cod]
|
|
7
|
+
|
|
8
|
+
# C extensions
|
|
9
|
+
*.so
|
|
10
|
+
|
|
11
|
+
# Environment variables
|
|
12
|
+
.env
|
|
13
|
+
|
|
14
|
+
# Distribution / packaging
|
|
15
|
+
.Python
|
|
16
|
+
.venv/
|
|
17
|
+
env/
|
|
18
|
+
bin/
|
|
19
|
+
build/
|
|
20
|
+
develop-eggs/
|
|
21
|
+
dist/
|
|
22
|
+
eggs/
|
|
23
|
+
lib/
|
|
24
|
+
lib64/
|
|
25
|
+
parts/
|
|
26
|
+
sdist/
|
|
27
|
+
var/
|
|
28
|
+
include/
|
|
29
|
+
man/
|
|
30
|
+
venv/
|
|
31
|
+
*.egg-info/
|
|
32
|
+
.installed.cfg
|
|
33
|
+
*.egg
|
|
34
|
+
|
|
35
|
+
# Installer logs
|
|
36
|
+
pip-log.txt
|
|
37
|
+
pip-delete-this-directory.txt
|
|
38
|
+
pip-selfcheck.json
|
|
39
|
+
|
|
40
|
+
# Unit test / coverage reports
|
|
41
|
+
htmlcov/
|
|
42
|
+
.tox/
|
|
43
|
+
.coverage
|
|
44
|
+
.cache
|
|
45
|
+
nosetests.xml
|
|
46
|
+
coverage.xml
|
|
47
|
+
|
|
48
|
+
# Translations
|
|
49
|
+
*.mo
|
|
50
|
+
|
|
51
|
+
# Mr Developer
|
|
52
|
+
.mr.developer.cfg
|
|
53
|
+
.project
|
|
54
|
+
.pydevproject
|
|
55
|
+
|
|
56
|
+
# Rope
|
|
57
|
+
.ropeproject
|
|
58
|
+
|
|
59
|
+
# Django stuff:
|
|
60
|
+
*.log
|
|
61
|
+
*.pot
|
|
62
|
+
|
|
63
|
+
.DS_Store
|
|
64
|
+
|
|
65
|
+
# Sphinx documentation
|
|
66
|
+
docs/_build/
|
|
67
|
+
|
|
68
|
+
# PyCharm
|
|
69
|
+
.idea/
|
|
70
|
+
|
|
71
|
+
# VSCode
|
|
72
|
+
.vscode/
|
|
73
|
+
|
|
74
|
+
# Pyenv
|
|
75
|
+
.python-version
|
|
@@ -0,0 +1,391 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 4
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "anstream"
|
|
7
|
+
version = "1.0.0"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d"
|
|
10
|
+
dependencies = [
|
|
11
|
+
"anstyle",
|
|
12
|
+
"anstyle-parse",
|
|
13
|
+
"anstyle-query",
|
|
14
|
+
"anstyle-wincon",
|
|
15
|
+
"colorchoice",
|
|
16
|
+
"is_terminal_polyfill",
|
|
17
|
+
"utf8parse",
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
[[package]]
|
|
21
|
+
name = "anstyle"
|
|
22
|
+
version = "1.0.14"
|
|
23
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
24
|
+
checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000"
|
|
25
|
+
|
|
26
|
+
[[package]]
|
|
27
|
+
name = "anstyle-parse"
|
|
28
|
+
version = "1.0.0"
|
|
29
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
30
|
+
checksum = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e"
|
|
31
|
+
dependencies = [
|
|
32
|
+
"utf8parse",
|
|
33
|
+
]
|
|
34
|
+
|
|
35
|
+
[[package]]
|
|
36
|
+
name = "anstyle-query"
|
|
37
|
+
version = "1.1.5"
|
|
38
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
39
|
+
checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
|
|
40
|
+
dependencies = [
|
|
41
|
+
"windows-sys",
|
|
42
|
+
]
|
|
43
|
+
|
|
44
|
+
[[package]]
|
|
45
|
+
name = "anstyle-wincon"
|
|
46
|
+
version = "3.0.11"
|
|
47
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
48
|
+
checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
|
|
49
|
+
dependencies = [
|
|
50
|
+
"anstyle",
|
|
51
|
+
"once_cell_polyfill",
|
|
52
|
+
"windows-sys",
|
|
53
|
+
]
|
|
54
|
+
|
|
55
|
+
[[package]]
|
|
56
|
+
name = "beaver"
|
|
57
|
+
version = "1.0.0"
|
|
58
|
+
dependencies = [
|
|
59
|
+
"clap",
|
|
60
|
+
"csv",
|
|
61
|
+
"indexmap",
|
|
62
|
+
"pyo3",
|
|
63
|
+
"serde_json",
|
|
64
|
+
]
|
|
65
|
+
|
|
66
|
+
[[package]]
|
|
67
|
+
name = "clap"
|
|
68
|
+
version = "4.6.7"
|
|
69
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
70
|
+
checksum = "aa8876b300ab35ba921adea3dfd70157a46249b33f95c9084ae5709785478946"
|
|
71
|
+
dependencies = [
|
|
72
|
+
"clap_builder",
|
|
73
|
+
"clap_derive",
|
|
74
|
+
]
|
|
75
|
+
|
|
76
|
+
[[package]]
|
|
77
|
+
name = "clap_builder"
|
|
78
|
+
version = "4.6.7"
|
|
79
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
80
|
+
checksum = "ec0797fb7aeb1406c84efac526901f7ec3ead2124f946b494e72879d4b54704d"
|
|
81
|
+
dependencies = [
|
|
82
|
+
"anstream",
|
|
83
|
+
"anstyle",
|
|
84
|
+
"clap_lex",
|
|
85
|
+
"strsim",
|
|
86
|
+
]
|
|
87
|
+
|
|
88
|
+
[[package]]
|
|
89
|
+
name = "clap_derive"
|
|
90
|
+
version = "4.6.7"
|
|
91
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
92
|
+
checksum = "f9c751b79415d4e559e3d1fcf128e09e720eb673a06d26cf6f392d37d75b66e0"
|
|
93
|
+
dependencies = [
|
|
94
|
+
"heck",
|
|
95
|
+
"proc-macro2",
|
|
96
|
+
"quote",
|
|
97
|
+
"syn 3.0.6",
|
|
98
|
+
]
|
|
99
|
+
|
|
100
|
+
[[package]]
|
|
101
|
+
name = "clap_lex"
|
|
102
|
+
version = "1.1.1"
|
|
103
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
104
|
+
checksum = "1c133bc6a41be0d194c306b5506d15e6feeea7b1d6604bd3f8310dfb2ca96486"
|
|
105
|
+
|
|
106
|
+
[[package]]
|
|
107
|
+
name = "colorchoice"
|
|
108
|
+
version = "1.0.5"
|
|
109
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
110
|
+
checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570"
|
|
111
|
+
|
|
112
|
+
[[package]]
|
|
113
|
+
name = "csv"
|
|
114
|
+
version = "1.4.0"
|
|
115
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
116
|
+
checksum = "52cd9d68cf7efc6ddfaaee42e7288d3a99d613d4b50f76ce9827ae0c6e14f938"
|
|
117
|
+
dependencies = [
|
|
118
|
+
"csv-core",
|
|
119
|
+
"itoa",
|
|
120
|
+
"ryu",
|
|
121
|
+
"serde_core",
|
|
122
|
+
]
|
|
123
|
+
|
|
124
|
+
[[package]]
|
|
125
|
+
name = "csv-core"
|
|
126
|
+
version = "0.1.13"
|
|
127
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
128
|
+
checksum = "704a3c26996a80471189265814dbc2c257598b96b8a7feae2d31ace646bb9782"
|
|
129
|
+
dependencies = [
|
|
130
|
+
"memchr",
|
|
131
|
+
]
|
|
132
|
+
|
|
133
|
+
[[package]]
|
|
134
|
+
name = "equivalent"
|
|
135
|
+
version = "1.0.2"
|
|
136
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
137
|
+
checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
|
|
138
|
+
|
|
139
|
+
[[package]]
|
|
140
|
+
name = "hashbrown"
|
|
141
|
+
version = "0.17.1"
|
|
142
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
143
|
+
checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
|
|
144
|
+
|
|
145
|
+
[[package]]
|
|
146
|
+
name = "heck"
|
|
147
|
+
version = "0.5.0"
|
|
148
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
149
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
150
|
+
|
|
151
|
+
[[package]]
|
|
152
|
+
name = "indexmap"
|
|
153
|
+
version = "2.14.2"
|
|
154
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
155
|
+
checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855"
|
|
156
|
+
dependencies = [
|
|
157
|
+
"equivalent",
|
|
158
|
+
"hashbrown",
|
|
159
|
+
]
|
|
160
|
+
|
|
161
|
+
[[package]]
|
|
162
|
+
name = "is_terminal_polyfill"
|
|
163
|
+
version = "1.70.2"
|
|
164
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
165
|
+
checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
|
|
166
|
+
|
|
167
|
+
[[package]]
|
|
168
|
+
name = "itoa"
|
|
169
|
+
version = "1.0.18"
|
|
170
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
171
|
+
checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
|
|
172
|
+
|
|
173
|
+
[[package]]
|
|
174
|
+
name = "libc"
|
|
175
|
+
version = "0.2.190"
|
|
176
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
177
|
+
checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78"
|
|
178
|
+
|
|
179
|
+
[[package]]
|
|
180
|
+
name = "memchr"
|
|
181
|
+
version = "2.8.3"
|
|
182
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
183
|
+
checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|
184
|
+
|
|
185
|
+
[[package]]
|
|
186
|
+
name = "once_cell"
|
|
187
|
+
version = "1.21.4"
|
|
188
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
189
|
+
checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
|
190
|
+
|
|
191
|
+
[[package]]
|
|
192
|
+
name = "once_cell_polyfill"
|
|
193
|
+
version = "1.70.2"
|
|
194
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
195
|
+
checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
|
|
196
|
+
|
|
197
|
+
[[package]]
|
|
198
|
+
name = "portable-atomic"
|
|
199
|
+
version = "1.15.0"
|
|
200
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
201
|
+
checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
|
|
202
|
+
|
|
203
|
+
[[package]]
|
|
204
|
+
name = "proc-macro2"
|
|
205
|
+
version = "1.0.107"
|
|
206
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
207
|
+
checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
|
|
208
|
+
dependencies = [
|
|
209
|
+
"unicode-ident",
|
|
210
|
+
]
|
|
211
|
+
|
|
212
|
+
[[package]]
|
|
213
|
+
name = "pyo3"
|
|
214
|
+
version = "0.29.3"
|
|
215
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
216
|
+
checksum = "700d18fa267b73b9b521fd7e13580e2f446916f176cacee1ab63fcc8191f1655"
|
|
217
|
+
dependencies = [
|
|
218
|
+
"libc",
|
|
219
|
+
"once_cell",
|
|
220
|
+
"portable-atomic",
|
|
221
|
+
"pyo3-build-config",
|
|
222
|
+
"pyo3-ffi",
|
|
223
|
+
"pyo3-macros",
|
|
224
|
+
]
|
|
225
|
+
|
|
226
|
+
[[package]]
|
|
227
|
+
name = "pyo3-build-config"
|
|
228
|
+
version = "0.29.3"
|
|
229
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
230
|
+
checksum = "7b3fc0c4d08f6bb10e71fe39dfb9e2f59c6eb6854e22ec8092f50c69a4499adb"
|
|
231
|
+
dependencies = [
|
|
232
|
+
"target-lexicon",
|
|
233
|
+
]
|
|
234
|
+
|
|
235
|
+
[[package]]
|
|
236
|
+
name = "pyo3-ffi"
|
|
237
|
+
version = "0.29.3"
|
|
238
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
239
|
+
checksum = "dfc0b8e19df29aad7086cf977bb0c2a2f143e30567eb113e9cf72b62ca698330"
|
|
240
|
+
dependencies = [
|
|
241
|
+
"libc",
|
|
242
|
+
"pyo3-build-config",
|
|
243
|
+
]
|
|
244
|
+
|
|
245
|
+
[[package]]
|
|
246
|
+
name = "pyo3-macros"
|
|
247
|
+
version = "0.29.3"
|
|
248
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
249
|
+
checksum = "6100e8a4b5eba53afaa5ed078364851a0b2499c553a44c31026b929049b49dc6"
|
|
250
|
+
dependencies = [
|
|
251
|
+
"proc-macro2",
|
|
252
|
+
"pyo3-macros-backend",
|
|
253
|
+
"quote",
|
|
254
|
+
"syn 2.0.119",
|
|
255
|
+
]
|
|
256
|
+
|
|
257
|
+
[[package]]
|
|
258
|
+
name = "pyo3-macros-backend"
|
|
259
|
+
version = "0.29.3"
|
|
260
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
261
|
+
checksum = "6143877a16e82b5a727b7127ff4cd86858a24a28d745d72f43e6f227c7b1bdb3"
|
|
262
|
+
dependencies = [
|
|
263
|
+
"heck",
|
|
264
|
+
"proc-macro2",
|
|
265
|
+
"quote",
|
|
266
|
+
"syn 2.0.119",
|
|
267
|
+
]
|
|
268
|
+
|
|
269
|
+
[[package]]
|
|
270
|
+
name = "quote"
|
|
271
|
+
version = "1.0.47"
|
|
272
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
273
|
+
checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
|
|
274
|
+
dependencies = [
|
|
275
|
+
"proc-macro2",
|
|
276
|
+
]
|
|
277
|
+
|
|
278
|
+
[[package]]
|
|
279
|
+
name = "ryu"
|
|
280
|
+
version = "1.0.23"
|
|
281
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
282
|
+
checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f"
|
|
283
|
+
|
|
284
|
+
[[package]]
|
|
285
|
+
name = "serde"
|
|
286
|
+
version = "1.0.229"
|
|
287
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
288
|
+
checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
|
|
289
|
+
dependencies = [
|
|
290
|
+
"serde_core",
|
|
291
|
+
]
|
|
292
|
+
|
|
293
|
+
[[package]]
|
|
294
|
+
name = "serde_core"
|
|
295
|
+
version = "1.0.229"
|
|
296
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
297
|
+
checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
|
|
298
|
+
dependencies = [
|
|
299
|
+
"serde_derive",
|
|
300
|
+
]
|
|
301
|
+
|
|
302
|
+
[[package]]
|
|
303
|
+
name = "serde_derive"
|
|
304
|
+
version = "1.0.229"
|
|
305
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
306
|
+
checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
307
|
+
dependencies = [
|
|
308
|
+
"proc-macro2",
|
|
309
|
+
"quote",
|
|
310
|
+
"syn 3.0.6",
|
|
311
|
+
]
|
|
312
|
+
|
|
313
|
+
[[package]]
|
|
314
|
+
name = "serde_json"
|
|
315
|
+
version = "1.0.151"
|
|
316
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
317
|
+
checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14"
|
|
318
|
+
dependencies = [
|
|
319
|
+
"itoa",
|
|
320
|
+
"memchr",
|
|
321
|
+
"serde",
|
|
322
|
+
"serde_core",
|
|
323
|
+
"zmij",
|
|
324
|
+
]
|
|
325
|
+
|
|
326
|
+
[[package]]
|
|
327
|
+
name = "strsim"
|
|
328
|
+
version = "0.11.1"
|
|
329
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
330
|
+
checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
|
|
331
|
+
|
|
332
|
+
[[package]]
|
|
333
|
+
name = "syn"
|
|
334
|
+
version = "2.0.119"
|
|
335
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
336
|
+
checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
|
|
337
|
+
dependencies = [
|
|
338
|
+
"proc-macro2",
|
|
339
|
+
"quote",
|
|
340
|
+
"unicode-ident",
|
|
341
|
+
]
|
|
342
|
+
|
|
343
|
+
[[package]]
|
|
344
|
+
name = "syn"
|
|
345
|
+
version = "3.0.6"
|
|
346
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
347
|
+
checksum = "8593e8e72159ed2257d083c7a454a85cbf854f37a0966d8d483aff8c8a3ebcee"
|
|
348
|
+
dependencies = [
|
|
349
|
+
"proc-macro2",
|
|
350
|
+
"quote",
|
|
351
|
+
"unicode-ident",
|
|
352
|
+
]
|
|
353
|
+
|
|
354
|
+
[[package]]
|
|
355
|
+
name = "target-lexicon"
|
|
356
|
+
version = "0.13.5"
|
|
357
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
358
|
+
checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
|
|
359
|
+
|
|
360
|
+
[[package]]
|
|
361
|
+
name = "unicode-ident"
|
|
362
|
+
version = "1.0.26"
|
|
363
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
364
|
+
checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954"
|
|
365
|
+
|
|
366
|
+
[[package]]
|
|
367
|
+
name = "utf8parse"
|
|
368
|
+
version = "0.2.2"
|
|
369
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
370
|
+
checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
|
|
371
|
+
|
|
372
|
+
[[package]]
|
|
373
|
+
name = "windows-link"
|
|
374
|
+
version = "0.2.1"
|
|
375
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
376
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
377
|
+
|
|
378
|
+
[[package]]
|
|
379
|
+
name = "windows-sys"
|
|
380
|
+
version = "0.61.2"
|
|
381
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
382
|
+
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
|
|
383
|
+
dependencies = [
|
|
384
|
+
"windows-link",
|
|
385
|
+
]
|
|
386
|
+
|
|
387
|
+
[[package]]
|
|
388
|
+
name = "zmij"
|
|
389
|
+
version = "1.0.23"
|
|
390
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
391
|
+
checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
[package]
|
|
2
|
+
name = "beaver"
|
|
3
|
+
version = "1.0.0"
|
|
4
|
+
edition = "2024"
|
|
5
|
+
authors = ["Christian Joyce G. Garcia <cjggarcia.dev@gmail.com>"]
|
|
6
|
+
description = "Turn raw data into ready-to-run SQL."
|
|
7
|
+
readme = "README.md"
|
|
8
|
+
license = "Apache-2.0"
|
|
9
|
+
repository = "https://gitlab.com/cjggarcia.dev/beaver"
|
|
10
|
+
homepage = "https://gitlab.com/cjggarcia.dev/beaver"
|
|
11
|
+
|
|
12
|
+
[lib]
|
|
13
|
+
name = "beaver"
|
|
14
|
+
crate-type = ["cdylib", "rlib"]
|
|
15
|
+
|
|
16
|
+
[[bin]]
|
|
17
|
+
name = "beaver"
|
|
18
|
+
path = "src/main.rs"
|
|
19
|
+
|
|
20
|
+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
21
|
+
|
|
22
|
+
[dependencies]
|
|
23
|
+
clap = { version = "4.4", features = ["derive"] }
|
|
24
|
+
csv = "1.3"
|
|
25
|
+
serde_json = "1.0"
|
|
26
|
+
pyo3 = { version = "0.29.3", features = ["extension-module"], optional = true }
|
|
27
|
+
indexmap = "2.2"
|
|
28
|
+
|
|
29
|
+
[features]
|
|
30
|
+
default = []
|
|
31
|
+
python = ["dep:pyo3"]
|