Git Product home page Git Product logo

rust-advent's Introduction

Rust advent ๐Ÿฆ€ ๐Ÿš

Rust

Learning Rust by implementing solutions for Advent of Code problems.

๐ŸŽฅ HEY, we are live-streaming our attempts to solve the exercises in this repo! Check us out on:

Eugen, Roberto and Luciano trying to solve Advent of Code in Rust

And remember to follow and subscribe! ๐Ÿ˜Ž ๐Ÿ˜‹

Requirements

This repo contains some code that is bespoke to Raspberry Pi Pico, therefore you need to install some additional dependencies:

rustup target install thumbv6m-none-eabi

and

cargo install flip-link

How to run tests for all exercises

Simply execute:

cargo test

If you want to run only one test for a given part of an exercise you can run something like this:

cargo test --package ex01 --lib --all-features -- tests::part_2

Create a new exercise

Cd into the specific year folder (e.g. y2020) and run:

cargo new --lib exNN

Replace NN with the number of exercise for the given year. For instance:

cargo new --lib ex01

Finally add the new subproject in the workspace by editing the main Cargo.toml. For instance, assuming you just created y2020/ex10:

[workspace]
members = [
  "y2020/ex01",
  # ...
  "y2020/ex10" # <- new entry
]

Contributing

Everyone is very welcome to contribute to this project. You can contribute just by submitting bugs or suggesting improvements by opening an issue on GitHub.

License

Licensed under MIT License. ยฉ Luciano Mammino, Roberto Gambuzzi, Eugen Serbanescu, Stefano Abalsamo.

rust-advent's People

Contributors

lmammino avatar malagolichiara avatar eugenserbanescu avatar gambuzzi avatar gbinside avatar allevo avatar pepoviola avatar github-actions[bot] avatar wgaffa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.