snowflake-code-unit-registry 0.4.12__tar.gz → 0.5.4__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.4}/Cargo.lock +92 -87
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/Cargo.toml +3 -4
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/PKG-INFO +1 -1
- snowflake_code_unit_registry-0.5.4/crates/scai-error-derive/Cargo.toml +21 -0
- snowflake_code_unit_registry-0.5.4/crates/scai-error-derive/src/lib.rs +286 -0
- snowflake_code_unit_registry-0.5.4/crates/scai-error-derive/tests/derive_integration.rs +236 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/crates/scai-state-core/Cargo.toml +2 -2
- snowflake_code_unit_registry-0.5.4/crates/scai-state-core/schemas/history/README.md +14 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/crates/scai-state-core/src/checksum.rs +13 -14
- snowflake_code_unit_registry-0.5.4/crates/scai-state-core/src/error.rs +451 -0
- snowflake_code_unit_registry-0.5.4/crates/scai-state-core/src/error_trace.rs +169 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/crates/scai-state-core/src/filter.rs +22 -11
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/crates/scai-state-core/src/lib.rs +7 -1
- snowflake_code_unit_registry-0.5.4/crates/scai-state-core/src/migration/mod.rs +390 -0
- snowflake_code_unit_registry-0.5.4/crates/scai-state-core/src/migration/versions/mod.rs +32 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/crates/scai-state-core/src/registry/graph.rs +5 -2
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/crates/scai-state-core/src/registry/in_memory.rs +1 -1
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/crates/scai-state-core/src/registry/loader.rs +10 -15
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/crates/scai-state-core/src/registry/paths.rs +21 -8
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/crates/scai-state-core/src/registry/tests.rs +182 -28
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/crates/scai-state-core/src/registry.rs +130 -28
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/crates/scai-state-core/src/validation.rs +55 -11
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/crates/scai-state-python/Cargo.toml +1 -1
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/crates/scai-state-python/src/lib.rs +31 -25
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/crates/scai-state-python/tests/test_batch.py +30 -2
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/crates/scai-state-python/tests/test_errors.py +31 -0
- snowflake_code_unit_registry-0.5.4/crates/scai-state-python/tests/test_migration.py +95 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/crates/scai-state-python/tests/test_validation.py +23 -1
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/pyproject.toml +1 -1
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/python/snowflake_code_unit_registry/__init__.py +82 -7
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/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.4}/README.md +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/crates/scai-state-core/build.rs +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/crates/scai-state-core/examples/code-unit.example.json +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/crates/scai-state-core/schemas/code-unit.schema.json +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/crates/scai-state-core/schemas/query-reference.rs.tmpl +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/crates/scai-state-core/schemas/query-reference.tmpl +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/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.4}/crates/scai-state-core/src/generated/mod.rs +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/crates/scai-state-core/src/generated/query_reference.rs +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/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.4}/crates/scai-state-core/src/identity.rs +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/crates/scai-state-core/src/registry/README.md +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/crates/scai-state-core/src/registry/query.rs +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/crates/scai-state-core/src/registry/test_helpers.rs +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/crates/scai-state-python/README.md +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/crates/scai-state-python/tests/conftest.py +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/crates/scai-state-python/tests/test_checksum.py +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/crates/scai-state-python/tests/test_crud.py +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/crates/scai-state-python/tests/test_query.py +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/crates/scai-state-python/tests/test_refresh.py +0 -0
- {snowflake_code_unit_registry-0.4.12 → snowflake_code_unit_registry-0.5.4}/crates/scai-state-python/tests/test_serialization.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
|
]
|
|
@@ -834,9 +834,9 @@ dependencies = [
|
|
|
834
834
|
|
|
835
835
|
[[package]]
|
|
836
836
|
name = "hyper"
|
|
837
|
-
version = "1.
|
|
837
|
+
version = "1.9.0"
|
|
838
838
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
839
|
-
checksum = "
|
|
839
|
+
checksum = "6299f016b246a94207e63da54dbe807655bf9e00044f73ded42c3ac5305fbcca"
|
|
840
840
|
dependencies = [
|
|
841
841
|
"atomic-waker",
|
|
842
842
|
"bytes",
|
|
@@ -848,7 +848,6 @@ dependencies = [
|
|
|
848
848
|
"httparse",
|
|
849
849
|
"itoa",
|
|
850
850
|
"pin-project-lite",
|
|
851
|
-
"pin-utils",
|
|
852
851
|
"smallvec",
|
|
853
852
|
"tokio",
|
|
854
853
|
"want",
|
|
@@ -1134,9 +1133,9 @@ checksum = "d98f6fed1fde3f8c21bc40a1abb88dd75e67924f9cffc3ef95607bad8017f8e2"
|
|
|
1134
1133
|
|
|
1135
1134
|
[[package]]
|
|
1136
1135
|
name = "iri-string"
|
|
1137
|
-
version = "0.7.
|
|
1136
|
+
version = "0.7.12"
|
|
1138
1137
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1139
|
-
checksum = "
|
|
1138
|
+
checksum = "25e659a4bb38e810ebc252e53b5814ff908a8c58c2a9ce2fae1bbec24cbf4e20"
|
|
1140
1139
|
dependencies = [
|
|
1141
1140
|
"memchr",
|
|
1142
1141
|
"serde",
|
|
@@ -1204,10 +1203,12 @@ dependencies = [
|
|
|
1204
1203
|
|
|
1205
1204
|
[[package]]
|
|
1206
1205
|
name = "js-sys"
|
|
1207
|
-
version = "0.3.
|
|
1206
|
+
version = "0.3.94"
|
|
1208
1207
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1209
|
-
checksum = "
|
|
1208
|
+
checksum = "2e04e2ef80ce82e13552136fabeef8a5ed1f985a96805761cbb9a2c34e7664d9"
|
|
1210
1209
|
dependencies = [
|
|
1210
|
+
"cfg-if",
|
|
1211
|
+
"futures-util",
|
|
1211
1212
|
"once_cell",
|
|
1212
1213
|
"wasm-bindgen",
|
|
1213
1214
|
]
|
|
@@ -1255,9 +1256,9 @@ checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2"
|
|
|
1255
1256
|
|
|
1256
1257
|
[[package]]
|
|
1257
1258
|
name = "libc"
|
|
1258
|
-
version = "0.2.
|
|
1259
|
+
version = "0.2.184"
|
|
1259
1260
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1260
|
-
checksum = "
|
|
1261
|
+
checksum = "48f5d2a454e16a5ea0f4ced81bd44e4cfc7bd3a507b61887c99fd3538b28e4af"
|
|
1261
1262
|
|
|
1262
1263
|
[[package]]
|
|
1263
1264
|
name = "libloading"
|
|
@@ -1310,9 +1311,9 @@ checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79"
|
|
|
1310
1311
|
|
|
1311
1312
|
[[package]]
|
|
1312
1313
|
name = "mio"
|
|
1313
|
-
version = "1.
|
|
1314
|
+
version = "1.2.0"
|
|
1314
1315
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1315
|
-
checksum = "
|
|
1316
|
+
checksum = "50b7e5b27aa02a74bac8c3f23f448f8d87ff11f92d3aac1a6ed369ee08cc56c1"
|
|
1316
1317
|
dependencies = [
|
|
1317
1318
|
"libc",
|
|
1318
1319
|
"wasi",
|
|
@@ -1321,9 +1322,9 @@ dependencies = [
|
|
|
1321
1322
|
|
|
1322
1323
|
[[package]]
|
|
1323
1324
|
name = "napi"
|
|
1324
|
-
version = "3.8.
|
|
1325
|
+
version = "3.8.4"
|
|
1325
1326
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1326
|
-
checksum = "
|
|
1327
|
+
checksum = "fb7848c221fb7bb789e02f01875287ebb1e078b92a6566a34de01ef8806e7c2b"
|
|
1327
1328
|
dependencies = [
|
|
1328
1329
|
"bitflags",
|
|
1329
1330
|
"ctor",
|
|
@@ -1344,9 +1345,9 @@ checksum = "d376940fd5b723c6893cd1ee3f33abbfd86acb1cd1ec079f3ab04a2a3bc4d3b1"
|
|
|
1344
1345
|
|
|
1345
1346
|
[[package]]
|
|
1346
1347
|
name = "napi-derive"
|
|
1347
|
-
version = "3.5.
|
|
1348
|
+
version = "3.5.3"
|
|
1348
1349
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1349
|
-
checksum = "
|
|
1350
|
+
checksum = "60867ff9a6f76e82350e0c3420cb0736f5866091b61d7d8a024baa54b0ec17dd"
|
|
1350
1351
|
dependencies = [
|
|
1351
1352
|
"convert_case",
|
|
1352
1353
|
"ctor",
|
|
@@ -1615,12 +1616,6 @@ version = "0.2.17"
|
|
|
1615
1616
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1616
1617
|
checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
|
|
1617
1618
|
|
|
1618
|
-
[[package]]
|
|
1619
|
-
name = "pin-utils"
|
|
1620
|
-
version = "0.1.0"
|
|
1621
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1622
|
-
checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
|
|
1623
|
-
|
|
1624
1619
|
[[package]]
|
|
1625
1620
|
name = "portable-atomic"
|
|
1626
1621
|
version = "1.13.1"
|
|
@@ -1928,9 +1923,9 @@ dependencies = [
|
|
|
1928
1923
|
|
|
1929
1924
|
[[package]]
|
|
1930
1925
|
name = "regress"
|
|
1931
|
-
version = "0.11.
|
|
1926
|
+
version = "0.11.1"
|
|
1932
1927
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1933
|
-
checksum = "
|
|
1928
|
+
checksum = "158a764437582235e3501f683b93a0a6f8d825d04a789dbe5ed30b8799b8908a"
|
|
1934
1929
|
dependencies = [
|
|
1935
1930
|
"hashbrown 0.16.1",
|
|
1936
1931
|
"memchr",
|
|
@@ -1991,9 +1986,9 @@ dependencies = [
|
|
|
1991
1986
|
|
|
1992
1987
|
[[package]]
|
|
1993
1988
|
name = "rustc-hash"
|
|
1994
|
-
version = "2.1.
|
|
1989
|
+
version = "2.1.2"
|
|
1995
1990
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1996
|
-
checksum = "
|
|
1991
|
+
checksum = "94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe"
|
|
1997
1992
|
|
|
1998
1993
|
[[package]]
|
|
1999
1994
|
name = "rustix"
|
|
@@ -2097,9 +2092,23 @@ dependencies = [
|
|
|
2097
2092
|
"winapi-util",
|
|
2098
2093
|
]
|
|
2099
2094
|
|
|
2095
|
+
[[package]]
|
|
2096
|
+
name = "scai-error-derive"
|
|
2097
|
+
version = "0.5.4"
|
|
2098
|
+
dependencies = [
|
|
2099
|
+
"err_code",
|
|
2100
|
+
"heck",
|
|
2101
|
+
"proc-macro2",
|
|
2102
|
+
"quote",
|
|
2103
|
+
"serde",
|
|
2104
|
+
"serde_json",
|
|
2105
|
+
"snafu",
|
|
2106
|
+
"syn",
|
|
2107
|
+
]
|
|
2108
|
+
|
|
2100
2109
|
[[package]]
|
|
2101
2110
|
name = "scai-state-core"
|
|
2102
|
-
version = "0.4
|
|
2111
|
+
version = "0.5.4"
|
|
2103
2112
|
dependencies = [
|
|
2104
2113
|
"chrono",
|
|
2105
2114
|
"err_code",
|
|
@@ -2107,16 +2116,16 @@ dependencies = [
|
|
|
2107
2116
|
"jsonschema",
|
|
2108
2117
|
"prettyplease",
|
|
2109
2118
|
"rayon",
|
|
2110
|
-
"regress 0.11.
|
|
2119
|
+
"regress 0.11.1",
|
|
2120
|
+
"scai-error-derive",
|
|
2111
2121
|
"schemars",
|
|
2112
2122
|
"serde",
|
|
2113
2123
|
"serde_json",
|
|
2124
|
+
"snafu",
|
|
2114
2125
|
"sqlparser",
|
|
2115
|
-
"strum",
|
|
2116
2126
|
"syn",
|
|
2117
2127
|
"tempfile",
|
|
2118
2128
|
"test-case",
|
|
2119
|
-
"thiserror 2.0.18",
|
|
2120
2129
|
"typify",
|
|
2121
2130
|
"uuid",
|
|
2122
2131
|
"xxhash-rust",
|
|
@@ -2124,7 +2133,7 @@ dependencies = [
|
|
|
2124
2133
|
|
|
2125
2134
|
[[package]]
|
|
2126
2135
|
name = "scai-state-csharp"
|
|
2127
|
-
version = "0.4
|
|
2136
|
+
version = "0.5.4"
|
|
2128
2137
|
dependencies = [
|
|
2129
2138
|
"interoptopus",
|
|
2130
2139
|
"interoptopus_backend_csharp",
|
|
@@ -2135,7 +2144,7 @@ dependencies = [
|
|
|
2135
2144
|
|
|
2136
2145
|
[[package]]
|
|
2137
2146
|
name = "scai-state-node"
|
|
2138
|
-
version = "0.4
|
|
2147
|
+
version = "0.5.4"
|
|
2139
2148
|
dependencies = [
|
|
2140
2149
|
"napi",
|
|
2141
2150
|
"napi-build",
|
|
@@ -2147,7 +2156,7 @@ dependencies = [
|
|
|
2147
2156
|
|
|
2148
2157
|
[[package]]
|
|
2149
2158
|
name = "scai-state-python"
|
|
2150
|
-
version = "0.4
|
|
2159
|
+
version = "0.5.4"
|
|
2151
2160
|
dependencies = [
|
|
2152
2161
|
"pyo3",
|
|
2153
2162
|
"pythonize",
|
|
@@ -2339,6 +2348,27 @@ version = "1.15.1"
|
|
|
2339
2348
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2340
2349
|
checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
|
|
2341
2350
|
|
|
2351
|
+
[[package]]
|
|
2352
|
+
name = "snafu"
|
|
2353
|
+
version = "0.9.0"
|
|
2354
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2355
|
+
checksum = "d1d4bced6a69f90b2056c03dcff2c4737f98d6fb9e0853493996e1d253ca29c6"
|
|
2356
|
+
dependencies = [
|
|
2357
|
+
"snafu-derive",
|
|
2358
|
+
]
|
|
2359
|
+
|
|
2360
|
+
[[package]]
|
|
2361
|
+
name = "snafu-derive"
|
|
2362
|
+
version = "0.9.0"
|
|
2363
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2364
|
+
checksum = "54254b8531cafa275c5e096f62d48c81435d1015405a91198ddb11e967301d40"
|
|
2365
|
+
dependencies = [
|
|
2366
|
+
"heck",
|
|
2367
|
+
"proc-macro2",
|
|
2368
|
+
"quote",
|
|
2369
|
+
"syn",
|
|
2370
|
+
]
|
|
2371
|
+
|
|
2342
2372
|
[[package]]
|
|
2343
2373
|
name = "socket2"
|
|
2344
2374
|
version = "0.6.3"
|
|
@@ -2384,27 +2414,6 @@ version = "0.11.1"
|
|
|
2384
2414
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2385
2415
|
checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
|
|
2386
2416
|
|
|
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
2417
|
[[package]]
|
|
2409
2418
|
name = "subtle"
|
|
2410
2419
|
version = "2.6.1"
|
|
@@ -2746,9 +2755,9 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
|
2746
2755
|
|
|
2747
2756
|
[[package]]
|
|
2748
2757
|
name = "unicode-segmentation"
|
|
2749
|
-
version = "1.13.
|
|
2758
|
+
version = "1.13.2"
|
|
2750
2759
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2751
|
-
checksum = "
|
|
2760
|
+
checksum = "9629274872b2bfaf8d66f5f15725007f635594914870f65218920345aa11aa8c"
|
|
2752
2761
|
|
|
2753
2762
|
[[package]]
|
|
2754
2763
|
name = "unicode-xid"
|
|
@@ -2782,9 +2791,9 @@ checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
|
|
|
2782
2791
|
|
|
2783
2792
|
[[package]]
|
|
2784
2793
|
name = "uuid"
|
|
2785
|
-
version = "1.
|
|
2794
|
+
version = "1.23.0"
|
|
2786
2795
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2787
|
-
checksum = "
|
|
2796
|
+
checksum = "5ac8b6f42ead25368cf5b098aeb3dc8a1a2c05a3eee8a9a1a68c640edbfc79d9"
|
|
2788
2797
|
dependencies = [
|
|
2789
2798
|
"getrandom 0.4.2",
|
|
2790
2799
|
"js-sys",
|
|
@@ -2858,9 +2867,9 @@ dependencies = [
|
|
|
2858
2867
|
|
|
2859
2868
|
[[package]]
|
|
2860
2869
|
name = "wasm-bindgen"
|
|
2861
|
-
version = "0.2.
|
|
2870
|
+
version = "0.2.117"
|
|
2862
2871
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2863
|
-
checksum = "
|
|
2872
|
+
checksum = "0551fc1bb415591e3372d0bc4780db7e587d84e2a7e79da121051c5c4b89d0b0"
|
|
2864
2873
|
dependencies = [
|
|
2865
2874
|
"cfg-if",
|
|
2866
2875
|
"once_cell",
|
|
@@ -2871,23 +2880,19 @@ dependencies = [
|
|
|
2871
2880
|
|
|
2872
2881
|
[[package]]
|
|
2873
2882
|
name = "wasm-bindgen-futures"
|
|
2874
|
-
version = "0.4.
|
|
2883
|
+
version = "0.4.67"
|
|
2875
2884
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2876
|
-
checksum = "
|
|
2885
|
+
checksum = "03623de6905b7206edd0a75f69f747f134b7f0a2323392d664448bf2d3c5d87e"
|
|
2877
2886
|
dependencies = [
|
|
2878
|
-
"cfg-if",
|
|
2879
|
-
"futures-util",
|
|
2880
2887
|
"js-sys",
|
|
2881
|
-
"once_cell",
|
|
2882
2888
|
"wasm-bindgen",
|
|
2883
|
-
"web-sys",
|
|
2884
2889
|
]
|
|
2885
2890
|
|
|
2886
2891
|
[[package]]
|
|
2887
2892
|
name = "wasm-bindgen-macro"
|
|
2888
|
-
version = "0.2.
|
|
2893
|
+
version = "0.2.117"
|
|
2889
2894
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2890
|
-
checksum = "
|
|
2895
|
+
checksum = "7fbdf9a35adf44786aecd5ff89b4563a90325f9da0923236f6104e603c7e86be"
|
|
2891
2896
|
dependencies = [
|
|
2892
2897
|
"quote",
|
|
2893
2898
|
"wasm-bindgen-macro-support",
|
|
@@ -2895,9 +2900,9 @@ dependencies = [
|
|
|
2895
2900
|
|
|
2896
2901
|
[[package]]
|
|
2897
2902
|
name = "wasm-bindgen-macro-support"
|
|
2898
|
-
version = "0.2.
|
|
2903
|
+
version = "0.2.117"
|
|
2899
2904
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2900
|
-
checksum = "
|
|
2905
|
+
checksum = "dca9693ef2bab6d4e6707234500350d8dad079eb508dca05530c85dc3a529ff2"
|
|
2901
2906
|
dependencies = [
|
|
2902
2907
|
"bumpalo",
|
|
2903
2908
|
"proc-macro2",
|
|
@@ -2908,9 +2913,9 @@ dependencies = [
|
|
|
2908
2913
|
|
|
2909
2914
|
[[package]]
|
|
2910
2915
|
name = "wasm-bindgen-shared"
|
|
2911
|
-
version = "0.2.
|
|
2916
|
+
version = "0.2.117"
|
|
2912
2917
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2913
|
-
checksum = "
|
|
2918
|
+
checksum = "39129a682a6d2d841b6c429d0c51e5cb0ed1a03829d8b3d1e69a011e62cb3d3b"
|
|
2914
2919
|
dependencies = [
|
|
2915
2920
|
"unicode-ident",
|
|
2916
2921
|
]
|
|
@@ -2951,9 +2956,9 @@ dependencies = [
|
|
|
2951
2956
|
|
|
2952
2957
|
[[package]]
|
|
2953
2958
|
name = "web-sys"
|
|
2954
|
-
version = "0.3.
|
|
2959
|
+
version = "0.3.94"
|
|
2955
2960
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2956
|
-
checksum = "
|
|
2961
|
+
checksum = "cd70027e39b12f0849461e08ffc50b9cd7688d942c1c8e3c7b22273236b4dd0a"
|
|
2957
2962
|
dependencies = [
|
|
2958
2963
|
"js-sys",
|
|
2959
2964
|
"wasm-bindgen",
|
|
@@ -3340,18 +3345,18 @@ dependencies = [
|
|
|
3340
3345
|
|
|
3341
3346
|
[[package]]
|
|
3342
3347
|
name = "zerocopy"
|
|
3343
|
-
version = "0.8.
|
|
3348
|
+
version = "0.8.48"
|
|
3344
3349
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3345
|
-
checksum = "
|
|
3350
|
+
checksum = "eed437bf9d6692032087e337407a86f04cd8d6a16a37199ed57949d415bd68e9"
|
|
3346
3351
|
dependencies = [
|
|
3347
3352
|
"zerocopy-derive",
|
|
3348
3353
|
]
|
|
3349
3354
|
|
|
3350
3355
|
[[package]]
|
|
3351
3356
|
name = "zerocopy-derive"
|
|
3352
|
-
version = "0.8.
|
|
3357
|
+
version = "0.8.48"
|
|
3353
3358
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3354
|
-
checksum = "
|
|
3359
|
+
checksum = "70e3cd084b1788766f53af483dd21f93881ff30d7320490ec3ef7526d203bad4"
|
|
3355
3360
|
dependencies = [
|
|
3356
3361
|
"proc-macro2",
|
|
3357
3362
|
"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.4
|
|
6
|
+
version = "0.5.4"
|
|
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"
|