serial_enumerate 0.1.0

A rust crate to enumerate serial ports
Documentation
  • Coverage
  • 13.33%
    2 out of 15 items documented1 out of 11 items with examples
  • Size
  • Source code size: 7.75 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.8 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Geemili

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);
}