indexing_fmt
This crate allows the formatting of integer types as superscripts or subscripts.
It is written in pure safe Rust and no_std compatible.
use *;
let index = 12;
let name = format!;
assert_eq!;
use indexing_fmt::*;
let index = 840;
let name = format!("Docking-Bay{}", index.to_subscript());
assert_eq!(name, "Docking-Bay₈₄₀");