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

Merge branch 'applay_rstfmt' into 'master'

Applay rust fmt to all files

See merge request susurrus/serialport-rs!43

c8c7d928e1b0e694a6130ec6e25735272ac9eb2e authored over 6 years ago by Bryant <[email protected]>
use proper master

bf5efab1286ad49cc174fe527ddb2c43ba66d5ef authored over 6 years ago by Sylwester Rąpała <[email protected]>
Remove rendundant struct field names

As of Rust 1.17 field names aren't required when the variable used
as the value for that field m...

1025acc1b757425cc01579969369514954a324c4 authored over 6 years ago by Bryant Mairs <[email protected]>
Add parameter name for `SerialPort::set_all`

Looks silly in the docs if you don't have it. Also makes it harder
for implementors as they have...

884a68a0bceeb9a2f883bffb29e584adbe3ac7d0 authored over 6 years ago by Bryant Mairs <[email protected]>
Merge branch 'rename_port_name' into 'master'

Rename `SerialPort::port_name()` to `name()`

Closes #36

See merge request susurrus/serialport-...

8f0ee9d6176c42d449c0701ec7d3e7df26ea6d7d authored over 6 years ago by Bryant <[email protected]>
Merge branch 'ignore_arb_baud' into 'master'

Ignore arbitrary baud rate tests on ios/macos

See merge request susurrus/serialport-rs!42

5a8b368a0404519f857d62600fb2a040b68b7fcd authored over 6 years ago by Bryant <[email protected]>
Ignore arbitrary baud rate tests on ios/macos

This functionality hasn't been merged yet (see !30), so testing it
now always results in failure...

2b11b0559dfc9eb8b974834e31754408ed07aea5 authored over 6 years ago by Bryant Mairs <[email protected]>
Rename `SerialPort::port_name()` to `name()`

The "port_" portion was almost always redundant with the variable
name this method was being cal...

1f3c71321c6e5f65c22ea98f42b27460a0bcc46f authored over 6 years ago by Bryant Mairs <[email protected]>
Strip trailing nul byte from COM port names

63b9bb64d516f62d2a8225f1e01fb70c6fc3fd5e authored over 6 years ago by Dan Munckton <[email protected]>
Merge branch 'strip_trailing_nul_from_com_names' into 'master'

Strip trailing nul byte from COM port names

See merge request susurrus/serialport-rs!40

c426d773036c84a2e892068a28846087d23eb173 authored over 6 years ago by Bryant <[email protected]>
Merge branch 'arb_baud_rates' into 'master'

Support arbitrary baud rates on Android, BSD, Linux, and Windows

See merge request susurrus/ser...

a9da59a297c023b1fe78640d89adfa071dd16137 authored over 6 years ago by Bryant <[email protected]>
Support arbitrary baud rates on Android, BSD, Linux, and Windows

The core API still holds for Mac, but setting any non-standard baud
rates will result in an error.

0d20998ae9392980584d695a3e7e8f11e1795199 authored over 6 years ago by Bryant Mairs <[email protected]>
Merge branch 'hardware_check_flow' into 'master'

Expand `hardware_check` example

See merge request susurrus/serialport-rs!38

44e26683e34b029f905c042eb2afabb6400b4803 authored over 6 years ago by Bryant <[email protected]>
Add a section on hardware support to the README

64636e1cdfa37605a5dd00f65d52adc71c9953d0 authored over 6 years ago by Bryant Mairs <[email protected]>
Make the second argument optional

If no second port is passed, run only the tests for the first port.
Otherwise continue to run te...

eaf735a7c89558f501c2260c8df8330bbab63b7c authored over 6 years ago by Bryant Mairs <[email protected]>
Add flow control tests

affb14c777e3fb095c5bada56305152311422edc authored over 6 years ago by Bryant Mairs <[email protected]>
Correct datatype when setting/getting signal lines

This doesn't seem to actually cause a bug, but it's definitely the
correct implementation.

1fcb7fc74eaaa362e75aa198f1c56eb473ee186b authored over 6 years ago by Bryant Mairs <[email protected]>
Group output for hardware_check by transmitter

This makes it easier to understand what the failure is, as tests for
each transmitter are done i...

7a0c6ab07458bd304fb6cac94a7307f933912882 authored over 6 years ago by Bryant Mairs <[email protected]>
Merge branch 'linux_i686_builds' into 'master'

Add builds for i686 Linux

Closes #6

See merge request susurrus/serialport-rs!37

27770e90f3b02da45784a54d26f424cdab59d922 authored over 6 years ago by Bryant <[email protected]>
Add builds for i686 Linux

6c2746e313a9285ca4a57fd56b31a3d857fd2487 authored over 6 years ago by Bryant Mairs <[email protected]>
Update CHANGELOG for 2.2 release

291c79facefd0291d50af0347358f05a8b82bdfa authored over 6 years ago by Bryant Mairs <[email protected]>
(cargo-release) version 2.3.0

149575dd8d8f2f5ffadf9f3fbb62ef2223832778 authored over 6 years ago by Bryant Mairs <[email protected]>
(cargo-release) version 2.2.0

ba3c192459517fa4d6b3e9736d70b28a54a065fa authored over 6 years ago by Bryant Mairs <[email protected]>
Update changelog for uncaching change

dd111f2c3defd58ffbc5ae24cf097dfc4e4ff78c authored over 6 years ago by Bryant Mairs <[email protected]>
Make release notes for 2.2.0

1b426f5371f9e02b1e5068de238a9eddf2f4b7eb authored over 6 years ago by Bryant Mairs <[email protected]>
Fix baud rate tests in hardware_check

Use read_exact instead of a single read to overcome issues with
buffering

fd3d32f093d4cdd918a35013d20a5dc896abeef7 authored over 6 years ago by Bryant Mairs <[email protected]>
Merge branch 'uncache' into 'master'

Remove settings caching for all SerialPort-implementatng types

See merge request susurrus/seria...

60fbc79b6b1ef2ffdd6d5a489c86f70ea4eb5461 authored over 6 years ago by Bryant <[email protected]>
Better report errors in hardware_check

64397a7d7725c9248e655bfb1f6f37e3bb1f5c56 authored over 6 years ago by Bryant Mairs <[email protected]>
Fix copy/paste errors

809f25b8a187ba42722fe5e115c3ea3599c8bed4 authored over 6 years ago by Bryant Mairs <[email protected]>
Remove settings caching for POSIX

There's little reason for this from a performance standpoint and
it can result in problems when ...

4b2ee43f2c3f42848126cf8a722d319c8273d53f authored over 6 years ago by Bryant Mairs <[email protected]>
Remove settings caching for COMPort

This doesn't work well with and likely gives
only a small performance win. The functions that t...

8cf633f18a0d50e52c7b4018cb21c88dfcb74430 authored over 6 years ago by Bryant Mairs <[email protected]>
Merge branch 'test_try_clone' into 'master'

Refactor tests for try_clone

See merge request susurrus/serialport-rs!34

64be1c094674cc803c014d802572a4df4ea84565 authored over 6 years ago by Bryant <[email protected]>
Merge branch 'into_raw_fd' into 'master'

Into raw fd

See merge request susurrus/serialport-rs!35

1c959cb76ecebe1f1298c62410b73c702cb9da18 authored over 6 years ago by Bryant <[email protected]>
Fix TTYPort::into_raw_fd

The initial implementation was actually broken as `drop()` will
still be called on the port. Thi...

dd1ed354bd226c6c5f551d7a4e3351d25f92dc5c authored over 6 years ago by Bryant Mairs <[email protected]>
Clarify timeout setting for TTYPort

The timeout setting looked incorrect in `TTYPort::open()`, which
was confusing when going throug...

3e6708ffc17ded46a7dc0d8c70fbd48e921a4b2c authored over 6 years ago by Bryant Mairs <[email protected]>
Refactor tests for try_clone

The try clone tests were failing on some platforms, so simplify
them a bit. Primarily remove unn...

addb8509ad94e0b8c44e17995002553203cc5910 authored over 6 years ago by Bryant Mairs <[email protected]>
Cleanup CHANGELOG entry

b58b459564725f0c5422dc4eab66def6e877e26a authored over 6 years ago by Bryant Mairs <[email protected]>
Merge branch 'master' into 'master'

Add `SerialPort::try_clone`.

See merge request susurrus/serialport-rs!20

4317c7e10f009139c6f19d856683547fe11e2035 authored over 6 years ago by Bryant <[email protected]>
Added a new function in the trait `SerialPort` : `try_clone` which try

to clone the underlying structure of a serial port to allow full duplex
read/write.
Added `exampl...

6d1c532a9cf2741c509db9c3fb4a34523cbab447 authored over 6 years ago by Paul Florence <[email protected]>
Merge branch 'hardware_check' into 'master'

Add hardware diagnostic example

See merge request susurrus/serialport-rs!33

e4ae780a0bfe47cdcb60952a94711e568d849197 authored over 6 years ago by Bryant <[email protected]>
Add hardware diagnostic example

This example tests physical ports for failures when configuring
them or transmitting data throug...

e8da22023f07ce3d4c798671055ff54e02d0b3e4 authored over 6 years ago by Bryant Mairs <[email protected]>
Update CHANGELOG for post-2.1 development

cac64fa809c4ca58485708302f99829087d82c60 authored over 6 years ago by Bryant Mairs <[email protected]>
(cargo-release) start next development iteration 2.1.1-alpha.0

302813688a9d4bc5555cfc50f32c96bbef31142a authored over 6 years ago by Bryant Mairs <[email protected]>
(cargo-release) version 2.1.0

418238a25e1964502c18de7f1cd0160d52f7a44d authored over 6 years ago by Bryant Mairs <[email protected]>
Update CHANGELOG for 2.1.0 release

cacdbad47354c18cf812a2d95d5377f30edd7d6f authored over 6 years ago by Bryant Mairs <[email protected]>
Merge branch 'platform_fixes' into 'master'

Platform fixes

See merge request susurrus/serialport-rs!32

546c50e95259cbf9cb370b908d46b7d386dd4a15 authored over 6 years ago by Bryant <[email protected]>
Run tests one-at-a-time

Because `ptsname()` is not threadsafe, it's not safe to run multiple
tests calling `TTYPort::pai...

3c35d584058cdc829cf0f1e752979d9ee1826f2d authored over 6 years ago by Bryant Mairs <[email protected]>
Make Mac tests in CI a little more robust

The default timeout is 1ms, which leads to spurious failures
on tests within the Travis CI Mac e...

5834e6d97adcec082443690d53c0e025a7ef033a authored over 6 years ago by Bryant Mairs <[email protected]>
Update CHANGELOG

14b434835e28df5b2d9037eb9a0327ffc5acaa6c authored over 6 years ago by Bryant Mairs <[email protected]>
Fix compilation for BSDs

dfe04fdc278130f68bca8054002b602b0794f4e0 authored over 6 years ago by Bryant Mairs <[email protected]>
Use Baud* constants where applicable

Rather than using BaudOther(*)

d25247388a056d2cdc781c505223a9ce7169441f authored over 6 years ago by Bryant Mairs <[email protected]>
Enable 921600 baud on FreeBSD

fcb981cafda7b2157452d1bd52651a6f914f5f7b authored over 6 years ago by Bryant Mairs <[email protected]>
Remove B921600 on NetBSD

This constant is missing from libc, so it breaks compilation.

6c7d92d52bb90fbb9e2d4e2c1cc372a91b585ea5 authored over 6 years ago by Bryant Mairs <[email protected]>
Simplify BaudRate imports

5b9cb4a71d3d3264d3f435893958e078460a5f80 authored over 6 years ago by Bryant Mairs <[email protected]>
Wrap ptsname in unsafe now that it is so

71129ca478d4c02b887f65f8376e2632f3ba4c62 authored over 6 years ago by Bryant Mairs <[email protected]>
Merge branch 'unused' into 'master'

Enable more unused lints

See merge request susurrus/serialport-rs!28

a62ff0e8ee3188b6f29135e9e48d8c62b3847640 authored over 6 years ago by Bryant <[email protected]>
Switch to release version of nix

3b217797de8d2fc9f0ce9f5742a68b5c38d5a457 authored over 6 years ago by Bryant Mairs <[email protected]>
Clean up the CHANGELOG

96e27c594c09639b8e0af1ea05be7f14aaf302e3 authored over 6 years ago by Bryant Mairs <[email protected]>
Added more fine grained error handling

This breaks out most IO errors such that they can be detected
instead of being mapped to `Unknow...

63d77e61faadde95001634539d1d424e4549fc52 authored over 6 years ago by Bryant <[email protected]>
Added more fine grained error handling

63e197eb8c00be1ffa428fa6587f973eba82129a authored over 6 years ago by Kjetil Kjeka <[email protected]>
Log changes from !26

8324106e278e4da3e179c00a6bd6bbbde4822ce2 authored almost 7 years ago by Bryant Mairs <[email protected]>
Merge branch 'fromrawhandle' into 'master'

allow to create a COM port from a Handle

See merge request susurrus/serialport-rs!25

0d244edcaf6bb3c5c1496a98a7233c1fbf1ba6e6 authored almost 7 years ago by Bryant <[email protected]>
implement FromRawHandle trait for COMPort

4bcbc67be4152b19c4adcaa3a0ad8cdb71127877 authored almost 7 years ago by Nicolas Dusart <[email protected]>
Enable more unused lints

d3f0e7c9b5e71a75fb8633af477d76dc23c9969e authored almost 7 years ago by Bryant Mairs <[email protected]>
Merge branch 'mac_fix' into 'master'

Fixes for OS X

Closes #31

See merge request susurrus/serialport-rs!26

b1f557b780dc0b1f74e97a0048a44e09e4b7365e authored almost 7 years ago by Bryant <[email protected]>
Also locate modem serial ports on Mac

OS X makes the distinction between RS232 and Modem
serial port types. Previously we only searche...

7c19be33144e6db817a35562cd31cb7ce5120312 authored almost 7 years ago by Bryant Mairs <[email protected]>
Merge branch 'ci' into 'master'

Update CI testing so that builds and tests pass

See merge request susurrus/serialport-rs!27

97a1860b365a1f7f595fe6c385e677f17aa84339 authored almost 7 years ago by Bryant <[email protected]>
Update CI testing so that builds and tests pass

Recent updates put the minimum supported Rust version at 1.13, so
this commit primarily updates ...

426f5ea3e255f29c9759ff089ecaf53c7d1e063a authored almost 7 years ago by Bryant Mairs <[email protected]>
Merge branch 'clipped' into 'master'

Make integer literals more readable

See merge request susurrus/serialport-rs!23

6d20f4d09f485870a1520162e0984f54a24a9223 authored almost 7 years ago by Bryant <[email protected]>
Enforce lossless cast to i64

6be75999b6ce28bfb591aefebe70553f38393dcf authored almost 7 years ago by Bryant Mairs <[email protected]>
Remove unnecessary closure

003b62406fbc7276cb9c41faa0c1cf7d153fb0f8 authored almost 7 years ago by Bryant Mairs <[email protected]>
Unify identical match arms

8de53dba37ec4e0ef3ba47e1aa0493eed5eff304 authored almost 7 years ago by Bryant Mairs <[email protected]>
Remove unnecessary .into()

41b896f8242c88437a9a25e6cd19978e4930ed70 authored almost 7 years ago by Bryant Mairs <[email protected]>
Fail CI when Clippy errors

babba50685607133d4760b359ecb9a7d0adcadba authored almost 7 years ago by Bryant Mairs <[email protected]>
Make integer literals more readable

f0d8b3434f6b1a62fb63bb94c90cbba6bd68d19b authored almost 7 years ago by Bryant Mairs <[email protected]>
Clarify the true home of serialport-rs

b8bc6961ee233865e01b2bb7fb8a08aee2c0740b authored almost 7 years ago by Bryant Mairs <[email protected]>
Merge branch 'nix' into 'master'

Update constants namespaces used by nix

Closes #30

See merge request susurrus/serialport-rs!19

ad8304afae59b6d907f86b795e9436524c19d744 authored almost 7 years ago by Bryant <[email protected]>
(CI) test against version 1.20 instead of 1.13 and use official rust docker images (fixes #30)

cf0b29368c94d1436d2d4094e2daafc13cff296b authored almost 7 years ago by Nicolas Dusart <[email protected]>
Update constants namespaces used by nix

089b25bdb82db174972b971dc32d6a16af6a357d authored almost 7 years ago by Nicolas Dusart <[email protected]>
Fix documentation link

60da56d6d310d520c5307b249109b83f20f920e7 authored almost 7 years ago by Bryant Mairs <[email protected]>
Fix Travis CI badge

9b39bc7927c7a87326c828ac3538d9e68b687a33 authored almost 7 years ago by Bryant Mairs <[email protected]>
(cargo-release) start next development iteration 2.0.1-alpha.0

c06fc2dbabf2b81143355e126bab51d012c9ccaa authored almost 7 years ago by Bryant Mairs <[email protected]>
(cargo-release) version 2.0.0

93a6d8b494062d067172ff7c4d923810efdf33f3 authored almost 7 years ago by Bryant Mairs <[email protected]>
Use now-released winapi 0.3

a6f7f0239ae58ad081f8037acad5a4a87d9b65ee authored almost 7 years ago by Bryant Mairs <[email protected]>
Update CHANGELOG for 2.0 release

2dea357293bd1af7b520556b4d3b9c5877e9403b authored almost 7 years ago by Bryant Mairs <[email protected]>
Minor README cleanup

ef3979a1059aea25871af91c863e89cdeb3c922e authored almost 7 years ago by Bryant Mairs <[email protected]>
Fix up README and migrate to Markdown

This makes it render nicely on docs.rs

c380b9c70245d9053714fd5b904c0cb99a018115 authored almost 7 years ago by Bryant Mairs <[email protected]>
Merge branch 'ci-clippy' into 'master'

Fix clippy CI job

See merge request susurrus/serialport-rs!21

7cee364e7d133290e5d5bd60e029e8c1b6e3bcc3 authored almost 7 years ago by Bryant <[email protected]>
fix the clippy job

`cargo update` cannot be present in `before_script` as
`cargo` is not always already available i...

d4cf8275fe66d7bac3edf18db62725c02460a745 authored almost 7 years ago by Nicolas Dusart <[email protected]>
Merge branch 'fix_nix' into 'master'

Use specific nix version

See merge request susurrus/serialport-rs!22

89835c3eeaf69d7da05dcba51db895fd63112a2f authored almost 7 years ago by Bryant <[email protected]>
Use specific nix version

Now that necessary changes in nix have been released in 0.9,
use that specific version rather th...

23260ea5d8860088d23a55d9cfa920a0044be598 authored almost 7 years ago by Bryant Mairs <[email protected]>
Cleanup BaudRate imports

63b36a2b0d4194ee7b85016a16be7360f45279b3 authored about 7 years ago by Bryant Mairs <[email protected]>
Merge branch 'ioctl' into 'master'

Remove Ioctl-rs dependency

Closes #24

See merge request !17

1e59e8b0cfc0ee5dc9742b89046aabca4c7911e5 authored about 7 years ago by Bryant <[email protected]>
Merge branch 'set_all' into 'master'

only call `tcsetattr` and `tcflush` once in `set_all`

Closes #3

See merge request !18

d73d11b1b9e441feb2b970633d7e842970131096 authored about 7 years ago by Bryant <[email protected]>
only call `write_settings` once in `set_all`

c1968915307eeb79e94fd9f193d529b6272b3ea0 authored about 7 years ago by Nicolas Dusart <[email protected]>
Replace ioctl-rs dependency with local functions

That crate is effectively unmaintained and the ioctl! macro provided by
nix and the constants al...

d7421fd13fb6045851d8027b4b6c915dcf271701 authored about 7 years ago by Bryant Mairs <[email protected]>
Merge branch 'android' into 'master'

Android support

See merge request !15

fa742edd84e1dd573fd0a4bbb9c046d14f116023 authored about 7 years ago by Bryant <[email protected]>
support Android

17f66eb7994d00ab652edf8e5447297cdcec1a03 authored about 7 years ago by Nicolas Dusart <[email protected]>
Correct misspelling

42d5af7e5bdfe3b6418b7f3b8b51e0d3834b83d4 authored over 7 years ago by Bryant Mairs <[email protected]>
Merge branch 'remove_libc' into 'master'

Remove libc

See merge request !14

66c289f4f6e0c0349846ac695c3d9f83c67142f9 authored over 7 years ago by Bryant <[email protected]>