{"id":13527691,"url":"https://github.com/wooorm/levenshtein-rs","last_synced_at":"2025-04-10T01:08:55.605Z","repository":{"id":53749518,"uuid":"51378283","full_name":"wooorm/levenshtein-rs","owner":"wooorm","description":"Levenshtein algorithm in Rust","archived":false,"fork":false,"pushed_at":"2024-08-01T07:21:17.000Z","size":23,"stargazers_count":48,"open_issues_count":0,"forks_count":6,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-10T01:08:48.921Z","etag":null,"topics":["levenshtein","rust"],"latest_commit_sha":null,"homepage":null,"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/wooorm.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":"funding.yml","license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"wooorm"}},"created_at":"2016-02-09T16:08:20.000Z","updated_at":"2025-03-30T00:42:33.000Z","dependencies_parsed_at":"2022-09-17T11:01:53.477Z","dependency_job_id":null,"html_url":"https://github.com/wooorm/levenshtein-rs","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wooorm%2Flevenshtein-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wooorm%2Flevenshtein-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wooorm%2Flevenshtein-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wooorm%2Flevenshtein-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wooorm","download_url":"https://codeload.github.com/wooorm/levenshtein-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248137887,"owners_count":21053775,"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":["levenshtein","rust"],"created_at":"2024-08-01T06:01:57.091Z","updated_at":"2025-04-10T01:08:55.587Z","avatar_url":"https://github.com/wooorm.png","language":"Rust","funding_links":["https://github.com/sponsors/wooorm"],"categories":["Rust"],"sub_categories":[],"readme":"# levenshtein.rs\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Crate][crate-badge]][crate]\n\nVladimir Levenshtein’s [edit distance algorithm][wiki] as a Rust\nlibrary. There’s also a [C library][c-api], [C user command][c-cli],\nand [JavaScript module][js-api].\n\n\u003e :tada: This is my first attempt at Rust!\n\n## Installation\n\n[Cargo][]:\n\n```toml\n[dependencies]\nlevenshtein = \"1.0.5\"\n```\n\n## Usage\n\n```rust\nextern crate levenshtein;\nuse levenshtein::levenshtein;\n\nfn main() {\n    println!(\"{}\", levenshtein(\"kitten\", \"sitting\"));\n}\n```\n\nYields:\n\n```txt\n3\n```\n\n## API\n\n### `fn levenshtein(a: \u0026str, b: \u0026str) -\u003e usize`\n\nGiven two strings, returns the edit distance between them.\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n\u003c!-- Definitions --\u003e\n\n[build-badge]: https://github.com/wooorm/levenshtein-rs/workflows/main/badge.svg\n\n[build]: https://github.com/wooorm/levenshtein-rs/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/wooorm/levenshtein-rs.svg\n\n[coverage]: https://codecov.io/github/wooorm/levenshtein-rs\n\n[crate-badge]: https://img.shields.io/crates/v/levenshtein.svg\n\n[crate]: https://crates.io/crates/levenshtein\n\n[license]: license\n\n[author]: https://wooorm.com\n\n[cargo]: https://crates.io\n\n[wiki]: https://en.wikipedia.org/wiki/Levenshtein_distance\n\n[c-cli]: https://github.com/wooorm/levenshtein\n\n[c-api]: https://github.com/wooorm/levenshtein.c\n\n[js-api]: https://github.com/words/levenshtein-edit-distance\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwooorm%2Flevenshtein-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwooorm%2Flevenshtein-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwooorm%2Flevenshtein-rs/lists"}