Add basic Rust project at 2022/aoc2022
This commit is contained in:
parent
13deda84b3
commit
8572c088dd
3 changed files with 22 additions and 0 deletions
7
2022/aoc2022/Cargo.lock
generated
Normal file
7
2022/aoc2022/Cargo.lock
generated
Normal file
|
@ -0,0 +1,7 @@
|
|||
# This file is automatically @generated by Cargo.
|
||||
# It is not intended for manual editing.
|
||||
version = 3
|
||||
|
||||
[[package]]
|
||||
name = "aoc2022"
|
||||
version = "0.1.0"
|
8
2022/aoc2022/Cargo.toml
Normal file
8
2022/aoc2022/Cargo.toml
Normal file
|
@ -0,0 +1,8 @@
|
|||
[package]
|
||||
name = "aoc2022"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
7
2022/aoc2022/src/main.rs
Normal file
7
2022/aoc2022/src/main.rs
Normal file
|
@ -0,0 +1,7 @@
|
|||
use std::env;
|
||||
|
||||
fn main() {
|
||||
let args: Vec<String> = env::args().collect();
|
||||
dbg!("Command line args: {}", args);
|
||||
println!("Hello, world!");
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue