forked from
pds.dad/at-advent
this repo has no description
1use shared::advent::challenges::day_three::repo::manufacture_car;
2
3#[tokio::main]
4async fn main() {
5 let car_bytes = manufacture_car(
6 &("codes.advent.supersecret.verification".parse().unwrap()),
7 &("1337".parse().unwrap()),
8 "ABCDE-FGHIJ",
9 )
10 .await
11 .expect("failed to build car");
12
13 let path = "local/test.car";
14 std::fs::write(path, &car_bytes).expect("failed to write file");
15 println!("wrote {} bytes to {path}", car_bytes.len());
16}