this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 20 lines 502 B view raw
1use shared::advent::challenges::day_three::repo::inspect_car; 2 3#[tokio::main] 4async fn main() -> Result<(), Box<dyn std::error::Error>> { 5 let path = std::env::args() 6 .nth(1) 7 .ok_or("usage: day_three_inspect_car <path-to-car-file>")?; 8 9 let car_bytes = std::fs::read(&path)?; 10 11 let record = inspect_car( 12 &car_bytes, 13 &("codes.advent.challenge.day".parse().unwrap()), 14 &("three".parse().unwrap()), 15 ).await?; 16 17 println!("{record:#?}"); 18 19 Ok(()) 20}