Skip to content

Advent of Code Rust Template that you can use with cargo-generate

License

Notifications You must be signed in to change notification settings

jalil-salame/aoc-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code Template

This is a rust template that you can use with cargo-generate to quickly create a Advent of Code solution in Rust

Usage

  1. Create a cargo workspace:

    # file: AdventOfCode/2022/Cargo.toml
    [workspace]
    members = [ "day/*" ]
    
    [workspace.dependencies]
    color-eyre = "0.6.2"
  2. Create a subdirectory under that workspace (ie. I use day/01)

  3. Move into the created directory

  4. Run cargo generate --init --name 'aoc-2022-01' gh:salameme/aoc-template

About

Advent of Code Rust Template that you can use with cargo-generate

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages