#serial #serial-port #tty #uart #command-line-tool

app lser

A cli tool to list serial port writen in rust

1 unstable release

0.1.0 Jan 5, 2022

#1880 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

~3–29MB
~409K SLoC