Repository navigation
Add native Rust SDK with TypeScript API coverage - #2
Merged
Merged
Conversation
arasors
marked this pull request as ready for review
November 4, 2026 23:12
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Add the first native async Rust SDK (
sentroy-client-sdk0.1.0) alongside the existing language SDKs. It provides typed company-scoped Mail, Storage and WhatsApp resources, Identity and admin clients, Env Vault, thumbnail helpers, and an officialrmcpclient with private file transfers.The resource inventory maps all 70 TypeScript methods at
326f131dec57c8e8a4dd6b2f8eb18020a772e861(SDK 2.18.3). A CI guard detects inventory drift; separate wire-contract tests check serialization and behavior. Native integration boundaries, installation from Git/path, and recovery examples are documented inrust/README.mdandrust/PARITY.md.Sensitive operations disable redirects and automatic replay. BCC errors preserve request IDs; rotating refresh tokens are coalesced and discarded after uncertain outcomes. JWT verification binds signature, issuer, audience and key identity. MCP private transfers validate immutable resource binding, grant metadata, file integrity, bounds and receipts. Generic MCP protocol buffering/error behavior follows upstream rmcp and is documented separately.
Validation at
1e84107357bddc60eb277c8e731b8b5f39a4b4b1: Rust SDK CI passed formatting, the 70-method inventory guard, Clippy with warnings denied, 39 unit/loopback tests, one compiled documentation example, all three example targets, documentation with warnings denied, crate package verification, and Rust 1.89 minimum-version compilation. Final integration and code review were performed by the primary agent.Version 0.1.0 is prepared for a later crates.io release. This PR includes source, documentation and validation; it does not publish a crate.