@databricks/zerobus-ingest-sdk 1.1.0 → 1.2.0

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.
package/Cargo.lock CHANGED
@@ -42,9 +42,9 @@ checksum = "7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c"
42
42
 
43
43
  [[package]]
44
44
  name = "arrow-array"
45
- version = "58.2.0"
45
+ version = "59.2.0"
46
46
  source = "registry+https://github.com/rust-lang/crates.io-index"
47
- checksum = "841321891f247aa86c6112c80d83d89cb36e0addd020fa2425085b8eb6c3f579"
47
+ checksum = "bc9a4a4b2b5ecd0e04df03471661cb61f28bed3c7fd50994715129b01b2edb97"
48
48
  dependencies = [
49
49
  "ahash",
50
50
  "arrow-buffer",
@@ -60,9 +60,9 @@ dependencies = [
60
60
 
61
61
  [[package]]
62
62
  name = "arrow-buffer"
63
- version = "58.2.0"
63
+ version = "59.2.0"
64
64
  source = "registry+https://github.com/rust-lang/crates.io-index"
65
- checksum = "f955dfb73fae000425f49c8226d2044dab60fb7ad4af1e24f961756354d996c9"
65
+ checksum = "c12b576ef18c1deb80925a248b25ad84f419198d791b8e293fc6aaa60441fe90"
66
66
  dependencies = [
67
67
  "bytes",
68
68
  "half",
@@ -72,9 +72,9 @@ dependencies = [
72
72
 
73
73
  [[package]]
74
74
  name = "arrow-cast"
75
- version = "58.2.0"
75
+ version = "59.2.0"
76
76
  source = "registry+https://github.com/rust-lang/crates.io-index"
77
- checksum = "ca5e686972523798f76bef355145bc1ae25a84c731e650268d31ab763c701663"
77
+ checksum = "68338a9096a5dc9bc11927c58c43a8526d96bf6abd2012ef6c0c9f505991cc79"
78
78
  dependencies = [
79
79
  "arrow-array",
80
80
  "arrow-buffer",
@@ -83,7 +83,7 @@ dependencies = [
83
83
  "arrow-schema",
84
84
  "arrow-select",
85
85
  "atoi",
86
- "base64 0.22.1",
86
+ "base64 0.23.1",
87
87
  "chrono",
88
88
  "half",
89
89
  "lexical-core",
@@ -93,9 +93,9 @@ dependencies = [
93
93
 
94
94
  [[package]]
95
95
  name = "arrow-data"
96
- version = "58.2.0"
96
+ version = "59.2.0"
97
97
  source = "registry+https://github.com/rust-lang/crates.io-index"
98
- checksum = "db3b5846209775b6dc8056d77ff9a032b27043383dd5488abd0b663e265b9373"
98
+ checksum = "723fe4aeed7604e00b9883a465af4ff0a0e6c44c03e41a68c3d1cbc403e0e44d"
99
99
  dependencies = [
100
100
  "arrow-buffer",
101
101
  "arrow-schema",
@@ -106,16 +106,15 @@ dependencies = [
106
106
 
107
107
  [[package]]
108
108
  name = "arrow-flight"
109
- version = "58.2.0"
110
- source = "registry+https://github.com/rust-lang/crates.io-index"
111
- checksum = "e7c379738a9e41eda5873bb3256c89164f87c65b16b0b153cccc74d8a462b7e8"
109
+ version = "59.2.0"
112
110
  dependencies = [
113
111
  "arrow-array",
114
112
  "arrow-buffer",
115
113
  "arrow-cast",
114
+ "arrow-data",
116
115
  "arrow-ipc",
117
116
  "arrow-schema",
118
- "base64 0.22.1",
117
+ "base64 0.23.1",
119
118
  "bytes",
120
119
  "futures",
121
120
  "prost",
@@ -126,9 +125,9 @@ dependencies = [
126
125
 
127
126
  [[package]]
128
127
  name = "arrow-ipc"
129
- version = "58.2.0"
128
+ version = "59.2.0"
130
129
  source = "registry+https://github.com/rust-lang/crates.io-index"
131
- checksum = "fd8907ddd8f9fbabf91ec2c85c1d81fe2874e336d2443eb36373595e28b98dd5"
130
+ checksum = "149437b14371f5b9ec60f5ddc751483ae99d7a7072653c0075e5e469156eea7b"
132
131
  dependencies = [
133
132
  "arrow-array",
134
133
  "arrow-buffer",
@@ -142,9 +141,9 @@ dependencies = [
142
141
 
143
142
  [[package]]
144
143
  name = "arrow-ord"
145
- version = "58.2.0"
144
+ version = "59.2.0"
146
145
  source = "registry+https://github.com/rust-lang/crates.io-index"
147
- checksum = "efa70d9d6b1356f1fb9f1f651b84a725b7e0abb93f188cf7d31f14abfa2f2e6f"
146
+ checksum = "e6c08dff0686cf23ca4f562803f191ccbeb726dbae6309cd4b4aaf65e0f2c979"
148
147
  dependencies = [
149
148
  "arrow-array",
150
149
  "arrow-buffer",
@@ -155,15 +154,15 @@ dependencies = [
155
154
 
156
155
  [[package]]
157
156
  name = "arrow-schema"
158
- version = "58.2.0"
157
+ version = "59.2.0"
159
158
  source = "registry+https://github.com/rust-lang/crates.io-index"
160
- checksum = "18aa020f6bc8e5201dcd2d4b7f98c68f8a410ef37128263243e6ff2a47a67d4f"
159
+ checksum = "e6fed2ca0d1eade57e811cbe73b98ad50cc08a1183e13b2d2aa43a7df593f40e"
161
160
 
162
161
  [[package]]
163
162
  name = "arrow-select"
164
- version = "58.2.0"
163
+ version = "59.2.0"
165
164
  source = "registry+https://github.com/rust-lang/crates.io-index"
166
- checksum = "a657ab5132e9c8ca3b24eb15a823d0ced38017fe3930ff50167466b02e2d592c"
165
+ checksum = "466b19cf75130b891dc1b23a84b343c714c62c64c9c62e365c76aa0ff90a53fb"
167
166
  dependencies = [
168
167
  "ahash",
169
168
  "arrow-array",
@@ -260,6 +259,12 @@ version = "0.22.1"
260
259
  source = "registry+https://github.com/rust-lang/crates.io-index"
261
260
  checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
262
261
 
262
+ [[package]]
263
+ name = "base64"
264
+ version = "0.23.1"
265
+ source = "registry+https://github.com/rust-lang/crates.io-index"
266
+ checksum = "ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5"
267
+
263
268
  [[package]]
264
269
  name = "bitflags"
265
270
  version = "2.11.0"
@@ -351,16 +356,6 @@ dependencies = [
351
356
  "unicode-segmentation",
352
357
  ]
353
358
 
354
- [[package]]
355
- name = "core-foundation"
356
- version = "0.9.4"
357
- source = "registry+https://github.com/rust-lang/crates.io-index"
358
- checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f"
359
- dependencies = [
360
- "core-foundation-sys",
361
- "libc",
362
- ]
363
-
364
359
  [[package]]
365
360
  name = "core-foundation"
366
361
  version = "0.10.1"
@@ -414,9 +409,7 @@ dependencies = [
414
409
 
415
410
  [[package]]
416
411
  name = "databricks-zerobus-ingest-sdk"
417
- version = "2.0.1"
418
- source = "registry+https://github.com/rust-lang/crates.io-index"
419
- checksum = "90f87c99484cd20e2c9c361e2fe8884f614f35d8cde7d630cfaacbc09c4c21e9"
412
+ version = "2.7.1"
420
413
  dependencies = [
421
414
  "arrow-array",
422
415
  "arrow-flight",
@@ -426,13 +419,16 @@ dependencies = [
426
419
  "bytes",
427
420
  "futures",
428
421
  "hyper-http-proxy",
422
+ "hyper-rustls",
429
423
  "hyper-util",
430
424
  "prost",
425
+ "prost-reflect",
431
426
  "prost-types",
432
427
  "protoc-bin-vendored",
433
428
  "reqwest",
434
429
  "serde",
435
430
  "serde_json",
431
+ "sha2",
436
432
  "smallvec",
437
433
  "thiserror 1.0.69",
438
434
  "tokio",
@@ -442,6 +438,7 @@ dependencies = [
442
438
  "tonic",
443
439
  "tonic-prost",
444
440
  "tonic-prost-build",
441
+ "tonic-types",
445
442
  "tracing",
446
443
  ]
447
444
 
@@ -836,12 +833,9 @@ dependencies = [
836
833
  "headers",
837
834
  "http",
838
835
  "hyper",
839
- "hyper-rustls",
840
836
  "hyper-util",
841
837
  "pin-project-lite",
842
- "rustls-native-certs 0.7.3",
843
838
  "tokio",
844
- "tokio-rustls",
845
839
  "tower-service",
846
840
  ]
847
841
 
@@ -855,7 +849,7 @@ dependencies = [
855
849
  "hyper",
856
850
  "hyper-util",
857
851
  "rustls",
858
- "rustls-native-certs 0.8.3",
852
+ "rustls-native-certs",
859
853
  "rustls-pki-types",
860
854
  "tokio",
861
855
  "tokio-rustls",
@@ -1205,9 +1199,9 @@ checksum = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154"
1205
1199
 
1206
1200
  [[package]]
1207
1201
  name = "lz4_flex"
1208
- version = "0.13.1"
1202
+ version = "0.14.0"
1209
1203
  source = "registry+https://github.com/rust-lang/crates.io-index"
1210
- checksum = "7ef0d4ed8669f8f8826eb00dc878084aa8f253506c4fd5e8f58f5bce72ddb97e"
1204
+ checksum = "ecbdfe44b1bd960b68170b417450a628c43f7cf56bb3c5317e61cb230ee7f226"
1211
1205
  dependencies = [
1212
1206
  "twox-hash",
1213
1207
  ]
@@ -1309,9 +1303,9 @@ dependencies = [
1309
1303
 
1310
1304
  [[package]]
1311
1305
  name = "num-bigint"
1312
- version = "0.4.6"
1306
+ version = "0.5.1"
1313
1307
  source = "registry+https://github.com/rust-lang/crates.io-index"
1314
- checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9"
1308
+ checksum = "93e7820bc0a80a0238e650327316f929ba18d5be054b647490a3a6a339f3e7c0"
1315
1309
  dependencies = [
1316
1310
  "num-integer",
1317
1311
  "num-traits",
@@ -1351,12 +1345,6 @@ version = "1.21.4"
1351
1345
  source = "registry+https://github.com/rust-lang/crates.io-index"
1352
1346
  checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
1353
1347
 
1354
- [[package]]
1355
- name = "openssl-probe"
1356
- version = "0.1.6"
1357
- source = "registry+https://github.com/rust-lang/crates.io-index"
1358
- checksum = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e"
1359
-
1360
1348
  [[package]]
1361
1349
  name = "openssl-probe"
1362
1350
  version = "0.2.1"
@@ -1499,6 +1487,16 @@ dependencies = [
1499
1487
  "syn",
1500
1488
  ]
1501
1489
 
1490
+ [[package]]
1491
+ name = "prost-reflect"
1492
+ version = "0.16.5"
1493
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1494
+ checksum = "01b80ea363c31af2de2b92e3c07ed1156628f7838c4afb4df75ee78a37fedbd1"
1495
+ dependencies = [
1496
+ "prost",
1497
+ "prost-types",
1498
+ ]
1499
+
1502
1500
  [[package]]
1503
1501
  name = "prost-types"
1504
1502
  version = "0.14.3"
@@ -1621,7 +1619,7 @@ dependencies = [
1621
1619
  "bytes",
1622
1620
  "getrandom 0.3.4",
1623
1621
  "lru-slab",
1624
- "rand 0.9.2",
1622
+ "rand 0.9.3",
1625
1623
  "ring",
1626
1624
  "rustc-hash",
1627
1625
  "rustls",
@@ -1670,9 +1668,9 @@ checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
1670
1668
 
1671
1669
  [[package]]
1672
1670
  name = "rand"
1673
- version = "0.8.5"
1671
+ version = "0.8.6"
1674
1672
  source = "registry+https://github.com/rust-lang/crates.io-index"
1675
- checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
1673
+ checksum = "5ca0ecfa931c29007047d1bc58e623ab12e5590e8c7cc53200d5202b69266d8a"
1676
1674
  dependencies = [
1677
1675
  "libc",
1678
1676
  "rand_chacha 0.3.1",
@@ -1681,9 +1679,9 @@ dependencies = [
1681
1679
 
1682
1680
  [[package]]
1683
1681
  name = "rand"
1684
- version = "0.9.2"
1682
+ version = "0.9.3"
1685
1683
  source = "registry+https://github.com/rust-lang/crates.io-index"
1686
- checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1"
1684
+ checksum = "7ec095654a25171c2124e9e3393a930bddbffdc939556c914957a4c3e0a87166"
1687
1685
  dependencies = [
1688
1686
  "rand_chacha 0.9.0",
1689
1687
  "rand_core 0.9.5",
@@ -1777,7 +1775,7 @@ dependencies = [
1777
1775
  "pin-project-lite",
1778
1776
  "quinn",
1779
1777
  "rustls",
1780
- "rustls-native-certs 0.8.3",
1778
+ "rustls-native-certs",
1781
1779
  "rustls-pki-types",
1782
1780
  "serde",
1783
1781
  "serde_json",
@@ -1852,38 +1850,16 @@ dependencies = [
1852
1850
  "zeroize",
1853
1851
  ]
1854
1852
 
1855
- [[package]]
1856
- name = "rustls-native-certs"
1857
- version = "0.7.3"
1858
- source = "registry+https://github.com/rust-lang/crates.io-index"
1859
- checksum = "e5bfb394eeed242e909609f56089eecfe5fda225042e8b171791b9c95f5931e5"
1860
- dependencies = [
1861
- "openssl-probe 0.1.6",
1862
- "rustls-pemfile",
1863
- "rustls-pki-types",
1864
- "schannel",
1865
- "security-framework 2.11.1",
1866
- ]
1867
-
1868
1853
  [[package]]
1869
1854
  name = "rustls-native-certs"
1870
1855
  version = "0.8.3"
1871
1856
  source = "registry+https://github.com/rust-lang/crates.io-index"
1872
1857
  checksum = "612460d5f7bea540c490b2b6395d8e34a953e52b491accd6c86c8164c5932a63"
1873
1858
  dependencies = [
1874
- "openssl-probe 0.2.1",
1859
+ "openssl-probe",
1875
1860
  "rustls-pki-types",
1876
1861
  "schannel",
1877
- "security-framework 3.7.0",
1878
- ]
1879
-
1880
- [[package]]
1881
- name = "rustls-pemfile"
1882
- version = "2.2.0"
1883
- source = "registry+https://github.com/rust-lang/crates.io-index"
1884
- checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50"
1885
- dependencies = [
1886
- "rustls-pki-types",
1862
+ "security-framework",
1887
1863
  ]
1888
1864
 
1889
1865
  [[package]]
@@ -1898,9 +1874,9 @@ dependencies = [
1898
1874
 
1899
1875
  [[package]]
1900
1876
  name = "rustls-webpki"
1901
- version = "0.103.9"
1877
+ version = "0.103.13"
1902
1878
  source = "registry+https://github.com/rust-lang/crates.io-index"
1903
- checksum = "d7df23109aa6c1567d1c575b9952556388da57401e4ace1d15f79eedad0d8f53"
1879
+ checksum = "61c429a8649f110dddef65e2a5ad240f747e85f7758a6bccc7e5777bd33f756e"
1904
1880
  dependencies = [
1905
1881
  "ring",
1906
1882
  "rustls-pki-types",
@@ -1928,19 +1904,6 @@ dependencies = [
1928
1904
  "windows-sys 0.61.2",
1929
1905
  ]
1930
1906
 
1931
- [[package]]
1932
- name = "security-framework"
1933
- version = "2.11.1"
1934
- source = "registry+https://github.com/rust-lang/crates.io-index"
1935
- checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02"
1936
- dependencies = [
1937
- "bitflags",
1938
- "core-foundation 0.9.4",
1939
- "core-foundation-sys",
1940
- "libc",
1941
- "security-framework-sys",
1942
- ]
1943
-
1944
1907
  [[package]]
1945
1908
  name = "security-framework"
1946
1909
  version = "3.7.0"
@@ -1948,7 +1911,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1948
1911
  checksum = "b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d"
1949
1912
  dependencies = [
1950
1913
  "bitflags",
1951
- "core-foundation 0.10.1",
1914
+ "core-foundation",
1952
1915
  "core-foundation-sys",
1953
1916
  "libc",
1954
1917
  "security-framework-sys",
@@ -2036,6 +1999,17 @@ dependencies = [
2036
1999
  "digest",
2037
2000
  ]
2038
2001
 
2002
+ [[package]]
2003
+ name = "sha2"
2004
+ version = "0.10.9"
2005
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2006
+ checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
2007
+ dependencies = [
2008
+ "cfg-if",
2009
+ "cpufeatures",
2010
+ "digest",
2011
+ ]
2012
+
2039
2013
  [[package]]
2040
2014
  name = "shlex"
2041
2015
  version = "1.3.0"
@@ -2227,7 +2201,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
2227
2201
  checksum = "7f57eb36ecbe0fc510036adff84824dd3c24bb781e21bfa67b69d556aa85214f"
2228
2202
  dependencies = [
2229
2203
  "pin-project",
2230
- "rand 0.8.5",
2204
+ "rand 0.8.6",
2231
2205
  "tokio",
2232
2206
  ]
2233
2207
 
@@ -2285,7 +2259,7 @@ dependencies = [
2285
2259
  "hyper-util",
2286
2260
  "percent-encoding",
2287
2261
  "pin-project",
2288
- "rustls-native-certs 0.8.3",
2262
+ "rustls-native-certs",
2289
2263
  "socket2",
2290
2264
  "sync_wrapper",
2291
2265
  "tokio",
@@ -2336,6 +2310,17 @@ dependencies = [
2336
2310
  "tonic-build",
2337
2311
  ]
2338
2312
 
2313
+ [[package]]
2314
+ name = "tonic-types"
2315
+ version = "0.14.6"
2316
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2317
+ checksum = "73ab1b02061f83d519bba3caa167f88f261ef05720ab8ebc954ade70de3348e8"
2318
+ dependencies = [
2319
+ "prost",
2320
+ "prost-types",
2321
+ "tonic",
2322
+ ]
2323
+
2339
2324
  [[package]]
2340
2325
  name = "tower"
2341
2326
  version = "0.5.3"
@@ -2977,7 +2962,7 @@ dependencies = [
2977
2962
 
2978
2963
  [[package]]
2979
2964
  name = "zerobus-sdk-ts"
2980
- version = "1.1.0"
2965
+ version = "1.2.0"
2981
2966
  dependencies = [
2982
2967
  "arrow-array",
2983
2968
  "arrow-ipc",
package/Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "zerobus-sdk-ts"
3
- version = "1.1.0"
3
+ version = "1.2.0"
4
4
  authors = ["Databricks"]
5
5
  edition = "2021"
6
6
  license = "Apache-2.0"
@@ -16,13 +16,8 @@ crate-type = ["cdylib"]
16
16
  napi = { version = "2", features = ["async", "tokio_rt", "serde-json", "napi6"] }
17
17
  napi-derive = "2"
18
18
 
19
- # Rust SDK 2.0.1 brings Arrow Flight Beta and the `ingest_ipc_batch` IPC
20
- # entry point used by `ingestBatch`. CI overlays `[patch.crates-io]` to
21
- # swap in the in-tree Rust SDK when `use_local_sdk` is set (see
22
- # ci-typescript.yml).
23
- databricks-zerobus-ingest-sdk = "2.0.1"
19
+ databricks-zerobus-ingest-sdk = { path = "../rust/sdk", version = "2.7.1" }
24
20
 
25
- # Match the Rust SDK 2.0 workspace versions.
26
21
  tokio = { version = "1.52", features = ["macros", "rt-multi-thread"] }
27
22
 
28
23
  prost = "0.14"
@@ -37,11 +32,9 @@ async-trait = "0.1"
37
32
  # `Bytes` is the input type for the Rust SDK's `ingest_ipc_batch` entry.
38
33
  bytes = "1"
39
34
 
40
- # Arrow dependencies (only used when arrow-flight feature is enabled).
41
- # 58.2 matches the Rust SDK 2.0 workspace.
42
- arrow-array = { version = "58.2", optional = true }
43
- arrow-schema = { version = "58.2", optional = true }
44
- arrow-ipc = { version = "58.2", features = ["lz4", "zstd"], optional = true }
35
+ arrow-array = { version = "59.2", optional = true }
36
+ arrow-schema = { version = "59.2", optional = true }
37
+ arrow-ipc = { version = "59.2", features = ["lz4", "zstd"], optional = true }
45
38
 
46
39
  [build-dependencies]
47
40
  napi-build = "2"