synor/sdk/rust/Cargo.toml
Gulshan Yadav 59a7123535 feat(sdk): implement Phase 1 SDKs for Wallet, RPC, and Storage
Implements comprehensive SDK support for three core services across
four programming languages (JavaScript/TypeScript, Python, Go, Rust).

## New SDKs

### Wallet SDK
- Key management (create, import, export)
- Transaction signing
- Message signing and verification
- Balance and UTXO queries
- Stealth address support

### RPC SDK
- Block and transaction queries
- Chain state information
- Fee estimation
- Mempool information
- WebSocket subscriptions for real-time updates

### Storage SDK
- Content upload and download
- Pinning operations
- CAR file support
- Directory management
- Gateway URL generation

## Shared Infrastructure

- JSON Schema definitions for all 11 services
- Common type definitions (Address, Amount, UTXO, etc.)
- Unified error handling patterns
- Builder patterns for configuration

## Package Updates

- JavaScript: Updated to @synor/sdk with module exports
- Python: Updated to synor-sdk with websockets dependency
- Go: Added gorilla/websocket dependency
- Rust: Added base64, urlencoding, multipart support

## Fixes

- Fixed Tensor Default trait implementation
- Fixed ProcessorType enum casing
2026-01-27 00:46:24 +05:30

29 lines
752 B
TOML

[workspace]
[package]
name = "synor-compute"
version = "0.1.0"
edition = "2021"
authors = ["Synor <sdk@synor.io>"]
description = "Rust SDK for Synor Compute - Distributed Heterogeneous Computing"
license = "MIT"
repository = "https://github.com/synor/synor-compute-rust"
keywords = ["compute", "gpu", "ai", "ml", "distributed"]
categories = ["api-bindings", "asynchronous"]
[dependencies]
reqwest = { version = "0.11", features = ["json", "stream", "multipart"] }
tokio = { version = "1", features = ["full"] }
tokio-stream = "0.1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "1"
async-trait = "0.1"
futures = "0.3"
rand = "0.8"
base64 = "0.21"
urlencoding = "2"
[dev-dependencies]
tokio-test = "0.4"
mockito = "1"