This repository was archived by the owner on Jul 1, 2026. It is now read-only.
Add native Rust client for YTsaurus - #1
Open
styskin wants to merge 1 commit into
Open
Conversation
This introduces a native Rust SDK for YTsaurus with the following components: ## ytsaurus-yson crate - YSON binary format reader/writer with varint and zigzag encoding - YSON text format reader/writer - Full serde integration for serialization/deserialization - Support for all YSON types: Entity, Boolean, Int64, Uint64, Double, String, List, Map ## ytsaurus-client crate - YtClient with builder pattern configuration - Cypress operations: create, remove, exists, get, set, list, copy, move, link - Table read/write with automatic table creation - Token-based authentication - Comprehensive error handling with YTsaurus error codes ## Testing - 60 unit tests for YSON serialization - 17 unit tests for client functionality - 6 integration tests verified against local YTsaurus cluster Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Author
|
What's wrong here? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces a native Rust SDK for YTsaurus, providing idiomatic Rust access to YTsaurus clusters.
ytsaurus-yson crate
ytsaurus-client crate
YtClientwith builder pattern configurationcreate,remove,exists,get,set,list,copy,move,linkUsage Example
Test plan
test_cluster_connection- connects and reads cluster nametest_cypress_create_and_remove- creates and removes nodestest_cypress_get_set- gets and sets valuestest_cypress_list- lists directory childrentest_copy_move- copies and moves nodestest_table_write_read- writes and reads table rows🤖 Generated with Claude Code