mirror of
https://github.com/itsjunetime/tdf.git
synced 2026-06-01 23:51:46 -04:00
e16163efb8
* First implementation of custom colors * Remove use-statement Co-authored-by: June <61218022+itsjunetime@users.noreply.github.com> * Cleaned up help-text Co-authored-by: June <61218022+itsjunetime@users.noreply.github.com> * Removed superfluous features from csscolorparser * Fix for clippy * Clarify how to pass in custom colors * Explicitly install clippy and rustfmt in CI * Better error handling when colors can not be parsed Co-authored-by: June <61218022+itsjunetime@users.noreply.github.com> * More elegant type conversion Co-authored-by: June <61218022+itsjunetime@users.noreply.github.com> * Made clippy happy --------- Co-authored-by: June <61218022+itsjunetime@users.noreply.github.com> Co-authored-by: itsjunetime <junewelker@gmail.com>
14 lines
238 B
Rust
14 lines
238 B
Rust
mod utils;
|
|
|
|
#[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, 0, 1000).await;
|
|
}
|