#hardware #libftdi1 #api-bindings

ftdi

A Rust wrapper over libftdi1 library for FTDI devices

6 releases

0.1.3 Nov 6, 2021
0.1.2 Aug 12, 2021
0.1.1 Apr 21, 2021
0.0.2 Feb 8, 2016

#917 in Hardware support

Download history 34/week @ 2023-12-04 57/week @ 2023-12-11 77/week @ 2023-12-18 44/week @ 2023-12-25 33/week @ 2024-01-01 64/week @ 2024-01-08 61/week @ 2024-01-15 32/week @ 2024-01-22 2761/week @ 2024-01-29 4989/week @ 2024-02-05 5615/week @ 2024-02-12 5506/week @ 2024-02-19 6602/week @ 2024-02-26 6465/week @ 2024-03-04 6333/week @ 2024-03-11 5179/week @ 2024-03-18

24,753 downloads per month
Used in 4 crates

MIT and maybe LGPL-2.1 AND MIT

27KB
598 lines

ftdi

This is a library wrapping libftdi1-sys and providing a more idiomatic interface for working with FTDI devices in Rust.

MSRV

At the moment the MSRV of this crate is Rust 1.40.0.

Changelog

0.1.3

MSRV increased from 1.34.0 to 1.40.0.

Additions:

  • extended MPSSE support via ftdi-mpsse
  • event char and error char configuration
  • libftdi context getter

0.1.2

Additions:

  • bitmode configuration
  • line properties configuration
  • flow control configuration
  • baud rate configuration
  • a number of useful derives on Interface

0.1.1

Additions:

  • a vendored feature for libftdi1-sys.

0.1.0

The initial release with something like a stable API.


lib.rs:

An incomplete Rust wrapper over the libftdi1 library for working with FTDI devices

Note: the library interface is definitely unstable for now

Dependencies

~0.5–1.2MB
~26K SLoC