`serial-enumerate` provides an easy way to enumerate serial ports on windows and unix operating systems.
Add the following to your `Cargo.toml`.
```
serial-enumerate = {git = "https://github.com/Geemili/serial-enumerate.git"}
```
```
for device in serial_enumerate::enumerate_serial_ports().unwrap() {
println!("{}", device);
}
```