8000 GitHub - iostat/mio-serial
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

iostat/mio-serial

 
 

Repository files navigation

mio-serial: A serial port IO library MIO.

Build Status crates.io docs.rs

mio-serial provides a serial port implementation using mio.

Usage

Add mio-serial to you Cargo.toml:

[dependencies]
mio-serial = "3.3"

Then add this to your crate root:

extern crate mio_serial;

Features

The "libudev" dependency of serialport-rs is enabled by default. For x86 linux systems this enables the available_ports function for port enumeration. Not all targets support udev, especially when cross-compiling. To disable this feature, compile with the --no-default-features option. For example:

cargo build --no-default-features

Examples

A few examples can be found here.

License

This software is licensed under MIT.

This software builds upon the MPL-2.0 licensed serialport-rs and constitutes a "Larger Work" by that license. The source for serialport-rs can be found at https://gitlab.com/susurrus/serialport-rs.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 88.2%
  • Shell 6.9%
  • Dockerfile 3.4%
  • PowerShell 1.5%
0