4 releases
0.2.3 | Feb 16, 2021 |
---|---|
0.2.2 | Feb 4, 2021 |
0.2.1 |
|
0.2.0 | Dec 23, 2019 |
0.1.0 | Oct 26, 2019 |
#476 in Games
190KB
5K
SLoC
oppai-rs
Rust bindings to oppai-ng
with a safe wrapper.
Passes the oppai-ng
test (cargo test
).
lib.rs
:
Provides a safe wrapper for oppai-ng
.
Example
extern crate oppai_rs;
use oppai_rs::*;
use std::path::Path;
let map = {
Oppai::new(Path::new("path/to/map"))
.mods(Mods::HD | Mods::DT)?
.combo(Combo::PERFECT)?
.accuracy(100.0)
}.expect("OK!");
let pp = map.pp();
let stars = map.stars();
Dependencies
~79–430KB
~10K SLoC