#serial #uart #tty #serial-port #cli-tool

app lser

A cli tool to list serial port writen in rust

1 unstable release

0.1.0 Jan 5, 2022

#1716 in Hardware support

MIT license

4KB

lser

A cli tool to display avaliable serial ports of your device.

  • Support Linux, Windows
  • Support arm and x86 devices of linux

install

$ cargo install lser

example

$ lser
+--------------+------------+---------------------+-----------+
| Name         | Vendor     | Product             | USB       |
+--------------+------------+---------------------+-----------+
| /dev/ttyS0   |    pnp     |       PNP0501       |    --     |
+--------------+------------+---------------------+-----------+
| /dev/ttyUSB0 |  Digilent  | Digilent USB Device | 0403:6014 |
+--------------+------------+---------------------+-----------+
| /dev/ttyUSB1 | ch341-uart |    USB2.0-Serial    | 1a86:7523 |
+--------------+------------+---------------------+-----------+

Dependencies

~2–28MB
~393K SLoC