4 releases

Uses old Rust 2015

0.1.3 Dec 29, 2017
0.1.2 Dec 28, 2017
0.1.1 Dec 28, 2017
0.1.0 Dec 26, 2017

#26 in #query-api

24 downloads per month

MIT license

9KB
159 lines

source_query

A Rust crate for querying Source game servers with a simple, blocking API.

Examples

use source_query::info;

let resp = info::query("52.61.24.34:27015", None)?;

println!("[{players}/{max_players}] {name}",
         players     = resp.players,
         max_players = resp.max_players,
         name        = resp.name);

Dependencies

~395KB