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
Applay rust fmt to all files
See merge request susurrus/serialport-rs!43
c8c7d928e1b0e694a6130ec6e25735272ac9eb2e authored over 6 years ago by Bryant <[email protected]>bf5efab1286ad49cc174fe527ddb2c43ba66d5ef authored over 6 years ago by Sylwester Rąpała <[email protected]>
As of Rust 1.17 field names aren't required when the variable used
as the value for that field m...
Looks silly in the docs if you don't have it. Also makes it harder
for implementors as they have...
Rename `SerialPort::port_name()` to `name()`
Closes #36
See merge request susurrus/serialport-...
8f0ee9d6176c42d449c0701ec7d3e7df26ea6d7d authored over 6 years ago by Bryant <[email protected]>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]>
This functionality hasn't been merged yet (see !30), so testing it
now always results in failure...
The "port_" portion was almost always redundant with the variable
name this method was being cal...
63b9bb64d516f62d2a8225f1e01fb70c6fc3fd5e authored over 6 years ago by Dan Munckton <[email protected]>
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]>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]>
The core API still holds for Mac, but setting any non-standard baud
rates will result in an error.
Expand `hardware_check` example
See merge request susurrus/serialport-rs!38
44e26683e34b029f905c042eb2afabb6400b4803 authored over 6 years ago by Bryant <[email protected]>64636e1cdfa37605a5dd00f65d52adc71c9953d0 authored over 6 years ago by Bryant Mairs <[email protected]>
If no second port is passed, run only the tests for the first port.
Otherwise continue to run te...
affb14c777e3fb095c5bada56305152311422edc authored over 6 years ago by Bryant Mairs <[email protected]>
This doesn't seem to actually cause a bug, but it's definitely the
correct implementation.
This makes it easier to understand what the failure is, as tests for
each transmitter are done i...
Add builds for i686 Linux
Closes #6
See merge request susurrus/serialport-rs!37
27770e90f3b02da45784a54d26f424cdab59d922 authored over 6 years ago by Bryant <[email protected]>6c2746e313a9285ca4a57fd56b31a3d857fd2487 authored over 6 years ago by Bryant Mairs <[email protected]>
291c79facefd0291d50af0347358f05a8b82bdfa authored over 6 years ago by Bryant Mairs <[email protected]>
149575dd8d8f2f5ffadf9f3fbb62ef2223832778 authored over 6 years ago by Bryant Mairs <[email protected]>
ba3c192459517fa4d6b3e9736d70b28a54a065fa authored over 6 years ago by Bryant Mairs <[email protected]>
dd111f2c3defd58ffbc5ae24cf097dfc4e4ff78c authored over 6 years ago by Bryant Mairs <[email protected]>
1b426f5371f9e02b1e5068de238a9eddf2f4b7eb authored over 6 years ago by Bryant Mairs <[email protected]>
Use read_exact instead of a single read to overcome issues with
buffering
Remove settings caching for all SerialPort-implementatng types
See merge request susurrus/seria...
60fbc79b6b1ef2ffdd6d5a489c86f70ea4eb5461 authored over 6 years ago by Bryant <[email protected]>64397a7d7725c9248e655bfb1f6f37e3bb1f5c56 authored over 6 years ago by Bryant Mairs <[email protected]>
809f25b8a187ba42722fe5e115c3ea3599c8bed4 authored over 6 years ago by Bryant Mairs <[email protected]>
There's little reason for this from a performance standpoint and
it can result in problems when ...
This doesn't work well with and likely gives
only a small performance win. The functions that t...
Refactor tests for try_clone
See merge request susurrus/serialport-rs!34
64be1c094674cc803c014d802572a4df4ea84565 authored over 6 years ago by Bryant <[email protected]>Into raw fd
See merge request susurrus/serialport-rs!35
1c959cb76ecebe1f1298c62410b73c702cb9da18 authored over 6 years ago by Bryant <[email protected]>
The initial implementation was actually broken as `drop()` will
still be called on the port. Thi...
The timeout setting looked incorrect in `TTYPort::open()`, which
was confusing when going throug...
The try clone tests were failing on some platforms, so simplify
them a bit. Primarily remove unn...
b58b459564725f0c5422dc4eab66def6e877e26a authored over 6 years ago by Bryant Mairs <[email protected]>
Add `SerialPort::try_clone`.
See merge request susurrus/serialport-rs!20
4317c7e10f009139c6f19d856683547fe11e2035 authored over 6 years ago by Bryant <[email protected]>to clone the underlying structure of a serial port to allow full duplex
read/write.
Added `exampl...
Add hardware diagnostic example
See merge request susurrus/serialport-rs!33
e4ae780a0bfe47cdcb60952a94711e568d849197 authored over 6 years ago by Bryant <[email protected]>
This example tests physical ports for failures when configuring
them or transmitting data throug...
cac64fa809c4ca58485708302f99829087d82c60 authored over 6 years ago by Bryant Mairs <[email protected]>
302813688a9d4bc5555cfc50f32c96bbef31142a authored over 6 years ago by Bryant Mairs <[email protected]>
418238a25e1964502c18de7f1cd0160d52f7a44d authored over 6 years ago by Bryant Mairs <[email protected]>
cacdbad47354c18cf812a2d95d5377f30edd7d6f authored over 6 years ago by Bryant Mairs <[email protected]>
Platform fixes
See merge request susurrus/serialport-rs!32
546c50e95259cbf9cb370b908d46b7d386dd4a15 authored over 6 years ago by Bryant <[email protected]>
Because `ptsname()` is not threadsafe, it's not safe to run multiple
tests calling `TTYPort::pai...
The default timeout is 1ms, which leads to spurious failures
on tests within the Travis CI Mac e...
14b434835e28df5b2d9037eb9a0327ffc5acaa6c authored over 6 years ago by Bryant Mairs <[email protected]>
dfe04fdc278130f68bca8054002b602b0794f4e0 authored over 6 years ago by Bryant Mairs <[email protected]>
Rather than using BaudOther(*)
d25247388a056d2cdc781c505223a9ce7169441f authored over 6 years ago by Bryant Mairs <[email protected]>fcb981cafda7b2157452d1bd52651a6f914f5f7b authored over 6 years ago by Bryant Mairs <[email protected]>
This constant is missing from libc, so it breaks compilation.
6c7d92d52bb90fbb9e2d4e2c1cc372a91b585ea5 authored over 6 years ago by Bryant Mairs <[email protected]>5b9cb4a71d3d3264d3f435893958e078460a5f80 authored over 6 years ago by Bryant Mairs <[email protected]>
71129ca478d4c02b887f65f8376e2632f3ba4c62 authored over 6 years ago by Bryant Mairs <[email protected]>
Enable more unused lints
See merge request susurrus/serialport-rs!28
a62ff0e8ee3188b6f29135e9e48d8c62b3847640 authored over 6 years ago by Bryant <[email protected]>3b217797de8d2fc9f0ce9f5742a68b5c38d5a457 authored over 6 years ago by Bryant Mairs <[email protected]>
96e27c594c09639b8e0af1ea05be7f14aaf302e3 authored over 6 years ago by Bryant Mairs <[email protected]>
This breaks out most IO errors such that they can be detected
instead of being mapped to `Unknow...
63e197eb8c00be1ffa428fa6587f973eba82129a authored over 6 years ago by Kjetil Kjeka <[email protected]>
8324106e278e4da3e179c00a6bd6bbbde4822ce2 authored almost 7 years ago by Bryant Mairs <[email protected]>
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]>4bcbc67be4152b19c4adcaa3a0ad8cdb71127877 authored almost 7 years ago by Nicolas Dusart <[email protected]>
d3f0e7c9b5e71a75fb8633af477d76dc23c9969e authored almost 7 years ago by Bryant Mairs <[email protected]>
Fixes for OS X
Closes #31
See merge request susurrus/serialport-rs!26
b1f557b780dc0b1f74e97a0048a44e09e4b7365e authored almost 7 years ago by Bryant <[email protected]>
OS X makes the distinction between RS232 and Modem
serial port types. Previously we only searche...
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]>
Recent updates put the minimum supported Rust version at 1.13, so
this commit primarily updates ...
Make integer literals more readable
See merge request susurrus/serialport-rs!23
6d20f4d09f485870a1520162e0984f54a24a9223 authored almost 7 years ago by Bryant <[email protected]>6be75999b6ce28bfb591aefebe70553f38393dcf authored almost 7 years ago by Bryant Mairs <[email protected]>
003b62406fbc7276cb9c41faa0c1cf7d153fb0f8 authored almost 7 years ago by Bryant Mairs <[email protected]>
8de53dba37ec4e0ef3ba47e1aa0493eed5eff304 authored almost 7 years ago by Bryant Mairs <[email protected]>
41b896f8242c88437a9a25e6cd19978e4930ed70 authored almost 7 years ago by Bryant Mairs <[email protected]>
babba50685607133d4760b359ecb9a7d0adcadba authored almost 7 years ago by Bryant Mairs <[email protected]>
f0d8b3434f6b1a62fb63bb94c90cbba6bd68d19b authored almost 7 years ago by Bryant Mairs <[email protected]>
b8bc6961ee233865e01b2bb7fb8a08aee2c0740b authored almost 7 years ago by Bryant Mairs <[email protected]>
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]>cf0b29368c94d1436d2d4094e2daafc13cff296b authored almost 7 years ago by Nicolas Dusart <[email protected]>
089b25bdb82db174972b971dc32d6a16af6a357d authored almost 7 years ago by Nicolas Dusart <[email protected]>
60da56d6d310d520c5307b249109b83f20f920e7 authored almost 7 years ago by Bryant Mairs <[email protected]>
9b39bc7927c7a87326c828ac3538d9e68b687a33 authored almost 7 years ago by Bryant Mairs <[email protected]>
c06fc2dbabf2b81143355e126bab51d012c9ccaa authored almost 7 years ago by Bryant Mairs <[email protected]>
93a6d8b494062d067172ff7c4d923810efdf33f3 authored almost 7 years ago by Bryant Mairs <[email protected]>
a6f7f0239ae58ad081f8037acad5a4a87d9b65ee authored almost 7 years ago by Bryant Mairs <[email protected]>
2dea357293bd1af7b520556b4d3b9c5877e9403b authored almost 7 years ago by Bryant Mairs <[email protected]>
ef3979a1059aea25871af91c863e89cdeb3c922e authored almost 7 years ago by Bryant Mairs <[email protected]>
This makes it render nicely on docs.rs
c380b9c70245d9053714fd5b904c0cb99a018115 authored almost 7 years ago by Bryant Mairs <[email protected]>Fix clippy CI job
See merge request susurrus/serialport-rs!21
7cee364e7d133290e5d5bd60e029e8c1b6e3bcc3 authored almost 7 years ago by Bryant <[email protected]>
`cargo update` cannot be present in `before_script` as
`cargo` is not always already available i...
Use specific nix version
See merge request susurrus/serialport-rs!22
89835c3eeaf69d7da05dcba51db895fd63112a2f authored almost 7 years ago by Bryant <[email protected]>
Now that necessary changes in nix have been released in 0.9,
use that specific version rather th...
63b36a2b0d4194ee7b85016a16be7360f45279b3 authored about 7 years ago by Bryant Mairs <[email protected]>
Remove Ioctl-rs dependency
Closes #24
See merge request !17
1e59e8b0cfc0ee5dc9742b89046aabca4c7911e5 authored about 7 years ago by Bryant <[email protected]>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]>c1968915307eeb79e94fd9f193d529b6272b3ea0 authored about 7 years ago by Nicolas Dusart <[email protected]>
That crate is effectively unmaintained and the ioctl! macro provided by
nix and the constants al...
Android support
See merge request !15
fa742edd84e1dd573fd0a4bbb9c046d14f116023 authored about 7 years ago by Bryant <[email protected]>17f66eb7994d00ab652edf8e5447297cdcec1a03 authored about 7 years ago by Nicolas Dusart <[email protected]>
42d5af7e5bdfe3b6418b7f3b8b51e0d3834b83d4 authored over 7 years ago by Bryant Mairs <[email protected]>
Remove libc
See merge request !14
66c289f4f6e0c0349846ac695c3d9f83c67142f9 authored over 7 years ago by Bryant <[email protected]>