| commit | 057b9f784992a0089a10a6090c4f43b2fab4c31c | [log] [tgz] |
|---|---|---|
| author | Bismanpal-Singh <83641114+Bismanpal-Singh@users.noreply.github.com> | Sun Nov 23 03:32:57 2025 -0800 |
| committer | GitHub <noreply@github.com> | Sun Nov 23 03:32:57 2025 -0800 |
| tree | 4a0f2d0187346bdf45f4e766faea1a77d3ac81ea | |
| parent | d49201abc93f580f716fa2cc264bbd0961d3fe7d [diff] |
Update README with deprecation notice and links Added a deprecation notice and links to the new repository and SDK.
DEPRECATION NOTICE
This repository is deprecated. Active development now continues in the ResilientDB Monorepo.
The Resilent Rust SDK can be found at ecosystem/sdk/rust-sdk.
The ResilientDB Rust SDK is a powerful Rust library that facilitates seamless interaction with resource databases. It offers comprehensive APIs for managing transactions and blocks, simplifying integration with systems requiring robust data management capabilities.
Add this line to your Cargo.toml file to integrate the SDK into your Rust project:
[dependencies] resilientdb_rust_sdk = "0.1.0"
// Import the ResDB SDK use resilientdb_rust_sdk::ResDB; // Create a new ResDB instance let res_db = ResDB::new(); // Example: Create a new transaction object let transaction = res_db.create_object::<YourTransactionType>(); // Example: Get all transactions from a specified API endpoint let all_transactions = res_db.get_all_transactions::<YourTransactionType>("https://api.example.com").await;
// Example: Retrieve all blocks from a specified API endpoint let all_blocks = res_db.get_all_blocks::<T>("https://api.example.com/blocks").await; // Example: Group blocks with a specified batch size let grouped_blocks = res_db.get_blocks_grouped::<T>("https://api.example.com/blocks", &100).await;
Contributions are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request.
This SDK is licensed under the Apache-2.0 License.