milcheck 0.1.8

A small binary that displays the status of your pacman mirrorlist in your terminal
Documentation
[![Build Status](https://travis-ci.org/doums/milcheck.svg?branch=master)](https://travis-ci.org/doums/milcheck)

## milcheck

:tea: _**MI**rror**L**ist **Check**_

![milcheck](https://image.petitmur.beer/milcheck.png)

A small binary that displays the status of your pacman mirrorlist in your terminal, written in [Rust](https://www.rust-lang.org/)

### How ?

milcheck just reads your `/etc/pacman.d/mirrorlist` and retrieves the corresponding data from the official [mirror status page](https://www.archlinux.org/mirrors/status/)

### Why ?

As explained in the [mirror doc](https://wiki.archlinux.org/index.php/Mirrors),\
before a system upgrade i.e. `sudo pacman -Syu`, you must check that the mirrors in your mirrorlist are up to date e.g. not out of sync.

### It's not

..an additional mirrorlist ranking utility

### Install

Rust is a language that compiles to native code and by default statically links all dependencies.\
Simply download the latest [release](https://github.com/doums/milcheck/releases) of the precompiled binary and use it!
(do not forget to make it executable `chmod 755 milcheck`)

### Install from [crates.io]https://crates.io/crates/milcheck

install Rust -> https://www.rust-lang.org/tools/install
```
cargo install milcheck
```

### Build from sources

install Rust -> https://www.rust-lang.org/tools/install
```
git clone https://github.com/doums/milcheck.git
cd milcheck
cargo build
```
to build for release
```
cargo build --release
```
the binary is located under `target/debug` or `target/release`

### Usage

```
milcheck
```

### License
Mozilla Public License 2.0