{"id":27055526,"url":"https://github.com/duesee/u8rope","last_synced_at":"2025-10-15T01:39:06.905Z","repository":{"id":89166467,"uuid":"79041316","full_name":"duesee/u8rope","owner":"duesee","description":"Simple rope data structure based on bytes (u8).","archived":false,"fork":false,"pushed_at":"2017-01-17T17:23:08.000Z","size":25,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T09:30:57.371Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/duesee.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-15T15:32:43.000Z","updated_at":"2017-01-16T00:42:29.000Z","dependencies_parsed_at":"2023-06-14T06:30:49.197Z","dependency_job_id":null,"html_url":"https://github.com/duesee/u8rope","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/duesee/u8rope","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duesee%2Fu8rope","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duesee%2Fu8rope/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duesee%2Fu8rope/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duesee%2Fu8rope/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duesee","download_url":"https://codeload.github.com/duesee/u8rope/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duesee%2Fu8rope/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279033128,"owners_count":26089393,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-04-05T09:27:58.328Z","updated_at":"2025-10-15T01:39:06.896Z","avatar_url":"https://github.com/duesee.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# u8rope (unusable)\n\nThis crate may provide a persistent rope based on bytes (u8).\n\nThe aim is to explore data structure design in Rust by using `std::rc::Rc`, `std::borrow::Cow`, etc.\nDesign decisions are aimed towards undo/redo functionality, lazy-loading and ease-of-use.\n\n## Example\n\n```Rust\nextern crate u8rope;\n\nuse u8rope::Rope;\n\nfn main() {\n\tlet rope = Rope::from(\"Hello,... World!\");\n\tprintln!(\"{}\", rope); // \"Hello,... World!\"\n\n\tlet rope = rope.delete(6, 3);\n\tprintln!(\"{}\", rope); // \"Hello, World!\"\n\n\tlet rope = rope.delete(7, 5);\n\tprintln!(\"{}\", rope); // \"Hello, !\"\n\n\tlet rope = rope.insert(7, \u0026Rope::from(\"Universe\"));\n\tprintln!(\"{}\", rope); // \"Hello, Universe!\"\n\n\tlet (left, right) = rope.split(6);\n\tprintln!(\"{}\", left); // \"Hello,\"\n\tprintln!(\"{}\", right); // \" Universe!\"\n\t\n\tlet rope = rope.append(\u0026Rope::from(\"!!\"));\n\tprintln!(\"{}\", rope); // \"Hello, Universe!!!\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduesee%2Fu8rope","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduesee%2Fu8rope","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduesee%2Fu8rope/lists"}