flight-network-planner 1.2.9

Minecart Rapid Transit Flight Network Planner for airlines
# flight-network-planner
![Crates.io Version](https://img.shields.io/crates/v/flight-network-planner)
![Github Version](https://img.shields.io/github/v/release/MRT-Map/flight-network-planner)
![Crates.io MSRV](https://img.shields.io/crates/msrv/flight-network-planner)
![GitHub License](https://img.shields.io/github/license/MRT-Map/flight-network-planner)

![GitHub code size](https://img.shields.io/github/languages/code-size/MRT-Map/flight-network-planner)
![GitHub repo size](https://img.shields.io/github/repo-size/MRT-Map/flight-network-planner)
![GitHub last commit (branch)](https://img.shields.io/github/last-commit/mrt-map/flight-network-planner/main)
![GitHub commits since latest release (branch)](https://img.shields.io/github/commits-since/mrt-map/flight-network-planner/latest/main?include_prereleases)
![GitHub Release Date](https://img.shields.io/github/release-date/MRT-Map/flight-network-planner)
![Libraries.io dependency status for GitHub repo](https://img.shields.io/librariesio/github/MRT-Map/flight-network-planner)

![Crates.io Downloads (recent)](https://img.shields.io/crates/dr/flight-network-planner)
![Crates.io Total Downloads](https://img.shields.io/crates/d/flight-network-planner)

[Minecart Rapid Transit](https://minecartrapidtransit.net) Flight Network Planner for airlines

This planner prioritises unique flight routes and tries its best not to duplicate other airlines' flights :)

[Astrella](https://wiki.minecartrapidtransit.net/index.php/Astrella) uses this program to generate its flight network and has found that over 90% of flights are unique :eyes:

## Usage
1. Run `cargo install flight-network-planner` to download
    * `cargo-binstall` is supported: `cargo binstall flight-network-planner`
    * If cargo is not available, prebuilt executables are located in GitHub releases
2. Run `flight-network-planner get-config` to get the default configuration file
    * Append `> <config_file_name>` to save the configuration to a file
3. Edit the configuration file for your airline
4. Run `flight-network-planner run <config_file_name>` to generate the flight plan for your airline
    * Append `-s` to view statistics about the flight plan (you may have to scroll up)
    * Append `-o <old_output_file_name>` if you still have the output of a previous run (to tell the planner to preserve flight numbers), with `-r` to replace it
    * Appens `> <output_file_name>` to save the output to a file 
5. Profit

## Disclaimer
1. As flight plans depend heavily on other airlines, flight plans can change extremely rapidly over time
2. This program pulls data from [Gatelogue]https://github.com/mrt-map/gatelogue, which means
   * The duplication rate may be higher or lower than its actual value, depending on whether the MRT Mapping Services have recorded the other airlines' flights
   * You need the internet for this to work
3. There is a 99.9999999% chance something will break while you use the program. I haven't got round to unit-testing the planner thoroughly so there may be bugs lurking everywhere