Skip to content

astariul/reuler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

241 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reuler

Solutions to Project Euler in Rust

GitHub release Build status licence

DescriptionInstallUsageContribute

Description

reuler is a crate that contains the solutions for the Project Euler.

Note that this project is a Work In Progress.

Install

Install reuler by running :

cargo install reuler

Usage

You can simply run the command line followed by the ID of the problem your're trying to solve :

reuler <id>

For example, if you're trying to solve "Amicable numbers" (problem #21), just run :

reuler 21

Contribute

To contribute, install the package locally, create your own branch, add your code (and tests, and documentation), and open a PR !

Code formatting

Ensure the code you added is properly formatted with :

cargo fmt

Tests

When you contribute, you need to make sure all the unit-tests pass. You should also add tests if necessary !

You can run the tests with :

cargo test

Documentation

The documentation should be kept up-to-date. You can visualize the documentation locally by running :

cargo doc --open

About

Solutions to Project Euler in Rust

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages

Generated from astariul/rustere