{"id":15349759,"url":"https://github.com/psiace/ritelinked","last_synced_at":"2025-12-12T15:40:48.553Z","repository":{"id":54468718,"uuid":"344203364","full_name":"PsiACE/ritelinked","owner":"PsiACE","description":"RiteLinked - LinkedHashMap \u0026 LinkedHashSet in Rust","archived":false,"fork":false,"pushed_at":"2025-03-21T07:52:15.000Z","size":123,"stargazers_count":53,"open_issues_count":4,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-21T04:57:16.518Z","etag":null,"topics":["data-structures","hash","hashmap","hashset","indexmap","linked-hash-map","linked-hash-set","rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/ritelinked","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/PsiACE.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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,"zenodo":null}},"created_at":"2021-03-03T17:11:57.000Z","updated_at":"2025-03-21T07:52:19.000Z","dependencies_parsed_at":"2025-04-16T04:47:01.844Z","dependency_job_id":null,"html_url":"https://github.com/PsiACE/ritelinked","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"5513a83d1fc089a2e1221010531667adfae92d65"},"previous_names":["ritelabs/ritelinked"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/PsiACE/ritelinked","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PsiACE%2Fritelinked","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PsiACE%2Fritelinked/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PsiACE%2Fritelinked/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PsiACE%2Fritelinked/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PsiACE","download_url":"https://codeload.github.com/PsiACE/ritelinked/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PsiACE%2Fritelinked/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27685621,"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-12-12T02:00:06.775Z","response_time":129,"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":["data-structures","hash","hashmap","hashset","indexmap","linked-hash-map","linked-hash-set","rust"],"created_at":"2024-10-01T11:55:39.388Z","updated_at":"2025-12-12T15:40:48.532Z","avatar_url":"https://github.com/PsiACE.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch3 align=\"center\"\u003e\n    RiteLinked\n  \u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n    HashMap-like containers that hold their key-value pairs in a user controllable order\n  \u003c/p\u003e\n\u003c/div\u003e\n\n[![Latest Version](https://img.shields.io/crates/v/ritelinked.svg)](https://crates.io/crates/ritelinked)\n[![API Documentation](https://docs.rs/ritelinked/badge.svg)](https://docs.rs/ritelinked)\n\n[RiteLinked](https://crates.io/crates/ritelinked) provides more up to date versions of `LinkedHashMap` \u0026 `LinkedHashSet` . \nYou can easily use it on `std` or `no_std` environment.\n\nSupport some practical feature combinations to help you better embed them in existing code: `serde`, `inline-more` etc. \nEspecially, it uses `griddle` by default, if you have a lot of data, it can effectively help you reduce the possible tail delay. (Of course, `hashbrown` can also be used) \n\n## Usage\n\nAdd `ritelinked` to `Cargo.toml`:\n\n```toml\nritelinked = \"x.y.z\"\n```\n\nWrite some code like this:\n\n``` rust\nlet mut lru_cache = LinkedHashMap::new();\nlet key = \"key\".to_owned();\nlet _cached_val = lru_cache\n    .raw_entry_mut()\n    .from_key(\u0026key)\n    .or_insert_with(|| (key.clone(), 42));\n```\n\n## Benchmark\n\n```\nritelinked              time:   [140.15 ns 141.06 ns 142.15 ns]                       \nFound 11 outliers among 100 measurements (11.00%)\n  8 (8.00%) high mild\n  3 (3.00%) high severe\n\nhashlink                time:   [147.01 ns 147.87 ns 148.75 ns]                     \nFound 11 outliers among 100 measurements (11.00%)\n  4 (4.00%) high mild\n  7 (7.00%) high severe\n\nlinked-hash-map         time:   [301.44 ns 309.86 ns 319.40 ns]                            \nFound 12 outliers among 100 measurements (12.00%)\n  9 (9.00%) high mild\n  3 (3.00%) high severe\n```\n\n## Credit\n\nIt is a fork of the popular crate [hashlink](https://crates.io/crates/hashlink), but more adjustments and improvements have been made to the code .\n\n## License\n\nThis library is licensed the same as [hashlink](https://github.com/kyren/hashlink), \nit is licensed under either of:\n\n* MIT license [LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT\n* Apache License 2.0 [LICENSE-APACHE](LICENSE-APACHE) or https://opensource.org/licenses/Apache-2.0\n\nat your option.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsiace%2Fritelinked","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpsiace%2Fritelinked","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsiace%2Fritelinked/lists"}