Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/serialport/serialport-rs

A cross-platform serial port library in Rust. Provides a blocking I/O interface and port enumeration including USB device information.
https://github.com/serialport/serialport-rs

Fix write timeout for COM ports (#158)

* Fix write timeout for COM ports

* Add the fix to the changelog

---------

Co-authored-...

954a62297db09bf190d485bb5d165687cc6af671 authored 8 months ago by N. Kartoredjo <[email protected]>
Add conversions between DataBits, StopBits and their numeric representation

5d665608cb72794763055fb0b83592c088ce4cdb authored 8 months ago by Djordje Nedic <[email protected]>
Update changelog

819b64000e8c9758589443bc1af08e97a7bde2f2 authored 10 months ago by Tomoaki Kawada <[email protected]>
windows: Exclude nonfunctional ports

Uses `CM_Get_DevNode_Status` to query device status and exclude devices
reporting problems, such...

6573277f08541609053efb5decbf9aea9902cb6f authored 10 months ago by Tomoaki Kawada <[email protected]>
Bump version after release

de45af7d9cb1f48eb17963dadbc9a5ac65337970 authored 10 months ago by Christian Meusel <[email protected]>
Reflect successor status and status quo in README.md

We are the officially endorsed successor to
https://gitlab.com/susurrus/serialport-rs. We are al...

90d201ead23568fd3a072be8e6ac3369ed7caf8b authored 10 months ago by Christian Meusel <[email protected]>
Attempt to fix links from doc/index.md

The current master branches do no longer reflect the directory layout at
the time of writing. Le...

a66f678ff9141a4e78ac2e1213b893980d957b2c authored 10 months ago by Christian Meusel <[email protected]>
Prioritize MSRV and edition bump in CHANGELOG.md

This includes harmonizing bullet points for an even rendering by GitHub.

e3bbbcafee4b7373897e85e564be3bf25e2f6cdf authored 10 months ago by Christian Meusel <[email protected]>
Remove empty sections from CHANGELOG.md

cdeab5abcdf9a88e95ded05ef7aa13b09dff5446 authored 10 months ago by Christian Meusel <[email protected]>
Version 4.3.0

7c069aee048149e64aa5033e8c528c82209702e5 authored 10 months ago by Christian Meusel <[email protected]>
Update changelog for USB device info on Linux

e10d3c99ebc38be8edf6c4e6087ee03da739f7d0 authored 10 months ago by Christian Meusel <[email protected]>
Clarify MSRV for library and its examples

d79f2b0d4c7e79cd1496a895df8bef529c9d1785 authored 10 months ago by Christian Meusel <[email protected]>
Increase MSRV coverage for supported platforms in CI

Let's be nice and check the MSRV (at least once) for each supported
platform according to `READM...

626ad36cfd8981c6438c626ad287105e5f22d9ee authored 10 months ago by Christian Meusel <[email protected]>
Prefer manufacturer and model from device on Linux

Previously the information taken from libudev's database based on vendor
and product ID was give...

641f9e57b027570fe537478570298e6fedaab592 authored 10 months ago by Christian Meusel <[email protected]>
Harmonize info lookup for PCI devices too

19b63ba95293ab8cbbe4de26eee2353739d9ac6c authored 10 months ago by Christian Meusel <[email protected]>
Bump MSRV to 1.59.0 and edition to 2021

We have stuck to Rust 1.56.1 for a while for supporting the oldest LTS
release of Yocto (Kirksto...

d6150e4bc2257c6e33c348d70460f0c84b8ba3a4 authored 10 months ago by Christian Meusel <[email protected]>
Switch to maintained successor of unescape crate

A big shoutout to AurevoirXavier for dual-licensing this crate on
request!

85a2a458418935f0fab79df825de6eaf7269d205 authored 10 months ago by Christian Meusel <[email protected]>
windows: Use correct serial number for composite devices

Fetch the serial number from the interface's parent device, as it
contains the correct serial nu...

63fe5712443981517ee36a8c42d2431cdba2b577 authored 10 months ago by Daniel Stuart <[email protected]>
Remove outdated RUSTSEC exemption for macOS

This got fixed with #136 but the exemption for the mach crate survived
but is no longer needed. ...

2e8a8a18ca92bcd68131c2e8ae3ea93becd6f793 authored 11 months ago by Christian Meusel <[email protected]>
Clear input/output buffers on macOS upon TTY open

I don't understand why this works, but it resolves problematic behavior
(#49) on macOS. Bisectin...

7be36cb53ba54e3ca8ef668425bf269dfcd8c735 authored 11 months ago by Andrew Straw <[email protected]>
update assert_hex crate to 0.4.1

14ab9c9ab2838530cdb0e3eee02c918dbacec71c authored 11 months ago by deid84 <[email protected]>
Update changelog for updated macOS dependencies

e6090af50f2e9582dc7487fc0f43a29f151d8535 authored 11 months ago by Christian Meusel <[email protected]>
Switch to CFDictionaryGetValueIfPresent on macOS

This catches two birds with one stone: The function is already present
in the released core-foun...

4120acdf4b740ed2b63b0b51c7e9e7e510f6b82c authored 11 months ago by Christian Meusel <[email protected]>
Switch to maintained CoreFoundation and IOKit crates

00676d25b70ffcb51b9c53a10f624a18cd534776 authored 11 months ago by Christian Meusel <[email protected]>
Fix typos

60008114c5393c40ed045a1394dad5569b54345e authored 11 months ago by CAESIUS-TIM <[email protected]>
changelog: note change about serial ports on windows

Signed-off-by: Sean Cross <[email protected]>

919f9df92bb7eb350094a49a2d8afb1927238eb5 authored 11 months ago by Sean Cross <[email protected]>
windows: dcb: clean up clippy warnings

Signed-off-by: Sean Cross <[email protected]>

79ee2270ac6a445eabf66b5f64441813b3942486 authored 11 months ago by Sean Cross <[email protected]>
windows: enumerate: clean up clippy warnings

Signed-off-by: Sean Cross <[email protected]>

0543030a2ac62ddec1dc3c6a46c52b039a972e19 authored 11 months ago by Sean Cross <[email protected]>
windows: enumerate: fix serial port detection for BMP

The existing program incorrectly decoded the first character as being
the serial port. If there ...

498aa757750c7a074baf5161cf12b4065f802a4e authored 11 months ago by Sean Cross <[email protected]>
update changelog

Change-Id: Ibbfa25312f05999f184b6986bc5c421e154a1e0e

6c3ddc0f653b7c60ba792fca8e9050862600da0f authored 12 months ago by Morten Laursen <[email protected]>
open with O_CLOEXEC

This fixes a problem with Tauri auto update: After updating the tauri
application it is restarte...

90529fdb34f55dc62b59490ef5e6d1f5328a6cc2 authored 12 months ago by Morten Laursen <[email protected]>
Update bitflags dependency

Limiting bitflags to <2.1.0 causes compatibility issues and build
failures with other crates, e....

1546d77269158825589aa32a2eca15813b13757f authored about 1 year ago by Patrick Oppenlander <[email protected]>
Report actual device file on Linux without udev

ca926b2486977768078e996464bd67746b77ed4f authored about 1 year ago by Christian Meusel <[email protected]>
Add returning actual device files to changelog

48a0527ac7a83967417f3bc46b28833ec9273a99 authored about 1 year ago by Christian Meusel <[email protected]>
Clear buffers and flush output for dual port tests

40cd0cc510261400c1f94f321c42cb6495d4dc59 authored about 1 year ago by Christian Meusel <[email protected]>
Transmit test message back and forth

22f854dbd43966abb6be216db686a06074ccdef1 authored about 1 year ago by Christian Meusel <[email protected]>
Factor out common dual port test code

19f52b721d350b26f3a1e58c509d3077798ef626 authored about 1 year ago by Christian Meusel <[email protected]>
Use some timeout for dual port tests

aba2b4d1b3b5ef660e5008e459e68a53ea3fdae0 authored about 1 year ago by Christian Meusel <[email protected]>
Bump version after release

456e1b3439c1582413f7d799585b603d4a1e4ba4 authored about 1 year ago by Diego Barrios Romero <[email protected]>
Prepare 4.2.2 release again

c67a6bef83e4fa22108366addf6accaa1434e231 authored about 1 year ago by Diego Barrios Romero <[email protected]>
Fix link in changelog

5734a5f7fd3ae7b6df537cb809a38d581ad26951 authored about 1 year ago by Diego Barrios Romero <[email protected]>
Bump version after release

1b8b7e0f3846e35887d129cee845bde0b40b9375 authored about 1 year ago by Diego Barrios Romero <[email protected]>
Prepare 4.2.2 release

572cdaa10d58aad84d1e3e447d85b82d4ed508d3 authored about 1 year ago by Diego Barrios Romero <[email protected]>
Fixes the PCI-port bug on Raspberry Pi 4 (#113)

* Fixes the PCI-port bug on Raspberry Pi 4

The Bug is caused by the Fact that the USB control...

9d95e5c0dff1dfefd2f8de93f98e2c9d17064d16 authored about 1 year ago by Felix G. Knorr <[email protected]>
add space

3cdc1a53b1e78e4b9e79248a08850960ac747b87 authored over 1 year ago by wxitcode <[email protected]>
Fix typo

41b06b6417c48886da6f447abbb8b2bea65086ec authored over 1 year ago by Diego Barrios Romero <[email protected]>
Start next development iteration 4.2.2-alpha.0

aa03a41bdb660e3d96df33b0e3368ac901aa41cd authored over 1 year ago by Christian Meusel <[email protected]>
Version 4.2.1

bec8f864878e4973dad292e3ef96ad252abda3e2 authored over 1 year ago by Christian Meusel <[email protected]>
Add changes since 4.2.0 to changelog

0b207ccbd13d98fb876c8ce8c3191ab2fee23e8d authored over 1 year ago by Christian Meusel <[email protected]>
Build and test with default and all features in CI

c3ba8f19447954e8b6c0d4cfa5e222a01dd7236a authored over 1 year ago by Christian Meusel <[email protected]>
Add feature gate for UsbPortInfo.interface

Adding this field unconditionally is a major breaking change with
respect to semantic versioning...

7d403c2b2a4e3797fcabdb6e6c20ef038e6f898d authored over 1 year ago by Christian Meusel <[email protected]>
Fix several issues pointed out by Clippy

Let's have a clean baseline for looking at the next commits.

6c9d320cf73011e1c1c9fdd73588883a30beb5f9 authored over 1 year ago by Christian Meusel <[email protected]>
Changelog updated

14b3f4f16c335b7e36ea6a8566ce80bcd7d4067b authored over 1 year ago by huntc <[email protected]>
Fix numerous memory leaks on macOS

There's a few memory leaks on macOS where performing the "available_ports" method and we attempt...

88b29fa055a4d47c1fff870266663e34743dc1b9 authored over 1 year ago by huntc <[email protected]>
Removes fmt capture for rust <= 1.58

9c0285ad5da6201aaf9a8b61e50178bc5d629c15 authored over 1 year ago by Nathan Sizemore <[email protected]>
Adds fmt::Debug for dyn SerialPort and related enums.

2c0d6f051a20c69004bfd533cdc4e94328f1cc79 authored over 1 year ago by Nathan Sizemore <[email protected]>
github workflows: add cargo-deny ci action

Use cargo-deny to add more linting power. Furthermore add exceptions for
findings.

Signed-off-b...

7ace596cfba8c82ca075ba209ddea040766951b9 authored over 1 year ago by Richard Leitner <[email protected]>
README: add MSRV badge

Let our README show a badge containing the MSRV.

Signed-off-by: Richard Leitner <[email protected]>

192b932c8350e3dc6c066bfc4ff75ed47a049585 authored over 1 year ago by Richard Leitner <[email protected]>
Upgrade bitflags to version from 1.3.1 to 2.0.y

This allows 2.0.y bitflags versions. There are no obvious changes
necessary to our code base acc...

b7490e600e45e9e4a37e87883d08664966e85c6b authored over 1 year ago by Richard Leitner <[email protected]>
posix: tty: remove unnecessary u32 cast

This fixes the following clippy warning:

warning: casting to the same type is unnecessary (`u32...

8c8aebbcbd0f27510cd1cbeb4b014052b13b3cc8 authored over 1 year ago by Richard Leitner <[email protected]>
Merge pull request #86 from atouchet/links

Update NetBSD man page links

0585698f6db988f15d6fad6d9f1f6d496a2a1c1a authored over 1 year ago by Diego Barrios Romero <[email protected]>
Update NetBSD man page links

39885f14cd2b609598e493e26a20fe8104600c35 authored over 1 year ago by Alex Touchet <[email protected]>
Merge pull request #78 from atouchet/upd

Update MSRV in Cargo.toml and various doc formatting updates

d60df349623f9ae526513a12bee5b756d7c769bd authored over 1 year ago by Diego Barrios Romero <[email protected]>
Update MSRV in Cargo.toml and various doc formatting updates

395b312bcc598887292e73ea69b10f7bca9fe82d authored almost 2 years ago by Alex Touchet <[email protected]>
Update Readme (#77)

* Update Readme

* Another typo fix

e1f46eef5af7df2430f0a595681243e46f721b2a authored almost 2 years ago by Alex Touchet <[email protected]>
Update nix dependency (#75)

* Upgrade nix to 0.26

Remove the patch version in the dependency definition to get minor fixe...

94c4f5c269ef535ac5a09dfedb6c5d0059409f97 authored almost 2 years ago by Richard <[email protected]>
Add loopback test example (#69)

* Add a loopback test example

Adds a new example with support for running loopback tests on a...

5abb16519bafae43aeeea7a3dfac31941c65ab51 authored almost 2 years ago by mlsvrts <[email protected]>
Fix OpenBSD compilation issue caused by disabled ErrorKind "use"

9dc140c1f3c98517aa47f3d0730d6b72bdeab3a7 authored almost 2 years ago by Nathan Houghton <[email protected]>
Clean up two spots pointed out by Clippy

Both issues improve readability.

904f123b3e5d95e5cf8de60bf96c0b3d532bbb28 authored almost 2 years ago by Christian Meusel <[email protected]>
Additionally support switching to the unicode version of

'SetupDiGetDeviceRegistryProperty' in order to support unicode
manufacturer information and devic...

c72e0005b7c221a009bc999a8294629060d8d397 authored almost 2 years ago by mlsvrts <[email protected]>
Serial port device names were read via RegQueryValueExA, which will

return the ANSI encoded version of the string, instead, use
ReqQueryValueExW to return the UTF-16...

f1e7aa4ffd1ab40e63c50a3717797bc00f7cf9cf authored almost 2 years ago by mlsvrts <[email protected]>
Upgrade nix to 0.25.0

Update to the latest nix version and adapt nix::poll::ppoll to receive
an Option<nix::sys::signa...

536e1a51ae72c4ce07672e2cb295f7a366080d21 authored almost 2 years ago by Richard Leitner <[email protected]>
Fix for missing serial_number on macOS

CFStringGetCStringPtr is not guaranteed to succeed,
CFStringGetCString should be used instead.

08c1b61f6c748776a8a2786b88ccf7c25623719a authored about 2 years ago by Pavel Kokolemin <[email protected]>
fix `tiocmget` method

The method used the ioctl return value rather than the reference argument when constructing the ...

6542d11235532ec78332e1e6b4986e73b8d55b11 authored about 2 years ago by Philip Robinson <[email protected]>
skip attempts to set baud rate of 0 via ioctl

On macOS, attempts to set the baud rate of pseudo terminals via normal
ioctl apis appears to be ...

b54264b2588879bdca4aeb69c5b91f8a4bf980cb authored over 2 years ago by Danny Hadley <[email protected]>
Update Apple interface detection to use `bInterfaceNumber`; add a

note about the reasoning.

Signed-off-by: mlsvrts <[email protected]>

9997ed63aa03edee023f5766d0c11af9454f58e0 authored over 2 years ago by mlsvrts <[email protected]>
Add test for parsing usb port information on Windows

Windows USB serial port information relies on regular expressions when
parsing the port HWID str...

0e641092bcdaeefcec18e96c275ab22789964ceb authored over 2 years ago by mlsvrts <[email protected]>
Add support for reporting the USB device interface

USB composite devices have an interface identifier that can
be useful when attempting to disting...

364e1fb957279194a29e74acc435788557182dc2 authored over 2 years ago by mlsvrts <[email protected]>
Migrate from the `mach` package to the actively maintained `mach2`

7dde0761f7ea2fbc6cc32f75c45de5c7bc2750af authored over 2 years ago by Jesse Braham <[email protected]>
Start next development iteration 4.2.1-alpha.0

1b8645f6a731f5c040a2721d72c2e6fb55aad301 authored over 2 years ago by Jesse Braham <[email protected]>
Version 4.2.0

60d1f3eb1d455ef44553d54b97c1cd4b821b45fb authored over 2 years ago by Jesse Braham <[email protected]>
Add a call for maintainers to the README

a1a6faab9af91eea54c6c5cfe14b035cfe57ca7f authored over 2 years ago by Jesse Braham <[email protected]>
Revert to edition 2018, which lowers the MSRV to 1.46 as required by Yocto

0a743546848cffd27da9851aea98980b18f05b95 authored over 2 years ago by Jesse Braham <[email protected]>
Enumerate callout devices in addition to dial-in devices on macOS (#54)

* Enumerate callout devices in addition to dial-in devices on macOS

* Add a note to the READM...

306b014e369bf0fd4a5495a28d004c246c42f6a0 authored over 2 years ago by Jesse Braham <[email protected]>
Derive Clone for Error

ae3fd485d0166acc38a6a45cf4c7ed381afb60b4 authored over 2 years ago by Francis Lalonde <[email protected]>
add serde serialise/deserialize derivation under a feature flag

8f657fb67df0f79320ae593316d6bff18364ba87 authored over 2 years ago by Mike Ledger <[email protected]>
Request exclusive access when opening a posix serialport by default:

Make the posix implementation of TTYPort::open call tiocexcl, which matches the
documented behav...

e2b50df81e05a30001bebae136a7e465a0f87bd8 authored over 2 years ago by mlsvrts <[email protected]>
Set port timeout to a non-zero value before performing loopback test.

Default port timeout of zero may cause the hardware_check example to fail
when reading data with...

d2dc606dfb8f49b2654a93aec577a4f0a24b29a5 authored over 2 years ago by mlsvrts <[email protected]>
Upgrade nix to 0.24.1, limit features

This reduces serialport's compile time slightly, and removes memoffset as an indirect dependency.

dc157c8aeacb0d52b6020c2ec55b14428ff2f1c6 authored over 2 years ago by Ryan Zoeller <[email protected]>
Start next development iteration 4.1.1-alpha.0

a84a24539c6c02880096a91076f14a1bae0989c1 authored over 2 years ago by Jesse Braham <[email protected]>
Version 4.1.0

26e53c229e379586f46dfb0fea0a248ae1bc4e6a authored over 2 years ago by Jesse Braham <[email protected]>
Remove useless call to tcflush on open

3d6c1b25e3430e45290da752e01da96e81beddc3 authored over 2 years ago by Jan Niehusmann <[email protected]>
Fix bug introduced with #39

If opening succeeded, automatic closing on drop must be skipped

57fa9564a6bfa9f62b32b5aef48d1de077bea846 authored over 2 years ago by Jan Niehusmann <[email protected]>
Make sure fd is properly closed if initialization fails (#39)

* Make sure fd is properly closed if initialization fails

* Update call to set_termios which ...

59929050c4dbbee9eb2556e51ec090c273dd506e authored over 2 years ago by Jan Niehusmann <[email protected]>
Update edition and MSRV, fix new clippy/deprecation warnings

d4bb015e6852f418fc10a3db72709ab4fd95d1d1 authored over 2 years ago by Jesse Braham <[email protected]>
Decide on CI targets (for now) and update README/config accordingly

1ca0883fd23b178b8fbd0ca9ab310b80660f612e authored over 2 years ago by Jesse Braham <[email protected]>
close the handle on error in open() on windows

45bb61aa1929b438626eb15b59b2e1243837e613 authored over 2 years ago by Simon Richter <[email protected]>
fix: CI badge

978d9603a3396fe7a4b1512923d859c69f085e05 authored over 2 years ago by Francis Gulotta <[email protected]>
Add link to project's Matrix channel

ea7b56329c40e6deb8da7691a662b6d5c8974dcc authored over 2 years ago by Christian Meusel <[email protected]>
Use windows-2019 for CI builds, because GitHub loves breaking workflows

6c905f1477ed0d202c207dad5e70eff3aeb5e330 authored over 2 years ago by Jesse Braham <[email protected]>