mirror of
https://github.com/itsjunetime/tdf.git
synced 2026-06-01 23:51:46 -04:00
17 lines
328 B
Rust
17 lines
328 B
Rust
mod utils;
|
|
|
|
const BLACK: i32 = 0;
|
|
const WHITE: i32 = i32::from_be_bytes([0, 0xff, 0xff, 0xff]);
|
|
|
|
#[tokio::main]
|
|
async fn main() {
|
|
#[cfg(feature = "tracing")]
|
|
console_subscriber::init();
|
|
|
|
let file = std::env::args()
|
|
.nth(1)
|
|
.expect("Please enter a file to profile");
|
|
|
|
utils::render_doc(file, None, BLACK, WHITE).await;
|
|
}
|