{"id":25241691,"url":"https://github.com/rustbase/dustdata","last_synced_at":"2025-04-07T05:17:03.433Z","repository":{"id":57154966,"uuid":"489684150","full_name":"rustbase/dustdata","owner":"rustbase","description":"A data concurrency control key-value storage engine to Rustbase","archived":false,"fork":false,"pushed_at":"2025-01-22T14:38:17.000Z","size":225,"stargazers_count":37,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-03-31T04:07:30.449Z","etag":null,"topics":["database","nosql","rust","rustbase","storage-engine"],"latest_commit_sha":null,"homepage":"https://rustbase-web.vercel.app/dustdata","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rustbase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-07T13:41:40.000Z","updated_at":"2025-01-22T14:34:41.000Z","dependencies_parsed_at":"2024-03-23T05:22:26.791Z","dependency_job_id":"375de414-9770-4412-a605-be293535ba86","html_url":"https://github.com/rustbase/dustdata","commit_stats":{"total_commits":97,"total_committers":1,"mean_commits":97.0,"dds":0.0,"last_synced_commit":"bad317ff48ee5dd9bb8fb5d62a0e8e351355e3fd"},"previous_names":[],"tags_count":35,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustbase%2Fdustdata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustbase%2Fdustdata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustbase%2Fdustdata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustbase%2Fdustdata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rustbase","download_url":"https://codeload.github.com/rustbase/dustdata/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247595335,"owners_count":20963943,"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":["database","nosql","rust","rustbase","storage-engine"],"created_at":"2025-02-11T21:14:11.169Z","updated_at":"2025-04-07T05:17:03.413Z","avatar_url":"https://github.com/rustbase.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![crates.io](https://img.shields.io/crates/v/dustdata?color=EA4342\u0026style=flat-square)](https://crates.io/crates/dustdata)\n[![docs.rs](https://img.shields.io/docsrs/dustdata?style=flat-square)](https://docs.rs/dustdata)\n\n\n# DustData\nA data concurrency control storage engine to [Rustbase](https://github.com/rustbase/rustbase)\n\nJoin our [community](https://discord.gg/m5ZzWPumbd) and [chat](https://discord.gg/m5ZzWPumbd) with other Rust users.\n\n# ⚠️ Warning\nThis is a work in progress. The API is not stable yet.\n\n# 🔗 Contribute\n[Click here](./CONTRIBUTING.md) to see how to Contribute\n\n# How to install\nAdd the following to your `Cargo.toml`:\n\n```toml\n[dependencies]\ndustdata = \"2.0.0-beta.6\"\n```\n\n# Usage\nInitialize a new `DustData` instance with the default configuration:\n```rust\nuse dustdata::DustData;\n\nlet mut dustdata = DustData::new(Default::default()).unwrap();\n```\n\n## Inserting data into a collection\n\n```rust\n#[derive(Serialize, Deserialize, Clone, Debug)]\nstruct User {\n    name: String,\n    age: u32,\n}\n\nlet collection = dustdata.collection::\u003cUser\u003e(\"users\");\n\nlet user = User {\n    name: \"Pedro\".to_string(),\n    age: 21,\n};\n\n// Creating a new transaction.\nlet mut transaction = collection.start_branch();\n\n// Inserting the user into the transaction.\ntransaction.insert(\"user:1\", user);\n\n// Committing the transaction.\ncollection.commit(transaction).unwrap();\n\n// Done!\n```\n\n## Reading data from a collection\n\n```rust\nlet collection = dustdata.collection::\u003cUser\u003e(\"users\").unwrap();\n\nlet user = collection.get(\"user:1\").unwrap();\n```\n\n\n# Authors\n\n\u003cdiv align=\"center\"\u003e\n\n| [\u003cimg src=\"https://github.com/peeeuzin.png?size=115\" width=115\u003e\u003cbr\u003e\u003csub\u003e@peeeuzin\u003c/sub\u003e](https://github.com/peeeuzin) |\n| :-------------------------------------------------------------------------------------------------------------------: |\n\n\u003c/div\u003e\n\n# License\n\n[MIT License](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frustbase%2Fdustdata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frustbase%2Fdustdata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frustbase%2Fdustdata/lists"}