{"id":15368019,"url":"https://github.com/anonrig/string_interner","last_synced_at":"2025-04-15T13:14:29.573Z","repository":{"id":215505171,"uuid":"739026514","full_name":"anonrig/string_interner","owner":"anonrig","description":"A fast and efficient string interning for Rust","archived":false,"fork":false,"pushed_at":"2024-01-07T19:52:33.000Z","size":27,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-15T12:52:33.515Z","etag":null,"topics":["rust","string-interning"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/intern_string","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/anonrig.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["anonrig"]}},"created_at":"2024-01-04T15:50:49.000Z","updated_at":"2024-12-11T10:34:15.000Z","dependencies_parsed_at":"2024-01-07T20:59:25.145Z","dependency_job_id":"8b0fa2a4-241f-4cc0-92cb-eae67604cb84","html_url":"https://github.com/anonrig/string_interner","commit_stats":{"total_commits":14,"total_committers":3,"mean_commits":4.666666666666667,"dds":0.2857142857142857,"last_synced_commit":"5a8757276e0351d0df32f543a94d50f1e0670b52"},"previous_names":["anonrig/string_interner"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anonrig%2Fstring_interner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anonrig%2Fstring_interner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anonrig%2Fstring_interner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anonrig%2Fstring_interner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anonrig","download_url":"https://codeload.github.com/anonrig/string_interner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249076542,"owners_count":21208811,"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":["rust","string-interning"],"created_at":"2024-10-01T13:27:44.249Z","updated_at":"2025-04-15T13:14:29.552Z","avatar_url":"https://github.com/anonrig.png","language":"Rust","funding_links":["https://github.com/sponsors/anonrig"],"categories":[],"sub_categories":[],"readme":"## String Interning\n\nFast and efficient string interning with a simple API.\n\n### Features\n\n- Intern strings and get a unique ID for each string.\n- Initialize with a pre-allocated capacity.\n\n### Installation\n\nAdd the following to your `Cargo.toml`:\n\n```toml\n[dependencies]\nintern_string = \"0.1.0\"\n```\n\n### Usage\n\n```rust\nuse intern_string::Intern;\n\nlet mut interner = Intern::new();\nlet id = interner.intern(\"hello\");\nassert_eq!(interner.lookup(id), 0);\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanonrig%2Fstring_interner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanonrig%2Fstring_interner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanonrig%2Fstring_interner/lists"}