{"id":21156941,"url":"https://github.com/resilientecosystem/rust_sdk","last_synced_at":"2025-03-14T15:24:00.188Z","repository":{"id":206711723,"uuid":"714420992","full_name":"ResilientEcosystem/rust_sdk","owner":"ResilientEcosystem","description":"Rust SDK for ResDB","archived":false,"fork":false,"pushed_at":"2023-12-12T06:14:55.000Z","size":86,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T08:45:10.422Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://crates.io/crates/resilientdb_rust_sdk","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ResilientEcosystem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-11-04T21:09:36.000Z","updated_at":"2024-11-24T23:34:28.000Z","dependencies_parsed_at":"2023-11-27T02:39:00.490Z","dependency_job_id":"6a688cb1-a001-4bc1-8a89-8eae8b129461","html_url":"https://github.com/ResilientEcosystem/rust_sdk","commit_stats":null,"previous_names":["dhruvsangamwar/resilientdb_rust_sdk"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ResilientEcosystem%2Frust_sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ResilientEcosystem%2Frust_sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ResilientEcosystem%2Frust_sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ResilientEcosystem%2Frust_sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ResilientEcosystem","download_url":"https://codeload.github.com/ResilientEcosystem/rust_sdk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243598756,"owners_count":20317017,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-20T11:55:33.732Z","updated_at":"2025-03-14T15:24:00.169Z","avatar_url":"https://github.com/ResilientEcosystem.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ResilientDB Rust SDK\n\n![Build](https://github.com/dhruvsangamwar/resilientdb_rust_sdk/actions/workflows/rust.yml/badge.svg)\n[![Crates.io](https://img.shields.io/crates/v/resilientdb_rust_sdk)](https://crates.io/crates/resilientdb_rust_sdk)\n[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\n\n## Overview\n\nThe 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.\n\n## Features\n\n- **Transaction Management**: Create, retrieve, and manage transactions effortlessly.\n- **Block Operations**: Retrieve, group, and query information about blocks based on specified criteria.\n- **Flexible Configuration**: Tailor your interactions with resource databases using versatile configuration options.\n\n## Installation\n\nAdd this line to your `Cargo.toml` file to integrate the SDK into your Rust project:\n\n```toml\n[dependencies]\nresilientdb_rust_sdk = \"0.1.0\"\n```\n\n## Usage\n\n```rust\n// Import the ResDB SDK\nuse resilientdb_rust_sdk::ResDB;\n\n// Create a new ResDB instance\nlet res_db = ResDB::new();\n\n// Example: Create a new transaction object\nlet transaction = res_db.create_object::\u003cYourTransactionType\u003e();\n\n// Example: Get all transactions from a specified API endpoint\nlet all_transactions = res_db.get_all_transactions::\u003cYourTransactionType\u003e(\"https://api.example.com\").await;\n```\n\n## Examples\n\n```rust\n// Example: Retrieve all blocks from a specified API endpoint\nlet all_blocks = res_db.get_all_blocks::\u003cT\u003e(\"https://api.example.com/blocks\").await;\n\n// Example: Group blocks with a specified batch size\nlet grouped_blocks = res_db.get_blocks_grouped::\u003cT\u003e(\"https://api.example.com/blocks\", \u0026100).await;\n```\n\n\u003c!-- ## Documentation\n\nFor detailed information about the SDK's API and usage, refer to the [official documentation](https://your-crate-docs-url). --\u003e\n\n## Contributing\n\nContributions are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request.\n\n## License\n\nThis SDK is licensed under the [Apache-2.0 License](https://opensource.org/licenses/Apache-2.0).\n\n## Acknowledgments\n\n- Special thanks to [contributors](https://github.com/dhruvsangamwar/resilientdb_rust_sdk/graphs/contributors).\n- This SDK leverages the power of [serde](https://crates.io/crates/serde) for serialization and deserialization.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fresilientecosystem%2Frust_sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fresilientecosystem%2Frust_sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fresilientecosystem%2Frust_sdk/lists"}