{"id":15067651,"url":"https://github.com/ivpusic/rust-elo","last_synced_at":"2025-09-04T02:32:48.848Z","repository":{"id":57624274,"uuid":"214727459","full_name":"ivpusic/rust-elo","owner":"ivpusic","description":"Rust crate for calculating player rating based on elo ranking system","archived":false,"fork":false,"pushed_at":"2019-10-15T21:24:15.000Z","size":11,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T13:05:17.210Z","etag":null,"topics":["crate","elo","elo-rating","rust","rust-lang"],"latest_commit_sha":null,"homepage":"","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/ivpusic.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}},"created_at":"2019-10-12T23:01:40.000Z","updated_at":"2023-01-04T20:52:14.000Z","dependencies_parsed_at":"2022-08-26T22:12:18.433Z","dependency_job_id":null,"html_url":"https://github.com/ivpusic/rust-elo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivpusic%2Frust-elo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivpusic%2Frust-elo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivpusic%2Frust-elo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivpusic%2Frust-elo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ivpusic","download_url":"https://codeload.github.com/ivpusic/rust-elo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248131464,"owners_count":21052819,"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":["crate","elo","elo-rating","rust","rust-lang"],"created_at":"2024-09-25T01:25:36.642Z","updated_at":"2025-04-10T14:33:18.566Z","avatar_url":"https://github.com/ivpusic.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rust-elo\n\n[![Build Status](https://travis-ci.org/ivpusic/rust-elo.svg?branch=master)](https://travis-ci.org/ivpusic/rust-elo)\n\nRust crate for calculating player rating based on elo ranking system\n\n## Installation\n\nAdd to your `Cargo.toml`\n\n```bash\n[dependencies]\nelo = \"0.2.1\"\n```\n\n## Example usage\n\n```rust\nextern crate elo;\n\nuse elo::EloRank;\n\nfn main() {\n    let elo = EloRank { k: 32 };\n    let winner = 1200.0;\n    let looser = 1400.0;\n\n    let (winner_new_score, looser_new_score) = elo.calculate(winner, looser);\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivpusic%2Frust-elo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivpusic%2Frust-elo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivpusic%2Frust-elo/lists"}