1
1
mirror of https://github.com/theoludwig/advent_of_code.git synced 2025-05-18 19:27:51 +02:00

ci: test both MSRV and latest stable Rust versions

This commit is contained in:
2024-01-27 17:49:25 +01:00
parent 21433caf63
commit abcf7c5163
14 changed files with 114 additions and 30 deletions

View File

@ -2,14 +2,29 @@
## About
This repository contains my solutions for the [Advent of Code 2023](https://adventofcode.com/2023) challenges implemented in the [Rust Programming Language](https://www.rust-lang.org/) v1.74.0.
This repository contains my solutions for the [Advent of Code 2023](https://adventofcode.com/2023) challenges implemented in the [Rust Programming Language](https://www.rust-lang.org/).
## Getting Started
### Prerequisites
The current Minimum Supported [Rust](https://www.rust-lang.org/) Version (MSRV) is **1.70.0** (determined thanks to [cargo-msrv](https://crates.io/crates/cargo-msrv)).
The project is **tested** against the following Rust versions:
- **Minimum Supported Rust Version (MSRV): v1.70.0**
- **Latest Stable Version**
### Usage
```sh
# Run the tests
cargo test
# Run a specific day's challenge (e.g. Day 1)
cargo run --package day_1
# Build, Lint, and Test
cargo build
cargo test
cargo clippy --verbose -- -D warnings
cargo fmt -- --check
```
## License