snowflake-code-unit-registry 0.4.12__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.12 → snowflake_code_unit_registry-0.5.2}/Cargo.lock +88 -76
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/Cargo.toml +3 -4
- {snowflake_code_unit_registry-0.4.12 → 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.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/Cargo.toml +2 -2
- {snowflake_code_unit_registry-0.4.12 → 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.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/filter.rs +22 -11
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/lib.rs +3 -1
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/registry/graph.rs +5 -2
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/registry/in_memory.rs +1 -1
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/registry/loader.rs +9 -6
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/registry/paths.rs +7 -7
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/registry/tests.rs +28 -25
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/registry.rs +65 -26
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/validation.rs +2 -2
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-python/Cargo.toml +1 -1
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-python/src/lib.rs +10 -25
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-python/tests/test_batch.py +30 -2
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-python/tests/test_errors.py +31 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/pyproject.toml +1 -1
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/python/snowflake_code_unit_registry/__init__.py +46 -5
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/python/snowflake_code_unit_registry/types.py +1 -1
- snowflake_code_unit_registry-0.4.12/crates/scai-state-core/src/error.rs +0 -240
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/README.md +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/build.rs +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/examples/code-unit.example.json +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/schemas/code-unit.schema.json +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/schemas/query-reference.rs.tmpl +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/schemas/query-reference.tmpl +0 -0
- {snowflake_code_unit_registry-0.4.12 → 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.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/generated/mod.rs +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/generated/query_reference.rs +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/generated/updated_at_paths.rs +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/identity.rs +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/registry/README.md +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/registry/query.rs +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-core/src/registry/test_helpers.rs +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-python/README.md +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-python/tests/conftest.py +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-python/tests/test_checksum.py +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-python/tests/test_crud.py +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-python/tests/test_query.py +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-python/tests/test_refresh.py +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-python/tests/test_serialization.py +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.2}/crates/scai-state-python/tests/test_validation.py +0 -0
|
@@ -79,9 +79,9 @@ dependencies = [
|
|
|
79
79
|
|
|
80
80
|
[[package]]
|
|
81
81
|
name = "aws-lc-sys"
|
|
82
|
-
version = "0.39.
|
|
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",
|
|
@@ -1204,10 +1204,12 @@ dependencies = [
|
|
|
1204
1204
|
|
|
1205
1205
|
[[package]]
|
|
1206
1206
|
name = "js-sys"
|
|
1207
|
-
version = "0.3.
|
|
1207
|
+
version = "0.3.92"
|
|
1208
1208
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1209
|
-
checksum = "
|
|
1209
|
+
checksum = "cc4c90f45aa2e6eacbe8645f77fdea542ac97a494bcd117a67df9ff4d611f995"
|
|
1210
1210
|
dependencies = [
|
|
1211
|
+
"cfg-if",
|
|
1212
|
+
"futures-util",
|
|
1211
1213
|
"once_cell",
|
|
1212
1214
|
"wasm-bindgen",
|
|
1213
1215
|
]
|
|
@@ -1310,9 +1312,9 @@ checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79"
|
|
|
1310
1312
|
|
|
1311
1313
|
[[package]]
|
|
1312
1314
|
name = "mio"
|
|
1313
|
-
version = "1.
|
|
1315
|
+
version = "1.2.0"
|
|
1314
1316
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1315
|
-
checksum = "
|
|
1317
|
+
checksum = "50b7e5b27aa02a74bac8c3f23f448f8d87ff11f92d3aac1a6ed369ee08cc56c1"
|
|
1316
1318
|
dependencies = [
|
|
1317
1319
|
"libc",
|
|
1318
1320
|
"wasi",
|
|
@@ -1321,9 +1323,9 @@ dependencies = [
|
|
|
1321
1323
|
|
|
1322
1324
|
[[package]]
|
|
1323
1325
|
name = "napi"
|
|
1324
|
-
version = "3.8.
|
|
1326
|
+
version = "3.8.4"
|
|
1325
1327
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1326
|
-
checksum = "
|
|
1328
|
+
checksum = "fb7848c221fb7bb789e02f01875287ebb1e078b92a6566a34de01ef8806e7c2b"
|
|
1327
1329
|
dependencies = [
|
|
1328
1330
|
"bitflags",
|
|
1329
1331
|
"ctor",
|
|
@@ -1344,9 +1346,9 @@ checksum = "d376940fd5b723c6893cd1ee3f33abbfd86acb1cd1ec079f3ab04a2a3bc4d3b1"
|
|
|
1344
1346
|
|
|
1345
1347
|
[[package]]
|
|
1346
1348
|
name = "napi-derive"
|
|
1347
|
-
version = "3.5.
|
|
1349
|
+
version = "3.5.3"
|
|
1348
1350
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1349
|
-
checksum = "
|
|
1351
|
+
checksum = "60867ff9a6f76e82350e0c3420cb0736f5866091b61d7d8a024baa54b0ec17dd"
|
|
1350
1352
|
dependencies = [
|
|
1351
1353
|
"convert_case",
|
|
1352
1354
|
"ctor",
|
|
@@ -1928,9 +1930,9 @@ dependencies = [
|
|
|
1928
1930
|
|
|
1929
1931
|
[[package]]
|
|
1930
1932
|
name = "regress"
|
|
1931
|
-
version = "0.11.
|
|
1933
|
+
version = "0.11.1"
|
|
1932
1934
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1933
|
-
checksum = "
|
|
1935
|
+
checksum = "158a764437582235e3501f683b93a0a6f8d825d04a789dbe5ed30b8799b8908a"
|
|
1934
1936
|
dependencies = [
|
|
1935
1937
|
"hashbrown 0.16.1",
|
|
1936
1938
|
"memchr",
|
|
@@ -1991,9 +1993,9 @@ dependencies = [
|
|
|
1991
1993
|
|
|
1992
1994
|
[[package]]
|
|
1993
1995
|
name = "rustc-hash"
|
|
1994
|
-
version = "2.1.
|
|
1996
|
+
version = "2.1.2"
|
|
1995
1997
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1996
|
-
checksum = "
|
|
1998
|
+
checksum = "94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe"
|
|
1997
1999
|
|
|
1998
2000
|
[[package]]
|
|
1999
2001
|
name = "rustix"
|
|
@@ -2097,9 +2099,23 @@ dependencies = [
|
|
|
2097
2099
|
"winapi-util",
|
|
2098
2100
|
]
|
|
2099
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
|
+
|
|
2100
2116
|
[[package]]
|
|
2101
2117
|
name = "scai-state-core"
|
|
2102
|
-
version = "0.
|
|
2118
|
+
version = "0.5.2"
|
|
2103
2119
|
dependencies = [
|
|
2104
2120
|
"chrono",
|
|
2105
2121
|
"err_code",
|
|
@@ -2107,16 +2123,16 @@ dependencies = [
|
|
|
2107
2123
|
"jsonschema",
|
|
2108
2124
|
"prettyplease",
|
|
2109
2125
|
"rayon",
|
|
2110
|
-
"regress 0.11.
|
|
2126
|
+
"regress 0.11.1",
|
|
2127
|
+
"scai-error-derive",
|
|
2111
2128
|
"schemars",
|
|
2112
2129
|
"serde",
|
|
2113
2130
|
"serde_json",
|
|
2131
|
+
"snafu",
|
|
2114
2132
|
"sqlparser",
|
|
2115
|
-
"strum",
|
|
2116
2133
|
"syn",
|
|
2117
2134
|
"tempfile",
|
|
2118
2135
|
"test-case",
|
|
2119
|
-
"thiserror 2.0.18",
|
|
2120
2136
|
"typify",
|
|
2121
2137
|
"uuid",
|
|
2122
2138
|
"xxhash-rust",
|
|
@@ -2124,7 +2140,7 @@ dependencies = [
|
|
|
2124
2140
|
|
|
2125
2141
|
[[package]]
|
|
2126
2142
|
name = "scai-state-csharp"
|
|
2127
|
-
version = "0.
|
|
2143
|
+
version = "0.5.2"
|
|
2128
2144
|
dependencies = [
|
|
2129
2145
|
"interoptopus",
|
|
2130
2146
|
"interoptopus_backend_csharp",
|
|
@@ -2135,7 +2151,7 @@ dependencies = [
|
|
|
2135
2151
|
|
|
2136
2152
|
[[package]]
|
|
2137
2153
|
name = "scai-state-node"
|
|
2138
|
-
version = "0.
|
|
2154
|
+
version = "0.5.2"
|
|
2139
2155
|
dependencies = [
|
|
2140
2156
|
"napi",
|
|
2141
2157
|
"napi-build",
|
|
@@ -2147,7 +2163,7 @@ dependencies = [
|
|
|
2147
2163
|
|
|
2148
2164
|
[[package]]
|
|
2149
2165
|
name = "scai-state-python"
|
|
2150
|
-
version = "0.
|
|
2166
|
+
version = "0.5.2"
|
|
2151
2167
|
dependencies = [
|
|
2152
2168
|
"pyo3",
|
|
2153
2169
|
"pythonize",
|
|
@@ -2339,6 +2355,27 @@ version = "1.15.1"
|
|
|
2339
2355
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2340
2356
|
checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
|
|
2341
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
|
+
|
|
2342
2379
|
[[package]]
|
|
2343
2380
|
name = "socket2"
|
|
2344
2381
|
version = "0.6.3"
|
|
@@ -2384,27 +2421,6 @@ version = "0.11.1"
|
|
|
2384
2421
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2385
2422
|
checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
|
|
2386
2423
|
|
|
2387
|
-
[[package]]
|
|
2388
|
-
name = "strum"
|
|
2389
|
-
version = "0.28.0"
|
|
2390
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2391
|
-
checksum = "9628de9b8791db39ceda2b119bbe13134770b56c138ec1d3af810d045c04f9bd"
|
|
2392
|
-
dependencies = [
|
|
2393
|
-
"strum_macros",
|
|
2394
|
-
]
|
|
2395
|
-
|
|
2396
|
-
[[package]]
|
|
2397
|
-
name = "strum_macros"
|
|
2398
|
-
version = "0.28.0"
|
|
2399
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2400
|
-
checksum = "ab85eea0270ee17587ed4156089e10b9e6880ee688791d45a905f5b1ca36f664"
|
|
2401
|
-
dependencies = [
|
|
2402
|
-
"heck",
|
|
2403
|
-
"proc-macro2",
|
|
2404
|
-
"quote",
|
|
2405
|
-
"syn",
|
|
2406
|
-
]
|
|
2407
|
-
|
|
2408
2424
|
[[package]]
|
|
2409
2425
|
name = "subtle"
|
|
2410
2426
|
version = "2.6.1"
|
|
@@ -2746,9 +2762,9 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
|
2746
2762
|
|
|
2747
2763
|
[[package]]
|
|
2748
2764
|
name = "unicode-segmentation"
|
|
2749
|
-
version = "1.13.
|
|
2765
|
+
version = "1.13.2"
|
|
2750
2766
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2751
|
-
checksum = "
|
|
2767
|
+
checksum = "9629274872b2bfaf8d66f5f15725007f635594914870f65218920345aa11aa8c"
|
|
2752
2768
|
|
|
2753
2769
|
[[package]]
|
|
2754
2770
|
name = "unicode-xid"
|
|
@@ -2782,9 +2798,9 @@ checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
|
|
|
2782
2798
|
|
|
2783
2799
|
[[package]]
|
|
2784
2800
|
name = "uuid"
|
|
2785
|
-
version = "1.
|
|
2801
|
+
version = "1.23.0"
|
|
2786
2802
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2787
|
-
checksum = "
|
|
2803
|
+
checksum = "5ac8b6f42ead25368cf5b098aeb3dc8a1a2c05a3eee8a9a1a68c640edbfc79d9"
|
|
2788
2804
|
dependencies = [
|
|
2789
2805
|
"getrandom 0.4.2",
|
|
2790
2806
|
"js-sys",
|
|
@@ -2858,9 +2874,9 @@ dependencies = [
|
|
|
2858
2874
|
|
|
2859
2875
|
[[package]]
|
|
2860
2876
|
name = "wasm-bindgen"
|
|
2861
|
-
version = "0.2.
|
|
2877
|
+
version = "0.2.115"
|
|
2862
2878
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2863
|
-
checksum = "
|
|
2879
|
+
checksum = "6523d69017b7633e396a89c5efab138161ed5aafcbc8d3e5c5a42ae38f50495a"
|
|
2864
2880
|
dependencies = [
|
|
2865
2881
|
"cfg-if",
|
|
2866
2882
|
"once_cell",
|
|
@@ -2871,23 +2887,19 @@ dependencies = [
|
|
|
2871
2887
|
|
|
2872
2888
|
[[package]]
|
|
2873
2889
|
name = "wasm-bindgen-futures"
|
|
2874
|
-
version = "0.4.
|
|
2890
|
+
version = "0.4.65"
|
|
2875
2891
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2876
|
-
checksum = "
|
|
2892
|
+
checksum = "2d1faf851e778dfa54db7cd438b70758eba9755cb47403f3496edd7c8fc212f0"
|
|
2877
2893
|
dependencies = [
|
|
2878
|
-
"cfg-if",
|
|
2879
|
-
"futures-util",
|
|
2880
2894
|
"js-sys",
|
|
2881
|
-
"once_cell",
|
|
2882
2895
|
"wasm-bindgen",
|
|
2883
|
-
"web-sys",
|
|
2884
2896
|
]
|
|
2885
2897
|
|
|
2886
2898
|
[[package]]
|
|
2887
2899
|
name = "wasm-bindgen-macro"
|
|
2888
|
-
version = "0.2.
|
|
2900
|
+
version = "0.2.115"
|
|
2889
2901
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2890
|
-
checksum = "
|
|
2902
|
+
checksum = "4e3a6c758eb2f701ed3d052ff5737f5bfe6614326ea7f3bbac7156192dc32e67"
|
|
2891
2903
|
dependencies = [
|
|
2892
2904
|
"quote",
|
|
2893
2905
|
"wasm-bindgen-macro-support",
|
|
@@ -2895,9 +2907,9 @@ dependencies = [
|
|
|
2895
2907
|
|
|
2896
2908
|
[[package]]
|
|
2897
2909
|
name = "wasm-bindgen-macro-support"
|
|
2898
|
-
version = "0.2.
|
|
2910
|
+
version = "0.2.115"
|
|
2899
2911
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2900
|
-
checksum = "
|
|
2912
|
+
checksum = "921de2737904886b52bcbb237301552d05969a6f9c40d261eb0533c8b055fedf"
|
|
2901
2913
|
dependencies = [
|
|
2902
2914
|
"bumpalo",
|
|
2903
2915
|
"proc-macro2",
|
|
@@ -2908,9 +2920,9 @@ dependencies = [
|
|
|
2908
2920
|
|
|
2909
2921
|
[[package]]
|
|
2910
2922
|
name = "wasm-bindgen-shared"
|
|
2911
|
-
version = "0.2.
|
|
2923
|
+
version = "0.2.115"
|
|
2912
2924
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2913
|
-
checksum = "
|
|
2925
|
+
checksum = "a93e946af942b58934c604527337bad9ae33ba1d5c6900bbb41c2c07c2364a93"
|
|
2914
2926
|
dependencies = [
|
|
2915
2927
|
"unicode-ident",
|
|
2916
2928
|
]
|
|
@@ -2951,9 +2963,9 @@ dependencies = [
|
|
|
2951
2963
|
|
|
2952
2964
|
[[package]]
|
|
2953
2965
|
name = "web-sys"
|
|
2954
|
-
version = "0.3.
|
|
2966
|
+
version = "0.3.92"
|
|
2955
2967
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2956
|
-
checksum = "
|
|
2968
|
+
checksum = "84cde8507f4d7cfcb1185b8cb5890c494ffea65edbe1ba82cfd63661c805ed94"
|
|
2957
2969
|
dependencies = [
|
|
2958
2970
|
"js-sys",
|
|
2959
2971
|
"wasm-bindgen",
|
|
@@ -3340,18 +3352,18 @@ dependencies = [
|
|
|
3340
3352
|
|
|
3341
3353
|
[[package]]
|
|
3342
3354
|
name = "zerocopy"
|
|
3343
|
-
version = "0.8.
|
|
3355
|
+
version = "0.8.48"
|
|
3344
3356
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3345
|
-
checksum = "
|
|
3357
|
+
checksum = "eed437bf9d6692032087e337407a86f04cd8d6a16a37199ed57949d415bd68e9"
|
|
3346
3358
|
dependencies = [
|
|
3347
3359
|
"zerocopy-derive",
|
|
3348
3360
|
]
|
|
3349
3361
|
|
|
3350
3362
|
[[package]]
|
|
3351
3363
|
name = "zerocopy-derive"
|
|
3352
|
-
version = "0.8.
|
|
3364
|
+
version = "0.8.48"
|
|
3353
3365
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3354
|
-
checksum = "
|
|
3366
|
+
checksum = "70e3cd084b1788766f53af483dd21f93881ff30d7320490ec3ef7526d203bad4"
|
|
3355
3367
|
dependencies = [
|
|
3356
3368
|
"proc-macro2",
|
|
3357
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"
|