Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mark-meyer/advent_code_rust
Learning some Rust with Advent Of Code.
https://github.com/mark-meyer/advent_code_rust
Last synced: about 2 months ago
JSON representation
Learning some Rust with Advent Of Code.
- Host: GitHub
- URL: https://github.com/mark-meyer/advent_code_rust
- Owner: mark-meyer
- Created: 2021-12-02T16:20:38.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-21T00:06:19.000Z (about 1 year ago)
- Last Synced: 2023-12-21T01:56:07.177Z (about 1 year ago)
- Language: Rust
- Size: 155 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Advent of Code
### Rust
To install compiler and cargo: [rustup](https://www.rust-lang.org/tools/install)
### Running
To do a quick build and run just `cd` to the directory and use cargo:```
> cd one
> cargo runsolution one: 2272262
solution two: 2134882034
```run tests the same way:
```
> cd two
>cargo testrunning 2 tests
test test::p_one ... ok
test test::p_two ... ok
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
```