https://github.com/chayleaf/osu-rs
a crate for reading osu! beatmaps with a low allocation count
https://github.com/chayleaf/osu-rs
Last synced: about 1 year ago
JSON representation
a crate for reading osu! beatmaps with a low allocation count
- Host: GitHub
- URL: https://github.com/chayleaf/osu-rs
- Owner: chayleaf
- License: mit
- Created: 2024-11-21T06:54:04.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-04-06T22:56:14.000Z (about 1 year ago)
- Last Synced: 2025-04-06T23:27:03.529Z (about 1 year ago)
- Language: Rust
- Size: 37.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
[](https://crates.io/crates/osu-rs)
[](https://docs.rs/osu-rs)
# osu-rs
I have no idea what other osu! file format parsers there are, but this
one is mine!
The focus here was on performance so I tried to do 0-alloc
deserialization where possible. I've tested roundtrips on a lot of
beatmaps with different format versions so I'm reasonably sure this
should cover most of them (roundtrips aren't byte-by-byte perfect all of
the time because there's lots of leeway, but it's reasonably close at
least).
Sorry for having very sparse documentation, I'll improve it later...
hopefully