1 unstable release

0.1.3 Nov 5, 2021
0.1.2 Nov 5, 2021
0.1.1 Nov 5, 2021
0.1.0 Nov 5, 2021

#16 in #roman

MIT license

9KB
223 lines

Rust docs.rs GitHub top language GitHub code size in bytes Crates.io Crates.io GitHub last commit

Ramenon

A Rust library to convert between integers and roman numerals.


lib.rs:

Roman numerals converter

Quick Start

use ramenon::*;

let int = 3_888;
let roman = "MMMDCCCLXXXVIII";

let roman_to_int = to_int(roman);
let int_to_roman = to_roman(int);

assert_eq!(int, roman_to_int.unwrap());
assert_eq!(roman, int_to_roman.unwrap().as_str());

No runtime deps