#io #stream #formatted #oj

iof

Read from and write data to console or file in simple formats

17 unstable releases (4 breaking)

0.5.0 Oct 27, 2025
0.4.0 Apr 11, 2025
0.3.2 Apr 11, 2025
0.3.1 Feb 19, 2025
0.1.1 Jul 14, 2024

#730 in Encoding


Used in mau

MIT/Apache

195KB
4K SLoC

IOF: Input and Output in a Simple Format

Docs Crates.io Crates.io

Continuous Integration codecov

This library is mainly for some cases that need simple and fast I/O, such as online judge.

This library has an interface for inputs that is a bit similar to input streams in C++ (thus is helpful if you're finding an I/O framework in Rust for online judge), and some default format for output.

See the documentation for more details.

Test Coverage Graphs

The following graphs are generated by Codecov.

Sunburst

Grid

Icicle

No runtime deps