{"id":16473324,"url":"https://github.com/vikpe/quake_clientinfo","last_synced_at":"2025-03-27T12:24:24.033Z","repository":{"id":237661572,"uuid":"795006046","full_name":"vikpe/quake_clientinfo","owner":"vikpe","description":"Parse QuakeWorld clientinfo strings.","archived":false,"fork":false,"pushed_at":"2024-06-04T13:55:13.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T03:08:27.690Z","etag":null,"topics":["parsing","quake","quakeworld"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/quake_clientinfo","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/vikpe.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":{"open_collective":"quakeworld"}},"created_at":"2024-05-02T11:57:21.000Z","updated_at":"2024-06-04T13:55:17.000Z","dependencies_parsed_at":"2025-02-01T16:44:36.615Z","dependency_job_id":"e72e9858-fd98-4b6a-a3f2-8f20c7dcbbc8","html_url":"https://github.com/vikpe/quake_clientinfo","commit_stats":null,"previous_names":["vikpe/quake_clientinfo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikpe%2Fquake_clientinfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikpe%2Fquake_clientinfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikpe%2Fquake_clientinfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikpe%2Fquake_clientinfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vikpe","download_url":"https://codeload.github.com/vikpe/quake_clientinfo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245842590,"owners_count":20681370,"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":["parsing","quake","quakeworld"],"created_at":"2024-10-11T12:26:20.154Z","updated_at":"2025-03-27T12:24:24.014Z","avatar_url":"https://github.com/vikpe.png","language":"Rust","funding_links":["https://opencollective.com/quakeworld"],"categories":[],"sub_categories":[],"readme":"# quake_clientinfo [![Test](https://github.com/vikpe/quake_clientinfo/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/vikpe/quake_clientinfo/actions/workflows/test.yml) [![crates](https://img.shields.io/crates/v/quake_clientinfo)](https://crates.io/crates/quake_clientinfo) [![docs.rs](https://img.shields.io/docsrs/quake_clientinfo)](https://docs.rs/quake_clientinfo/)\n\n\u003e Parse QuakeWorld clientinfo strings\n\n## Usage\n\n```rust\nuse quake_clientinfo::Clientinfo;\n\nlet info = Clientinfo::from(r#\"\\team\\red\\name\\Alpha\\*spectator\\1\"#);\nassert_eq!(info.name, Some(\"Alpha\".to_string()));\nassert_eq!(info.team, Some(\"red\".to_string()));\nassert_eq!(info.spectator, Some(1));\nassert_eq!(info.topcolor, None);\n```\n\n## Fields\n\n```rust\npub struct Clientinfo {\n    pub name: Option\u003cString\u003e,\n    pub team: Option\u003cString\u003e,\n    pub topcolor: Option\u003ci32\u003e,\n    pub bottomcolor: Option\u003ci32\u003e,\n    pub spectator: Option\u003ci32\u003e,\n    pub client: Option\u003cString\u003e,\n    pub bot: Option\u003ci32\u003e,\n    pub chat: Option\u003ci32\u003e,\n}\n```\n\n## See also\n\n* [quake_serverinfo](https://github.com/vikpe/quake_serverinfo) - Parse QuakeWorld serverinfo strings\n* [quake_infostring](https://github.com/vikpe/quake_infostring) - Parse QuakeWorld info strings\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvikpe%2Fquake_clientinfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvikpe%2Fquake_clientinfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvikpe%2Fquake_clientinfo/lists"}