snowflake-code-unit-registry 0.4.10__tar.gz → 0.5.2__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.
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/Cargo.lock +121 -87
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/Cargo.toml +3 -4
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/PKG-INFO +1 -1
- snowflake_code_unit_registry-0.5.2/crates/scai-error-derive/Cargo.toml +21 -0
- snowflake_code_unit_registry-0.5.2/crates/scai-error-derive/src/lib.rs +286 -0
- snowflake_code_unit_registry-0.5.2/crates/scai-error-derive/tests/derive_integration.rs +236 -0
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/Cargo.toml +2 -2
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/build.rs +35 -0
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/examples/code-unit.example.json +29 -0
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/schemas/code-unit.schema.json +75 -2
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/checksum.rs +13 -14
- snowflake_code_unit_registry-0.5.2/crates/scai-state-core/src/error.rs +429 -0
- snowflake_code_unit_registry-0.5.2/crates/scai-state-core/src/error_trace.rs +169 -0
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/filter.rs +22 -11
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/generated/query_reference.rs +22 -8
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/generated/updated_at_paths.rs +4 -1
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/lib.rs +3 -1
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/registry/graph.rs +5 -2
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/registry/in_memory.rs +1 -1
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/registry/loader.rs +9 -6
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/registry/paths.rs +7 -7
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/registry/tests.rs +142 -48
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/registry.rs +65 -26
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/validation.rs +2 -2
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-python/Cargo.toml +1 -1
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-python/src/lib.rs +10 -25
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-python/tests/test_batch.py +30 -2
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-python/tests/test_crud.py +15 -14
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-python/tests/test_errors.py +31 -0
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-python/tests/test_query.py +12 -11
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-python/tests/test_serialization.py +47 -4
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/pyproject.toml +1 -1
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/python/snowflake_code_unit_registry/__init__.py +50 -5
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/python/snowflake_code_unit_registry/types.py +72 -9
- snowflake_code_unit_registry-0.4.10/crates/scai-state-core/src/error.rs +0 -240
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/README.md +0 -0
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/schemas/query-reference.rs.tmpl +0 -0
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/schemas/query-reference.tmpl +0 -0
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/generated/file_path_fields.rs +0 -0
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/generated/mod.rs +0 -0
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/identity.rs +0 -0
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/registry/README.md +0 -0
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/registry/query.rs +0 -0
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/registry/test_helpers.rs +0 -0
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-python/README.md +0 -0
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-python/tests/conftest.py +0 -0
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-python/tests/test_checksum.py +0 -0
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-python/tests/test_refresh.py +0 -0
- {snowflake_code_unit_registry-0.4.10 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-python/tests/test_validation.py +0 -0
|
@@ -69,9 +69,9 @@ checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
|
|
|
69
69
|
|
|
70
70
|
[[package]]
|
|
71
71
|
name = "aws-lc-rs"
|
|
72
|
-
version = "1.16.
|
|
72
|
+
version = "1.16.2"
|
|
73
73
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
74
|
-
checksum = "
|
|
74
|
+
checksum = "a054912289d18629dc78375ba2c3726a3afe3ff71b4edba9dedfca0e3446d1fc"
|
|
75
75
|
dependencies = [
|
|
76
76
|
"aws-lc-sys",
|
|
77
77
|
"zeroize",
|
|
@@ -79,9 +79,9 @@ dependencies = [
|
|
|
79
79
|
|
|
80
80
|
[[package]]
|
|
81
81
|
name = "aws-lc-sys"
|
|
82
|
-
version = "0.
|
|
82
|
+
version = "0.39.1"
|
|
83
83
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
84
|
-
checksum = "
|
|
84
|
+
checksum = "83a25cf98105baa966497416dbd42565ce3a8cf8dbfd59803ec9ad46f3126399"
|
|
85
85
|
dependencies = [
|
|
86
86
|
"cc",
|
|
87
87
|
"cmake",
|
|
@@ -161,9 +161,9 @@ checksum = "1e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33"
|
|
|
161
161
|
|
|
162
162
|
[[package]]
|
|
163
163
|
name = "cc"
|
|
164
|
-
version = "1.2.
|
|
164
|
+
version = "1.2.58"
|
|
165
165
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
166
|
-
checksum = "
|
|
166
|
+
checksum = "e1e928d4b69e3077709075a938a05ffbedfa53a84c8f766efbf8220bb1ff60e1"
|
|
167
167
|
dependencies = [
|
|
168
168
|
"find-msvc-tools",
|
|
169
169
|
"jobserver",
|
|
@@ -221,9 +221,9 @@ dependencies = [
|
|
|
221
221
|
|
|
222
222
|
[[package]]
|
|
223
223
|
name = "cmake"
|
|
224
|
-
version = "0.1.
|
|
224
|
+
version = "0.1.58"
|
|
225
225
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
226
|
-
checksum = "
|
|
226
|
+
checksum = "c0f78a02292a74a88ac736019ab962ece0bc380e3f977bf72e376c5d78ff0678"
|
|
227
227
|
dependencies = [
|
|
228
228
|
"cc",
|
|
229
229
|
]
|
|
@@ -309,9 +309,9 @@ dependencies = [
|
|
|
309
309
|
|
|
310
310
|
[[package]]
|
|
311
311
|
name = "ctor"
|
|
312
|
-
version = "0.
|
|
312
|
+
version = "0.8.0"
|
|
313
313
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
314
|
-
checksum = "
|
|
314
|
+
checksum = "352d39c2f7bef1d6ad73db6f5160efcaed66d94ef8c6c573a8410c00bf909a98"
|
|
315
315
|
dependencies = [
|
|
316
316
|
"ctor-proc-macro",
|
|
317
317
|
"dtor",
|
|
@@ -424,9 +424,9 @@ dependencies = [
|
|
|
424
424
|
|
|
425
425
|
[[package]]
|
|
426
426
|
name = "dtor"
|
|
427
|
-
version = "0.
|
|
427
|
+
version = "0.3.0"
|
|
428
428
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
429
|
-
checksum = "
|
|
429
|
+
checksum = "f1057d6c64987086ff8ed0fd3fbf377a6b7d205cc7715868cd401705f715cbe4"
|
|
430
430
|
dependencies = [
|
|
431
431
|
"dtor-proc-macro",
|
|
432
432
|
]
|
|
@@ -1134,9 +1134,9 @@ checksum = "d98f6fed1fde3f8c21bc40a1abb88dd75e67924f9cffc3ef95607bad8017f8e2"
|
|
|
1134
1134
|
|
|
1135
1135
|
[[package]]
|
|
1136
1136
|
name = "iri-string"
|
|
1137
|
-
version = "0.7.
|
|
1137
|
+
version = "0.7.12"
|
|
1138
1138
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1139
|
-
checksum = "
|
|
1139
|
+
checksum = "25e659a4bb38e810ebc252e53b5814ff908a8c58c2a9ce2fae1bbec24cbf4e20"
|
|
1140
1140
|
dependencies = [
|
|
1141
1141
|
"memchr",
|
|
1142
1142
|
"serde",
|
|
@@ -1144,9 +1144,9 @@ dependencies = [
|
|
|
1144
1144
|
|
|
1145
1145
|
[[package]]
|
|
1146
1146
|
name = "itoa"
|
|
1147
|
-
version = "1.0.
|
|
1147
|
+
version = "1.0.18"
|
|
1148
1148
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1149
|
-
checksum = "
|
|
1149
|
+
checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
|
|
1150
1150
|
|
|
1151
1151
|
[[package]]
|
|
1152
1152
|
name = "jni"
|
|
@@ -1157,7 +1157,7 @@ dependencies = [
|
|
|
1157
1157
|
"cesu8",
|
|
1158
1158
|
"cfg-if",
|
|
1159
1159
|
"combine",
|
|
1160
|
-
"jni-sys",
|
|
1160
|
+
"jni-sys 0.3.1",
|
|
1161
1161
|
"log",
|
|
1162
1162
|
"thiserror 1.0.69",
|
|
1163
1163
|
"walkdir",
|
|
@@ -1166,9 +1166,31 @@ dependencies = [
|
|
|
1166
1166
|
|
|
1167
1167
|
[[package]]
|
|
1168
1168
|
name = "jni-sys"
|
|
1169
|
-
version = "0.3.
|
|
1169
|
+
version = "0.3.1"
|
|
1170
1170
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1171
|
-
checksum = "
|
|
1171
|
+
checksum = "41a652e1f9b6e0275df1f15b32661cf0d4b78d4d87ddec5e0c3c20f097433258"
|
|
1172
|
+
dependencies = [
|
|
1173
|
+
"jni-sys 0.4.1",
|
|
1174
|
+
]
|
|
1175
|
+
|
|
1176
|
+
[[package]]
|
|
1177
|
+
name = "jni-sys"
|
|
1178
|
+
version = "0.4.1"
|
|
1179
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1180
|
+
checksum = "c6377a88cb3910bee9b0fa88d4f42e1d2da8e79915598f65fb0c7ee14c878af2"
|
|
1181
|
+
dependencies = [
|
|
1182
|
+
"jni-sys-macros",
|
|
1183
|
+
]
|
|
1184
|
+
|
|
1185
|
+
[[package]]
|
|
1186
|
+
name = "jni-sys-macros"
|
|
1187
|
+
version = "0.4.1"
|
|
1188
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1189
|
+
checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264"
|
|
1190
|
+
dependencies = [
|
|
1191
|
+
"quote",
|
|
1192
|
+
"syn",
|
|
1193
|
+
]
|
|
1172
1194
|
|
|
1173
1195
|
[[package]]
|
|
1174
1196
|
name = "jobserver"
|
|
@@ -1182,10 +1204,12 @@ dependencies = [
|
|
|
1182
1204
|
|
|
1183
1205
|
[[package]]
|
|
1184
1206
|
name = "js-sys"
|
|
1185
|
-
version = "0.3.
|
|
1207
|
+
version = "0.3.92"
|
|
1186
1208
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1187
|
-
checksum = "
|
|
1209
|
+
checksum = "cc4c90f45aa2e6eacbe8645f77fdea542ac97a494bcd117a67df9ff4d611f995"
|
|
1188
1210
|
dependencies = [
|
|
1211
|
+
"cfg-if",
|
|
1212
|
+
"futures-util",
|
|
1189
1213
|
"once_cell",
|
|
1190
1214
|
"wasm-bindgen",
|
|
1191
1215
|
]
|
|
@@ -1288,9 +1312,9 @@ checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79"
|
|
|
1288
1312
|
|
|
1289
1313
|
[[package]]
|
|
1290
1314
|
name = "mio"
|
|
1291
|
-
version = "1.
|
|
1315
|
+
version = "1.2.0"
|
|
1292
1316
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1293
|
-
checksum = "
|
|
1317
|
+
checksum = "50b7e5b27aa02a74bac8c3f23f448f8d87ff11f92d3aac1a6ed369ee08cc56c1"
|
|
1294
1318
|
dependencies = [
|
|
1295
1319
|
"libc",
|
|
1296
1320
|
"wasi",
|
|
@@ -1299,9 +1323,9 @@ dependencies = [
|
|
|
1299
1323
|
|
|
1300
1324
|
[[package]]
|
|
1301
1325
|
name = "napi"
|
|
1302
|
-
version = "3.8.
|
|
1326
|
+
version = "3.8.4"
|
|
1303
1327
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1304
|
-
checksum = "
|
|
1328
|
+
checksum = "fb7848c221fb7bb789e02f01875287ebb1e078b92a6566a34de01ef8806e7c2b"
|
|
1305
1329
|
dependencies = [
|
|
1306
1330
|
"bitflags",
|
|
1307
1331
|
"ctor",
|
|
@@ -1322,9 +1346,9 @@ checksum = "d376940fd5b723c6893cd1ee3f33abbfd86acb1cd1ec079f3ab04a2a3bc4d3b1"
|
|
|
1322
1346
|
|
|
1323
1347
|
[[package]]
|
|
1324
1348
|
name = "napi-derive"
|
|
1325
|
-
version = "3.5.
|
|
1349
|
+
version = "3.5.3"
|
|
1326
1350
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1327
|
-
checksum = "
|
|
1351
|
+
checksum = "60867ff9a6f76e82350e0c3420cb0736f5866091b61d7d8a024baa54b0ec17dd"
|
|
1328
1352
|
dependencies = [
|
|
1329
1353
|
"convert_case",
|
|
1330
1354
|
"ctor",
|
|
@@ -1452,9 +1476,9 @@ dependencies = [
|
|
|
1452
1476
|
|
|
1453
1477
|
[[package]]
|
|
1454
1478
|
name = "once_cell"
|
|
1455
|
-
version = "1.21.
|
|
1479
|
+
version = "1.21.4"
|
|
1456
1480
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1457
|
-
checksum = "
|
|
1481
|
+
checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
|
1458
1482
|
|
|
1459
1483
|
[[package]]
|
|
1460
1484
|
name = "openssl-probe"
|
|
@@ -1906,9 +1930,9 @@ dependencies = [
|
|
|
1906
1930
|
|
|
1907
1931
|
[[package]]
|
|
1908
1932
|
name = "regress"
|
|
1909
|
-
version = "0.11.
|
|
1933
|
+
version = "0.11.1"
|
|
1910
1934
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1911
|
-
checksum = "
|
|
1935
|
+
checksum = "158a764437582235e3501f683b93a0a6f8d825d04a789dbe5ed30b8799b8908a"
|
|
1912
1936
|
dependencies = [
|
|
1913
1937
|
"hashbrown 0.16.1",
|
|
1914
1938
|
"memchr",
|
|
@@ -1969,9 +1993,9 @@ dependencies = [
|
|
|
1969
1993
|
|
|
1970
1994
|
[[package]]
|
|
1971
1995
|
name = "rustc-hash"
|
|
1972
|
-
version = "2.1.
|
|
1996
|
+
version = "2.1.2"
|
|
1973
1997
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1974
|
-
checksum = "
|
|
1998
|
+
checksum = "94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe"
|
|
1975
1999
|
|
|
1976
2000
|
[[package]]
|
|
1977
2001
|
name = "rustix"
|
|
@@ -2050,9 +2074,9 @@ checksum = "f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f"
|
|
|
2050
2074
|
|
|
2051
2075
|
[[package]]
|
|
2052
2076
|
name = "rustls-webpki"
|
|
2053
|
-
version = "0.103.
|
|
2077
|
+
version = "0.103.10"
|
|
2054
2078
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2055
|
-
checksum = "
|
|
2079
|
+
checksum = "df33b2b81ac578cabaf06b89b0631153a3f416b0a886e8a7a1707fb51abbd1ef"
|
|
2056
2080
|
dependencies = [
|
|
2057
2081
|
"aws-lc-rs",
|
|
2058
2082
|
"ring",
|
|
@@ -2075,9 +2099,23 @@ dependencies = [
|
|
|
2075
2099
|
"winapi-util",
|
|
2076
2100
|
]
|
|
2077
2101
|
|
|
2102
|
+
[[package]]
|
|
2103
|
+
name = "scai-error-derive"
|
|
2104
|
+
version = "0.5.2"
|
|
2105
|
+
dependencies = [
|
|
2106
|
+
"err_code",
|
|
2107
|
+
"heck",
|
|
2108
|
+
"proc-macro2",
|
|
2109
|
+
"quote",
|
|
2110
|
+
"serde",
|
|
2111
|
+
"serde_json",
|
|
2112
|
+
"snafu",
|
|
2113
|
+
"syn",
|
|
2114
|
+
]
|
|
2115
|
+
|
|
2078
2116
|
[[package]]
|
|
2079
2117
|
name = "scai-state-core"
|
|
2080
|
-
version = "0.
|
|
2118
|
+
version = "0.5.2"
|
|
2081
2119
|
dependencies = [
|
|
2082
2120
|
"chrono",
|
|
2083
2121
|
"err_code",
|
|
@@ -2085,16 +2123,16 @@ dependencies = [
|
|
|
2085
2123
|
"jsonschema",
|
|
2086
2124
|
"prettyplease",
|
|
2087
2125
|
"rayon",
|
|
2088
|
-
"regress 0.11.
|
|
2126
|
+
"regress 0.11.1",
|
|
2127
|
+
"scai-error-derive",
|
|
2089
2128
|
"schemars",
|
|
2090
2129
|
"serde",
|
|
2091
2130
|
"serde_json",
|
|
2131
|
+
"snafu",
|
|
2092
2132
|
"sqlparser",
|
|
2093
|
-
"strum",
|
|
2094
2133
|
"syn",
|
|
2095
2134
|
"tempfile",
|
|
2096
2135
|
"test-case",
|
|
2097
|
-
"thiserror 2.0.18",
|
|
2098
2136
|
"typify",
|
|
2099
2137
|
"uuid",
|
|
2100
2138
|
"xxhash-rust",
|
|
@@ -2102,7 +2140,7 @@ dependencies = [
|
|
|
2102
2140
|
|
|
2103
2141
|
[[package]]
|
|
2104
2142
|
name = "scai-state-csharp"
|
|
2105
|
-
version = "0.
|
|
2143
|
+
version = "0.5.2"
|
|
2106
2144
|
dependencies = [
|
|
2107
2145
|
"interoptopus",
|
|
2108
2146
|
"interoptopus_backend_csharp",
|
|
@@ -2113,7 +2151,7 @@ dependencies = [
|
|
|
2113
2151
|
|
|
2114
2152
|
[[package]]
|
|
2115
2153
|
name = "scai-state-node"
|
|
2116
|
-
version = "0.
|
|
2154
|
+
version = "0.5.2"
|
|
2117
2155
|
dependencies = [
|
|
2118
2156
|
"napi",
|
|
2119
2157
|
"napi-build",
|
|
@@ -2125,7 +2163,7 @@ dependencies = [
|
|
|
2125
2163
|
|
|
2126
2164
|
[[package]]
|
|
2127
2165
|
name = "scai-state-python"
|
|
2128
|
-
version = "0.
|
|
2166
|
+
version = "0.5.2"
|
|
2129
2167
|
dependencies = [
|
|
2130
2168
|
"pyo3",
|
|
2131
2169
|
"pythonize",
|
|
@@ -2317,6 +2355,27 @@ version = "1.15.1"
|
|
|
2317
2355
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2318
2356
|
checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
|
|
2319
2357
|
|
|
2358
|
+
[[package]]
|
|
2359
|
+
name = "snafu"
|
|
2360
|
+
version = "0.9.0"
|
|
2361
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2362
|
+
checksum = "d1d4bced6a69f90b2056c03dcff2c4737f98d6fb9e0853493996e1d253ca29c6"
|
|
2363
|
+
dependencies = [
|
|
2364
|
+
"snafu-derive",
|
|
2365
|
+
]
|
|
2366
|
+
|
|
2367
|
+
[[package]]
|
|
2368
|
+
name = "snafu-derive"
|
|
2369
|
+
version = "0.9.0"
|
|
2370
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2371
|
+
checksum = "54254b8531cafa275c5e096f62d48c81435d1015405a91198ddb11e967301d40"
|
|
2372
|
+
dependencies = [
|
|
2373
|
+
"heck",
|
|
2374
|
+
"proc-macro2",
|
|
2375
|
+
"quote",
|
|
2376
|
+
"syn",
|
|
2377
|
+
]
|
|
2378
|
+
|
|
2320
2379
|
[[package]]
|
|
2321
2380
|
name = "socket2"
|
|
2322
2381
|
version = "0.6.3"
|
|
@@ -2362,27 +2421,6 @@ version = "0.11.1"
|
|
|
2362
2421
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2363
2422
|
checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
|
|
2364
2423
|
|
|
2365
|
-
[[package]]
|
|
2366
|
-
name = "strum"
|
|
2367
|
-
version = "0.28.0"
|
|
2368
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2369
|
-
checksum = "9628de9b8791db39ceda2b119bbe13134770b56c138ec1d3af810d045c04f9bd"
|
|
2370
|
-
dependencies = [
|
|
2371
|
-
"strum_macros",
|
|
2372
|
-
]
|
|
2373
|
-
|
|
2374
|
-
[[package]]
|
|
2375
|
-
name = "strum_macros"
|
|
2376
|
-
version = "0.28.0"
|
|
2377
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2378
|
-
checksum = "ab85eea0270ee17587ed4156089e10b9e6880ee688791d45a905f5b1ca36f664"
|
|
2379
|
-
dependencies = [
|
|
2380
|
-
"heck",
|
|
2381
|
-
"proc-macro2",
|
|
2382
|
-
"quote",
|
|
2383
|
-
"syn",
|
|
2384
|
-
]
|
|
2385
|
-
|
|
2386
2424
|
[[package]]
|
|
2387
2425
|
name = "subtle"
|
|
2388
2426
|
version = "2.6.1"
|
|
@@ -2724,9 +2762,9 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
|
2724
2762
|
|
|
2725
2763
|
[[package]]
|
|
2726
2764
|
name = "unicode-segmentation"
|
|
2727
|
-
version = "1.
|
|
2765
|
+
version = "1.13.2"
|
|
2728
2766
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2729
|
-
checksum = "
|
|
2767
|
+
checksum = "9629274872b2bfaf8d66f5f15725007f635594914870f65218920345aa11aa8c"
|
|
2730
2768
|
|
|
2731
2769
|
[[package]]
|
|
2732
2770
|
name = "unicode-xid"
|
|
@@ -2760,9 +2798,9 @@ checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
|
|
|
2760
2798
|
|
|
2761
2799
|
[[package]]
|
|
2762
2800
|
name = "uuid"
|
|
2763
|
-
version = "1.
|
|
2801
|
+
version = "1.23.0"
|
|
2764
2802
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2765
|
-
checksum = "
|
|
2803
|
+
checksum = "5ac8b6f42ead25368cf5b098aeb3dc8a1a2c05a3eee8a9a1a68c640edbfc79d9"
|
|
2766
2804
|
dependencies = [
|
|
2767
2805
|
"getrandom 0.4.2",
|
|
2768
2806
|
"js-sys",
|
|
@@ -2836,9 +2874,9 @@ dependencies = [
|
|
|
2836
2874
|
|
|
2837
2875
|
[[package]]
|
|
2838
2876
|
name = "wasm-bindgen"
|
|
2839
|
-
version = "0.2.
|
|
2877
|
+
version = "0.2.115"
|
|
2840
2878
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2841
|
-
checksum = "
|
|
2879
|
+
checksum = "6523d69017b7633e396a89c5efab138161ed5aafcbc8d3e5c5a42ae38f50495a"
|
|
2842
2880
|
dependencies = [
|
|
2843
2881
|
"cfg-if",
|
|
2844
2882
|
"once_cell",
|
|
@@ -2849,23 +2887,19 @@ dependencies = [
|
|
|
2849
2887
|
|
|
2850
2888
|
[[package]]
|
|
2851
2889
|
name = "wasm-bindgen-futures"
|
|
2852
|
-
version = "0.4.
|
|
2890
|
+
version = "0.4.65"
|
|
2853
2891
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2854
|
-
checksum = "
|
|
2892
|
+
checksum = "2d1faf851e778dfa54db7cd438b70758eba9755cb47403f3496edd7c8fc212f0"
|
|
2855
2893
|
dependencies = [
|
|
2856
|
-
"cfg-if",
|
|
2857
|
-
"futures-util",
|
|
2858
2894
|
"js-sys",
|
|
2859
|
-
"once_cell",
|
|
2860
2895
|
"wasm-bindgen",
|
|
2861
|
-
"web-sys",
|
|
2862
2896
|
]
|
|
2863
2897
|
|
|
2864
2898
|
[[package]]
|
|
2865
2899
|
name = "wasm-bindgen-macro"
|
|
2866
|
-
version = "0.2.
|
|
2900
|
+
version = "0.2.115"
|
|
2867
2901
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2868
|
-
checksum = "
|
|
2902
|
+
checksum = "4e3a6c758eb2f701ed3d052ff5737f5bfe6614326ea7f3bbac7156192dc32e67"
|
|
2869
2903
|
dependencies = [
|
|
2870
2904
|
"quote",
|
|
2871
2905
|
"wasm-bindgen-macro-support",
|
|
@@ -2873,9 +2907,9 @@ dependencies = [
|
|
|
2873
2907
|
|
|
2874
2908
|
[[package]]
|
|
2875
2909
|
name = "wasm-bindgen-macro-support"
|
|
2876
|
-
version = "0.2.
|
|
2910
|
+
version = "0.2.115"
|
|
2877
2911
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2878
|
-
checksum = "
|
|
2912
|
+
checksum = "921de2737904886b52bcbb237301552d05969a6f9c40d261eb0533c8b055fedf"
|
|
2879
2913
|
dependencies = [
|
|
2880
2914
|
"bumpalo",
|
|
2881
2915
|
"proc-macro2",
|
|
@@ -2886,9 +2920,9 @@ dependencies = [
|
|
|
2886
2920
|
|
|
2887
2921
|
[[package]]
|
|
2888
2922
|
name = "wasm-bindgen-shared"
|
|
2889
|
-
version = "0.2.
|
|
2923
|
+
version = "0.2.115"
|
|
2890
2924
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2891
|
-
checksum = "
|
|
2925
|
+
checksum = "a93e946af942b58934c604527337bad9ae33ba1d5c6900bbb41c2c07c2364a93"
|
|
2892
2926
|
dependencies = [
|
|
2893
2927
|
"unicode-ident",
|
|
2894
2928
|
]
|
|
@@ -2929,9 +2963,9 @@ dependencies = [
|
|
|
2929
2963
|
|
|
2930
2964
|
[[package]]
|
|
2931
2965
|
name = "web-sys"
|
|
2932
|
-
version = "0.3.
|
|
2966
|
+
version = "0.3.92"
|
|
2933
2967
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2934
|
-
checksum = "
|
|
2968
|
+
checksum = "84cde8507f4d7cfcb1185b8cb5890c494ffea65edbe1ba82cfd63661c805ed94"
|
|
2935
2969
|
dependencies = [
|
|
2936
2970
|
"js-sys",
|
|
2937
2971
|
"wasm-bindgen",
|
|
@@ -3318,18 +3352,18 @@ dependencies = [
|
|
|
3318
3352
|
|
|
3319
3353
|
[[package]]
|
|
3320
3354
|
name = "zerocopy"
|
|
3321
|
-
version = "0.8.
|
|
3355
|
+
version = "0.8.48"
|
|
3322
3356
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3323
|
-
checksum = "
|
|
3357
|
+
checksum = "eed437bf9d6692032087e337407a86f04cd8d6a16a37199ed57949d415bd68e9"
|
|
3324
3358
|
dependencies = [
|
|
3325
3359
|
"zerocopy-derive",
|
|
3326
3360
|
]
|
|
3327
3361
|
|
|
3328
3362
|
[[package]]
|
|
3329
3363
|
name = "zerocopy-derive"
|
|
3330
|
-
version = "0.8.
|
|
3364
|
+
version = "0.8.48"
|
|
3331
3365
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3332
|
-
checksum = "
|
|
3366
|
+
checksum = "70e3cd084b1788766f53af483dd21f93881ff30d7320490ec3ef7526d203bad4"
|
|
3333
3367
|
dependencies = [
|
|
3334
3368
|
"proc-macro2",
|
|
3335
3369
|
"quote",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
[workspace]
|
|
2
2
|
resolver = "2"
|
|
3
|
-
members = ["crates/scai-state-core", "crates/scai-state-python"]
|
|
3
|
+
members = ["crates/scai-error-derive", "crates/scai-state-core", "crates/scai-state-python"]
|
|
4
4
|
|
|
5
5
|
[workspace.package]
|
|
6
|
-
version = "0.
|
|
6
|
+
version = "0.5.2"
|
|
7
7
|
edition = "2021"
|
|
8
8
|
license = "SEE LICENSE IN LICENSE"
|
|
9
9
|
repository = "https://github.com/snowflake-eng/scai-state"
|
|
@@ -11,9 +11,8 @@ repository = "https://github.com/snowflake-eng/scai-state"
|
|
|
11
11
|
[workspace.dependencies]
|
|
12
12
|
serde = { version = "1.0", features = ["derive"] }
|
|
13
13
|
serde_json = "1.0"
|
|
14
|
-
|
|
14
|
+
snafu = "0.9"
|
|
15
15
|
err_code = "0.1"
|
|
16
16
|
uuid = { version = "1.0", features = ["v4"] }
|
|
17
17
|
fs2 = "0.4"
|
|
18
18
|
sqlparser = "0.61"
|
|
19
|
-
strum = { version = "0.28", features = ["derive"] }
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[package]
|
|
2
|
+
name = "scai-error-derive"
|
|
3
|
+
version.workspace = true
|
|
4
|
+
edition.workspace = true
|
|
5
|
+
license.workspace = true
|
|
6
|
+
description = "Proc-macro derive for SCAI error types (ScaiError)"
|
|
7
|
+
|
|
8
|
+
[lib]
|
|
9
|
+
proc-macro = true
|
|
10
|
+
|
|
11
|
+
[dependencies]
|
|
12
|
+
syn = { version = "2", features = ["full", "extra-traits"] }
|
|
13
|
+
quote = "1"
|
|
14
|
+
proc-macro2 = "1"
|
|
15
|
+
heck = "0.5.0"
|
|
16
|
+
|
|
17
|
+
[dev-dependencies]
|
|
18
|
+
snafu = "0.9"
|
|
19
|
+
err_code = "0.1"
|
|
20
|
+
serde = { version = "1.0", features = ["derive"] }
|
|
21
|
+
serde_json = "1.0"
|