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

impl SerialPort for &mut T

This allows a `&mut T` (where `T: SerialPort`) to be used in a context
where `impl SerialPort` i...

5c44f4e04360fd292f36a4759310c0076b8a4616 authored over 2 years ago by Cliff L. Biffle <[email protected]>
Update README to mention the fork

b3c7dd454b69ec8933499b7009267d7b22df8659 authored over 2 years ago by Jesse Braham <[email protected]>
Translate GitLab CI and Appveyor configuration to GitHub workflows

Currently only running lint and Tier 1 build jobs

66576d33696e2a45006007e14540056a62bd0b27 authored over 2 years ago by Jesse Braham <[email protected]>
lib: Remove prelude from Feature Overview

prelude is removed by the commit f7ea3d50d9ebf055 before v4.0.0.
Fix the document as well.

This...

f2080dc3ca75cb722f13e8521c3327e0bc97990a authored over 2 years ago by Yasushi SHOJI <[email protected]>
Update nix dependency to v0.23.x

904ddb35d3f45cfffa71379d995663eb7428b587 authored over 2 years ago by Markus Kohlhase <[email protected]>
remove import

ec864c4f8f04c70be3da3ecc0a92e46e554ff8c2 authored over 2 years ago by Anatol Ulrich <[email protected]>
add support for recent macos versions

51d245a2e9ce01123268021c1ea3978ca01dd924 authored over 2 years ago by Anatol Ulrich <[email protected]>
only import os_version on macos/ios

d37b014efac25e13a24bfaccd250c0333fd9b1fa authored over 2 years ago by Anatol Ulrich <[email protected]>
more robust + simple logic

47e7b28dc8f1f5ce2c47a7b4c8f363329d0a544e authored over 2 years ago by Anatol Ulrich <[email protected]>
Update dependencies

fe7c3ee8096b11ace0c6783ba5e87a8b3fd41849 authored over 2 years ago by Jesse Braham <[email protected]>
Merge branch 'fix-new' into 'master'

Fix syntax highlighting in ::new()

See merge request susurrus/serialport-rs!111

e4c5cb92f5091c26d6d7f24eaffee9c6bc56dd79 authored almost 3 years ago by Bryant <[email protected]>
Merge branch 'gitignore-emacs-backup' into 'master'

.gitignore: Add Emacs backfile

See merge request susurrus/serialport-rs!109

44bec62e4007199d6b16421cf61130481ef12030 authored almost 3 years ago by Bryant <[email protected]>
Merge branch 'barbeque-master-patch-40844' into 'master'

Update platforms.md

See merge request susurrus/serialport-rs!106

2308f4a7c7ec5276bbaa91193687c2ed5e339a74 authored almost 3 years ago by Bryant <[email protected]>
Fix syntax highlighting in ::new()

0efa45e7bf070588880d7998f2f96aa7e9593755 authored about 3 years ago by ratijas <[email protected]>
.gitignore: Add Emacs backfile

Emacs creates *~ as a backup file. Ignore them.

Signed-off-by: Yasushi SHOJI <yashi@spacecubic...

02d2de843046633b903b66ba42dfa49418e0a1db authored about 3 years ago by Yasushi SHOJI <[email protected]>
Update platforms.md

cf75ad305bc33f501baeb50269dd6f15b8775c70 authored about 3 years ago by barbeque <[email protected]>
Prep readme for new development and fix links

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

2396f21d401040e5a4252529a0aa88701299fef7 authored over 3 years ago by Bryant Mairs <[email protected]>
(cargo-release) version 4.0.1

d635ca05067910aed9aa1f13a6f0eac88caf5349 authored over 3 years ago by Bryant Mairs <[email protected]>
Update changelog

0d18a30b9475fbf2a56e9cb122385a588592ebdc authored over 3 years ago by Bryant Mairs <[email protected]>
Update status

4a4a5d995faadb560248fe92e5d2ed2493d0b7d8 authored over 3 years ago by Bryant Mairs <[email protected]>
Remove AppVeyor build badge

Since AppVeyor build failures will fail the GitLab builds, this badge is redundant
and can make ...

821cdf1aa6171fa4ce61127bdead86d0a74fe359 authored almost 4 years ago by Bryant Mairs <[email protected]>
Merge branch 'dcb_init_fix' into 'master'

Dcb init fix

See merge request susurrus/serialport-rs!100

f06434b730777d9159565b5fae861e58e7b678f6 authored almost 4 years ago by Bryant <[email protected]>
Fix invalid pointer

4620188f9048a6f7bc93b60743566e0fbc5c760f authored almost 4 years ago by Bryant Mairs <[email protected]>
Add casts to fix type errors

Filed retep998/winapi-rs#973 in the hope that this ergonomic papercut might improve in the future

a0d9838ad5ed744c3968c289515f1a1de82199a4 authored almost 4 years ago by Bryant Mairs <[email protected]>
Merge branch 'init-com-dcb' into 'master'

Mimic DCB init of dotnet system.io.ports

Closes #92

See merge request susurrus/serialport-rs!97

0739c97529480bc573a413e07b7a7dec9328d4c3 authored almost 4 years ago by Bryant <[email protected]>
initialize dcb struct on windows

957a83744ad3d410608b687a42fa6990be9e9f61 authored almost 4 years ago by Jan Lukas Gernert <[email protected]>
(cargo-release) start next development iteration 4.0.1-alpha.0

d38839141d75ec2ec539b135bd4ed2f39680bbd5 authored almost 4 years ago by Bryant Mairs <[email protected]>
(cargo-release) version 4.0.0

6426b273ea8136c8db9ef1300f0b59bb4aa71292 authored almost 4 years ago by Bryant Mairs <[email protected]>
Add useful references

41d41271e8392fa6a2470c69f0b6baeff2d2979d authored almost 4 years ago by Bryant Mairs <[email protected]>
Correct 4.0.0 release link

531b69d4941b3d35a056ecd78e8e524704a8a355 authored almost 4 years ago by Bryant Mairs <[email protected]>
Add more MR links to current version changelog

08149f18bdf49a356f8d79bfc4c7683f2b6bdec4 authored almost 4 years ago by Bryant Mairs <[email protected]>
Fix hyperlinks

9c62cffcbc0b3a65897bc36a0aeed01fd27644d1 authored almost 4 years ago by Bryant Mairs <[email protected]>
Switch CHANGELOG from asciidoc to markdown

This was an experiment in other markup languages. Markdown has won,
however, and keeping this si...

0e3c3e3ed2e1f6e47150a7f15d97d1310e2d4ec2 authored almost 4 years ago by Bryant Mairs <[email protected]>
Bring back the pipeline badge

GitLab changed how they do badges and it didn't work anymore. Created the new one
and the naming...

6c3405591501a58b73106a0f0eee63fde0618d7c authored almost 4 years ago by Bryant Mairs <[email protected]>
Merge branch 'wcampbell0x2a/serialport-rs-cleanup'

4277126667a75483400010bf068ee4b46df94700 authored almost 4 years ago by Bryant Mairs <[email protected]>
Merge branch 'non_exclusive' into 'master'

Don't open POSIX ports in exclusive mode

Closes #65

See merge request susurrus/serialport-rs!98

3b58178af8e1c8f64169c553c0ea9d83fde5ce13 authored almost 4 years ago by Bryant <[email protected]>
Clarify libudev header requirements

799b5e4ea7eb8920068f7ec35e9455733ce16b6a authored almost 4 years ago by Bryant <[email protected]>
Don't mark POSIX ports as exclusive by default

Marking ports as exclusive breaks usage on WSL/WSL2 and isn't strictly
necessary to open a port....

caca16c0300049e6fa2d03a373c399babdca02d8 authored almost 4 years ago by Bryant Mairs <[email protected]>
Simplify code using unwrap_or_else

dd0d73422c4483b9f5d61a64fac51033eb7e7de5 authored almost 4 years ago by Bryant Mairs <[email protected]>
Merge branch 'feature/wait_fd-no-malloc' into 'master'

[POSIX] Get rid of heap allocation in wait_fd

See merge request susurrus/serialport-rs!92

023cf2ca126d62ce737e5a877f32d209a05e1a97 authored almost 4 years ago by Bryant <[email protected]>
Merge branch 'xplatform_breaks' into 'master'

Add `set_break` and `clear_break` for SerialPort

Closes #62

See merge request susurrus/serialp...

0755bc300c4c7e34c0b1e6cc36379b556893148b authored almost 4 years ago by Bryant <[email protected]>
Added set_break and clear_break for SerialPort

Windows and POSIX systems expose a similar API for setting and
clearing a break condition. This ...

be920eee59a7fa5a9f3d1e15671e82268fc0bd03 authored almost 4 years ago by Bryant Mairs <[email protected]>
Merge branch 'issue_94' into 'master'

Fix test failures on Mac

See merge request susurrus/serialport-rs!95

daeaed8751b791db14c77e1854802f27d6cd28f3 authored almost 4 years ago by Bryant <[email protected]>
Ignore baud rate tests using ptys on Mac

5352d07803d039d96d96ecbc1b93fc8d3cecae0d authored almost 4 years ago by Bryant Mairs <[email protected]>
Run all tests even if one fails in CI

a218f5d8b611df527c467c79a0405a336002ae4e authored almost 4 years ago by Bryant Mairs <[email protected]>
Fix pair()

dbb0efda19a62a3fd55dd97ab54d39717e13de71 authored almost 4 years ago by Bryant Mairs <[email protected]>
Merge branch 'macos_appveyor' into 'master'

Migrate Mac OS builds to AppVeyor

See merge request susurrus/serialport-rs!96

42e06d7aa1de7f519d0683bd5ef8d547ef8f617f authored almost 4 years ago by Bryant <[email protected]>
Migrate Mac OS builds to AppVeyor

This removes the need for cloning my repos to GitHub to use Travis CI.

700bbd801dbfd63c06c3ad0589802b3ad81203c4 authored almost 4 years ago by Bryant Mairs <[email protected]>
Add features to heartbeat example and rename

e8affc0b54891c441452be06e29d2fdd919b6b73 authored almost 4 years ago by Bryant Mairs <[email protected]>
Merge branch 'fix_master' into 'master'

Apply port settings on initialization

Closes #88

See merge request susurrus/serialport-rs!94

38681ed97e53883b772a28cb261a6f38b3ce3a02 authored almost 4 years ago by Bryant <[email protected]>
Add some developer and testing notes

9dd6933c4a54f86e51062942715939e6ee02a339 authored almost 4 years ago by Bryant Mairs <[email protected]>
Apply port settings on initialization

Split up functions so that initialization uses a minimal number of syscalls

d45178d1512aa55b76be4b40724d4b965985185e authored almost 4 years ago by Bryant Mairs <[email protected]>
Detail how to close a port

Fixes #79

b77768a39d43fe975354200dbf708a7cb8276b78 authored almost 4 years ago by Bryant Mairs <[email protected]>
Use map_or()

bb61996f20117537d01140bc82f0c8e9ec9c7e1e authored about 4 years ago by wcampbell <[email protected]>
Use map_err() and map() for simplification

8460a8b6b680f77ae425e2e4446ee9d086a23882 authored about 4 years ago by wcampbell <[email protected]>
Remove unnecessary Vec usage

23de5311a2c7efd5390899c442e875ad0086e3a3 authored over 4 years ago by William Saylor <[email protected]>
Merge branch 'patch-1' into 'master'

Require bitflags >= 1.0.4

See merge request susurrus/serialport-rs!83

1383e3ebb8a4e34abc03f0518698552d892c548c authored over 4 years ago by Bryant <[email protected]>
Require bitflags >= 1.0.4

Rust 2018 style macro imports aren't supported by earlier versions of
bitflags. Without this som...

e6b710b1a2c5d70a2a832ec2893f5e69b0ca2dee authored over 4 years ago by Yavit <[email protected]>
Merge branch 'udev-strings-from-database' into 'master'

USB port detection through udev: prefer ID_*_FROM_DATABASE strings

See merge request susurrus/s...

d98cb67498202c8c842ad8cfae9980b9b8556f9d authored over 4 years ago by Bryant <[email protected]>
USB port detection through udev: prefer ID_*_FROM_DATABASE strings

For "manufacturer" and "product" info, use ID_VENDOR_FROM_DATABASE and
ID_MODEL_FROM_DATABASE re...

0c2d11d36d82a8905065ff45a0c8f7ef868cc835 authored over 4 years ago by Niklas Cathor <[email protected]>
Merge branch 'try_clone' into 'master'

Add try_clone_native()

Closes #73

See merge request susurrus/serialport-rs!85

20c2dac080f548c3896600ad9025c5cacb62c16f authored over 4 years ago by Bryant <[email protected]>
Add try_clone_native()

3e0bf5f3832d16809d1b4995e8c3d3ce4ae32963 authored over 4 years ago by Bryant Mairs <[email protected]>
Update CHANGELOG from vim Cargo.toml

cc7de61aca3bcef23b9769b0e1a0ce1b4abf9cba authored over 4 years ago by Bryant Mairs <[email protected]>
Merge branch 'builder_pattern' into 'master'

Replace C-style struct constructors with builder pattern

Closes #64

See merge request susurrus...

d67c08558303160d5d8e7df1480dcae6559120be authored over 4 years ago by Bryant <[email protected]>
Correct error message

17be61c978fd63bb1e49fa9bd9d8e0542df404d4 authored over 4 years ago by Bryant Mairs <[email protected]>
Compile tests and examples for additional targets

d2f142e248d1350df12575a4e66334159a61c2bc authored over 4 years ago by Bryant Mairs <[email protected]>
Simplify writing bytes in example

a634a37ddcb0902efa2630f0a410b4447b209805 authored over 4 years ago by Bryant Mairs <[email protected]>
Replace C-style struct constructors with builder pattern

95eb0609bc08d1e10a7ad067fa141bf6a9593b93 authored over 4 years ago by Bryant Mairs <[email protected]>
Make long constants easier to read

3ba0e0820e7a95353ee65296d63d7c15d0df7de5 authored over 4 years ago by Bryant Mairs <[email protected]>
Rework the readme and add basic usage examples

fcbaa0dbb1827bae19f2c8264e9dd69e0954a4a3 authored over 4 years ago by Bryant Mairs <[email protected]>
Ensure all bytes are written out

8fdaddc17d37fd4ecea792a4581c9ca3a8cdcba0 authored over 4 years ago by Bryant Mairs <[email protected]>
Remove redundant String::from()

f42da4a3cd2de7f51b4bcec01d82c11437ad649a authored over 4 years ago by Bryant Mairs <[email protected]>
Remove redundant match

40d5e9ce3b934de07129ec78ec3e4cf0a29d0677 authored over 4 years ago by Bryant Mairs <[email protected]>
Remove redundant into()

1f724c254a17565d8aac839f9cbae056ecf9a142 authored over 4 years ago by Bryant Mairs <[email protected]>
Remove unnecessary use statements

5818ed0265b0fb17b059a23da327fd5c58f540c2 authored over 4 years ago by Bryant Mairs <[email protected]>
Add high-level API tests

29fb3292b44cf3074a85af07775431a8d0c8370f authored over 4 years ago by Bryant Mairs <[email protected]>
Update CI lints

Use nightly Clippy and rustfmt. And have Clippy run on code for all
targets and all features.

bc5211281138421644988902e950d9728bd04e21 authored over 4 years ago by Bryant Mairs <[email protected]>
Merge branch 'minver-testing' into 'master'

Add minimal crate version testing

See merge request susurrus/serialport-rs!84

092e69c247f06b81f58a5c58625fcf7b7dce17fb authored over 4 years ago by Bryant <[email protected]>
Add minimal crate version testing

18a465d6ebf6b5c190e5427685ed77a6e62baca3 authored over 4 years ago by Bryant Mairs <[email protected]>
Merge branch 'no_prelude' into 'master'

Remove the prelude

See merge request susurrus/serialport-rs!82

40112e965024461df8c354e62e7c7135daa1593f authored over 4 years ago by Bryant <[email protected]>
Remove the prelude

serialport is too simple of a library with a flat hierarchy that the
prelude seems unnecessary, ...

f7ea3d50d9ebf05540cc76e3eac053eb5f713d10 authored over 4 years ago by Bryant Mairs <[email protected]>
Remove unnecessary 'extern crate's

Doable now since serialport is a Rust2018 project.

Also reorganized imports to a std, 3rd-party...

039884ef9093405f3303d3c33a48b67877a5e305 authored over 4 years ago by Bryant Mairs <[email protected]>
Merge branch 'reorg' into 'master'

Refactor code organization

See merge request susurrus/serialport-rs!81

9eedfd394bcd7034e492c9b1a371ab188ed38a34 authored over 4 years ago by Bryant <[email protected]>
Clarify supported targets

There are really only two supported targets: ones that build and test in CI
and those that are o...

3aa8e5161d3bcfbdcb7413ceefed5082a3e6026b authored over 4 years ago by Bryant Mairs <[email protected]>
Remove posix and windows submodules

There is only 1 element on Windows and 2 on POSIX, so it doesn't make sense to
expose these subm...

e45281ada73c10e2233228c4cc440a475f8c0e66 authored over 4 years ago by Bryant Mairs <[email protected]>
Remove Tier3 Apple platforms from CI

These aren't well supported by Rust anymore and should have a tiny userbase, so this
shouldn't h...

adaff8c1dd4ed2d67323d53591362f03d3b8edec authored over 4 years ago by Bryant Mairs <[email protected]>
Specify DISABLE_TESTS last

0d6a7fb37dc7212addc0c31d637998da8a51f928 authored over 4 years ago by Bryant Mairs <[email protected]>
Put comments before attributes

60b35a266cbecc55be889120be677a49facbf8fe authored over 4 years ago by Bryant Mairs <[email protected]>
Don't use periods for summary sentences

Not certain if I actually prefer this, but it was inconsistent before and so
I just went with th...

17f6db27f4d60b8e641e9c71a1a1b4046f9d8896 authored over 4 years ago by Bryant Mairs <[email protected]>
Break out enumeration code into a new module

This changes no functionality but makes reading the code for enumeration or port creation a litt...

125d32b6e49613e3c8b39fafbcface8f1413ed26 authored over 4 years ago by Bryant Mairs <[email protected]>
Minor formatting changes

aa20ac4e133710162e6aa46e4a30bfbb77819a24 authored over 4 years ago by Bryant Mairs <[email protected]>
Merge branch 'enoent' into 'master'

Expose more errors to users

Closes #69

See merge request susurrus/serialport-rs!80

2e0a39d558ae18d134883c408d70e821b861fc6c authored over 4 years ago by Bryant <[email protected]>
Expose more errors to users

Accessing ports that are disconnected can result in ENOENT errors. Additionally,
if the user doe...

d0febe7b9121b13e3296fcba93735610d1aa80f9 authored over 4 years ago by Bryant Mairs <[email protected]>
Merge branch 'Y0ba/serialport-rs-use_maybe_uninit'

e2a6d62636b761da6164e2295720aeb1cca67333 authored over 4 years ago by Bryant Mairs <[email protected]>
Fix get_dcb

d0c85c337541f5d3265d479b23d1501c6a380cce authored over 4 years ago by Y0ba <[email protected]>
Switch to MaybeUninit

ca329ca941e367b48c5739d87cd2ab034cab90f8 authored over 4 years ago by Y0ba <[email protected]>
Merge branch 'problame/windows-fix-unsafe-converions-of-dcb-refs-to-mut-ptr' into 'master'

fix unsafe conversion of &DCB to *mut DCB

See merge request susurrus/serialport-rs!75

04b6b5e93ee9528dccc0f7eae024e355a5e8e966 authored over 4 years ago by Bryant <[email protected]>
remove unsafe conversion of &DCB to *mut DCB

71522e909ddb74c6ce3dfd7478029b8d666b949e authored over 4 years ago by Christian Schwarz <[email protected]>
Merge branch 'musl_list_ports' into 'master'

Implement available_ports() for the remaining Linux targets

Closes #63

See merge request susur...

4aed726289165dc990fe075186abc0609ba74d7e authored almost 5 years ago by Bryant <[email protected]>