13 lines
321 B
Rust
13 lines
321 B
Rust
use prettyprint::{PrettyPrintError, PrettyPrinter};
|
|
|
|
fn main() -> Result<(), PrettyPrintError> {
|
|
let theme = include_bytes!("../assets/themes.bin");
|
|
|
|
let print = PrettyPrinter::default()
|
|
.language("rust")
|
|
.load_theme(theme.to_vec())
|
|
.build()?;
|
|
|
|
print.string(include_str!("main.rs"))
|
|
}
|