{"id":15536545,"url":"https://github.com/turbo87/irating-rs","last_synced_at":"2026-06-23T11:32:25.587Z","repository":{"id":209721988,"uuid":"724823137","full_name":"Turbo87/irating-rs","owner":"Turbo87","description":"A Rust library to estimate iRacing iRating changes.","archived":false,"fork":false,"pushed_at":"2023-11-28T21:39:19.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-05T12:52:27.821Z","etag":null,"topics":["elo","iracing","irating"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/irating","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Turbo87.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-11-28T21:37:02.000Z","updated_at":"2023-11-28T21:39:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"c1845147-9eed-419e-a1ce-fbc5fd0a1220","html_url":"https://github.com/Turbo87/irating-rs","commit_stats":null,"previous_names":["turbo87/irating-rs"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Turbo87%2Firating-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Turbo87%2Firating-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Turbo87%2Firating-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Turbo87%2Firating-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Turbo87","download_url":"https://codeload.github.com/Turbo87/irating-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240093157,"owners_count":19746780,"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":["elo","iracing","irating"],"created_at":"2024-10-02T11:52:26.032Z","updated_at":"2026-05-06T07:30:23.678Z","avatar_url":"https://github.com/Turbo87.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"iRacing iRating Calculator\n===============================================================================\n\nA Rust library to estimate [iRacing](https://www.iracing.com/) iRating changes.\n\nThe code in this repository is based on the [iRacing SOF iRating Calculator v1_1.xlsx](https://github.com/SIMRacingApps/SIMRacingApps/files/3617438/iRacing.SOF.iRating.Calculator.v1_1.xlsx) shared in https://github.com/SIMRacingApps/SIMRacingApps/issues/209#issuecomment-531877336\n\n\nUsage\n-------------------------------------------------------------------------------\n\n```rust\nfn main() {\n    let race_results = vec![\n        (\"Driver 1\", 1, 3203, true).into(),\n        (\"Driver 2\", 2, 3922, true).into(),\n        (\"Driver 3\", 3, 2974, true).into(),\n        (\"Driver 4\", 4, 1739, true).into(),\n        (\"Driver 5\", 5, 1250, true).into(),\n        (\"Driver 6\", 6, 2588, false).into(),\n    ];\n\n    let results = irating::calculate(race_results);\n    for result in results {\n        println!(\n            \"#{}  {}: {} -\u003e {} ({}{})\",\n            result.race_result.finish_rank,\n            result.race_result.driver,\n            result.race_result.start_irating,\n            result.new_irating,\n            if result.irating_change \u003e 0. { \"+\" } else { \"\" },\n            result.irating_change\n        );\n    }\n}\n```\n\nOutput:\n\n```\n#1  Driver 1: 3203 -\u003e 3280 (+76.789154)\n#2  Driver 2: 3922 -\u003e 3939 (+16.828392)\n#3  Driver 3: 2974 -\u003e 2979 (+4.8352695)\n#4  Driver 4: 1739 -\u003e 1750 (+11.098258)\n#5  Driver 5: 1250 -\u003e 1243 (-6.864749)\n#6  Driver 6: 2588 -\u003e 2485 (-102.686325)\n```\n\n\nLicense\n------------------------------------------------------------------------------\n\nThis project is licensed under either of\n\n- Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or\n  \u003chttp://www.apache.org/licenses/LICENSE-2.0\u003e)\n\n- MIT license ([LICENSE-MIT](LICENSE-MIT) or\n  \u003chttp://opensource.org/licenses/MIT\u003e)\n\nat your option.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturbo87%2Firating-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fturbo87%2Firating-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturbo87%2Firating-rs/lists"}