Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gifnksm/ProjectEulerRust

Solving Project Euler with Rust
https://github.com/gifnksm/ProjectEulerRust

Last synced: 3 months ago
JSON representation

Solving Project Euler with Rust

Awesome Lists containing this project

README

        

# Project Euler - Rust

[![Rust CI](https://github.com/gifnksm/ProjectEulerRust/actions/workflows/rust-ci.yml/badge.svg)](https://github.com/gifnksm/ProjectEulerRust/actions/workflows/rust-ci.yml)
[![codecov](https://codecov.io/gh/gifnksm/ProjectEulerRust/branch/master/graph/badge.svg?token=3PXez3ai02)](https://codecov.io/gh/gifnksm/ProjectEulerRust)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![GitHub stars](https://img.shields.io/github/stars/gifnksm/ProjectEulerRust.svg)](https://github.com/gifnksm/ProjectEulerRust/stargazers)

Solving Project Euler with Rust lang.

[![Project Euler](https://projecteuler.net/profile/gifnksm.png)](https://projecteuler.net/)

## Try it out

Run all problems:

```console
cargo build --release
cargo run --release --bin euler
```

Run specific problem:

```console
cargo run --release --bin p001
```

Run tests:

```console
cargo run test --workspace
```

Run benchmarks:

```console
cargo run bench --workspace
```

## Special thanks

* [The Rust Programming Language](http://www.rust-lang.org/)
* [Project Euler](http://projecteuler.net/)
* [crates.io](https://crates.io/)