1 unstable release
Uses old Rust 2015
0.1.0 | Nov 28, 2016 |
---|
#11 in #enumerate
31 downloads per month
3KB
Serial Enumerate
serial-enumerate
provides an easy way to enumerate serial ports on windows and unix operating systems.
Usage
Add the following to your Cargo.toml
.
serial-enumerate = {git = "https://github.com/Geemili/serial-enumerate.git"}
Example
for device in serial_enumerate::enumerate_serial_ports().unwrap() {
println!("{}", device);
}
lib.rs
:
This crate provides an easy way to enumerate serial ports.
for device in serial_enumerate::enumerate_serial_ports().unwrap() {
println!("{}", device);
}
Dependencies
~485KB