Skip to content

grantralls/advent-of-code-2015

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2015

Language: Rust, Author: Grant S. Ralls (grantralls.net - dev@grantralls.net)

Not affiliated with The Rust Foundation or The Rustlang Team in any manner

Introduction

This advent of code is being worked on in 2023 as a fun programming exercise to work on learning Rust.

Requirements

  • rustc
  • cargo
  • rustup

Installing via rustup works in the majority of cases

Project Structure

The root folder is a Rust Virtual Workspace. Essentially meaning one "package" that contains many individual packages. Each individual package is a days solution and named accordingly (day-one, day-two...).

Files (per project/day)

  • src/main.rs - binary entry
  • src/lib.rs - library (code that can be imported from other packages)
  • src/any-other-file.rs - a module
  • Cargo.toml - The project's manifest

Running a solution

  1. Change directory into the desired day
  2. Run cargo run

Running tests

  1. Change directory into the desired day
  2. Run cargo test

About

Advent of code problems done in 2023 in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages