@databricks/zerobus-ingest-sdk 0.0.1 → 0.1.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.toml ADDED
@@ -0,0 +1,46 @@
1
+ [package]
2
+ name = "zerobus-sdk-ts"
3
+ version = "0.1.0"
4
+ authors = ["Databricks"]
5
+ edition = "2021"
6
+ license-file = "LICENSE"
7
+ description = "TypeScript/Node.js bindings for the Databricks Zerobus SDK"
8
+ repository = "https://github.com/databricks/zerobus-sdk-ts"
9
+
10
+ [lib]
11
+ crate-type = ["cdylib"]
12
+
13
+ [dependencies]
14
+ # NAPI-RS for Node.js bindings
15
+ napi = { version = "2", features = ["async", "tokio_rt", "serde-json"] }
16
+ napi-derive = "2"
17
+
18
+ # The Rust SDK we're wrapping (using local path for development)
19
+ databricks-zerobus-ingest-sdk = { git = "https://github.com/databricks/zerobus-sdk-rs", tag = "v0.2.0" }
20
+
21
+ # Async runtime (same as the Rust SDK)
22
+ tokio = { version = "1.42", features = ["macros", "rt-multi-thread"] }
23
+
24
+ # Protobuf support
25
+ prost = "0.13.3"
26
+ prost-types = "0.13.3"
27
+
28
+ # Serialization
29
+ serde = { version = "1.0", features = ["derive"] }
30
+ serde_json = "1.0"
31
+
32
+ # Error handling
33
+ thiserror = "1.0"
34
+
35
+ # Base64 encoding/decoding
36
+ base64 = "0.21"
37
+
38
+ # Async trait support
39
+ async-trait = "0.1"
40
+
41
+ [build-dependencies]
42
+ napi-build = "2"
43
+
44
+ [profile.release]
45
+ lto = true
46
+ strip = true
package/LICENSE ADDED
@@ -0,0 +1,69 @@
1
+ Databricks License
2
+ Copyright (2022) Databricks, Inc.
3
+
4
+ Definitions.
5
+
6
+ Agreement: The agreement between Databricks, Inc., and you governing
7
+ the use of the Databricks Services, as that term is defined in
8
+ the Master Cloud Services Agreement (MCSA) located at
9
+ www.databricks.com/legal/mcsa.
10
+
11
+ Licensed Materials: The source code, object code, data, and/or other
12
+ works to which this license applies.
13
+
14
+ Scope of Use. You may not use the Licensed Materials except in
15
+ connection with your use of the Databricks Services pursuant to
16
+ the Agreement. Your use of the Licensed Materials must comply at all
17
+ times with any restrictions applicable to the Databricks Services,
18
+ generally, and must be used in accordance with any applicable
19
+ documentation. You may view, use, copy, modify, publish, and/or
20
+ distribute the Licensed Materials solely for the purposes of using
21
+ the Licensed Materials within or connecting to the Databricks Services.
22
+ If you do not agree to these terms, you may not view, use, copy,
23
+ modify, publish, and/or distribute the Licensed Materials.
24
+
25
+ Redistribution. You may redistribute and sublicense the Licensed
26
+ Materials so long as all use is in compliance with these terms.
27
+ In addition:
28
+
29
+ - You must give any other recipients a copy of this License;
30
+ - You must cause any modified files to carry prominent notices
31
+ stating that you changed the files;
32
+ - You must retain, in any derivative works that you distribute,
33
+ all copyright, patent, trademark, and attribution notices,
34
+ excluding those notices that do not pertain to any part of
35
+ the derivative works; and
36
+ - If a "NOTICE" text file is provided as part of its
37
+ distribution, then any derivative works that you distribute
38
+ must include a readable copy of the attribution notices
39
+ contained within such NOTICE file, excluding those notices
40
+ that do not pertain to any part of the derivative works.
41
+
42
+ You may add your own copyright statement to your modifications and may
43
+ provide additional license terms and conditions for use, reproduction,
44
+ or distribution of your modifications, or for any such derivative works
45
+ as a whole, provided your use, reproduction, and distribution of
46
+ the Licensed Materials otherwise complies with the conditions stated
47
+ in this License.
48
+
49
+ Termination. This license terminates automatically upon your breach of
50
+ these terms or upon the termination of your Agreement. Additionally,
51
+ Databricks may terminate this license at any time on notice. Upon
52
+ termination, you must permanently delete the Licensed Materials and
53
+ all copies thereof.
54
+
55
+ DISCLAIMER; LIMITATION OF LIABILITY.
56
+
57
+ THE LICENSED MATERIALS ARE PROVIDED “AS-IS” AND WITH ALL FAULTS.
58
+ DATABRICKS, ON BEHALF OF ITSELF AND ITS LICENSORS, SPECIFICALLY
59
+ DISCLAIMS ALL WARRANTIES RELATING TO THE LICENSED MATERIALS, EXPRESS
60
+ AND IMPLIED, INCLUDING, WITHOUT LIMITATION, IMPLIED WARRANTIES,
61
+ CONDITIONS AND OTHER TERMS OF MERCHANTABILITY, SATISFACTORY QUALITY OR
62
+ FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. DATABRICKS AND
63
+ ITS LICENSORS TOTAL AGGREGATE LIABILITY RELATING TO OR ARISING OUT OF
64
+ YOUR USE OF OR DATABRICKS’ PROVISIONING OF THE LICENSED MATERIALS SHALL
65
+ BE LIMITED TO ONE THOUSAND ($1,000) DOLLARS. IN NO EVENT SHALL
66
+ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
67
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
68
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE LICENSED MATERIALS OR
69
+ THE USE OR OTHER DEALINGS IN THE LICENSED MATERIALS.