Loading
Commits on Source 94
-
Bryant Mairs authored
-
-
Bryant Mairs authored
Update README's 'Dependencies' section See merge request susurrus/serialport-rs!68
-
-
Bryant Mairs authored
Remove warnings See merge request susurrus/serialport-rs!67
-
Bryant Mairs authored
-
Bryant Mairs authored
-
Bryant Mairs authored
Add tcsendbreak support for TTY ports Closes #62 See merge request susurrus/serialport-rs!69
-
Bryant Mairs authored
See #61 for details.
-
Bryant Mairs authored
-
Bryant Mairs authored
Both for MUSL targets and for standard Linux targets that have libudev disabled, fall back to a basic port enumeration technique.
-
Bryant Mairs authored
-
Bryant Mairs authored
Implement available_ports() for the remaining Linux targets Closes #63 See merge request susurrus/serialport-rs!72
-
Christian Schwarz authored
-
Bryant Mairs authored
fix unsafe conversion of &DCB to *mut DCB See merge request susurrus/serialport-rs!75
-
-
-
Bryant Mairs authored
-
Bryant Mairs authored
Accessing ports that are disconnected can result in ENOENT errors. Additionally, if the user doesn't have permissions to open a port, EACCES can be triggered. These were previously exposed as Unknown errors, which made it harder to give downstream users good error messages, so explicitly expose these.
-
Bryant Mairs authored
Expose more errors to users Closes #69 See merge request susurrus/serialport-rs!80
-
Bryant Mairs authored
-
Bryant Mairs authored
This changes no functionality but makes reading the code for enumeration or port creation a little easier to read.
-
Bryant Mairs authored
Not certain if I actually prefer this, but it was inconsistent before and so I just went with this preference.
-
Bryant Mairs authored
-
Bryant Mairs authored
There is only 1 element on Windows and 2 on POSIX, so it doesn't make sense to expose these submodules to users.
-
Bryant Mairs authored
These aren't well supported by Rust anymore and should have a tiny userbase, so this shouldn't have much impact
-
Bryant Mairs authored
-
Bryant Mairs authored
There are really only two supported targets: ones that build and test in CI and those that are only built in CI. With 1.42 Rust dropped support for 32-bit Apple targets. And this list wasn't accurate with what was being done in CI. So this commit reconciles this.
-
Bryant Mairs authored
Refactor code organization See merge request susurrus/serialport-rs!81
-
Bryant Mairs authored
Doable now since serialport is a Rust2018 project. Also reorganized imports to a std, 3rd-party, 1st-party organization that seems to be a best practice.
-
Bryant Mairs authored
serialport is too simple of a library with a flat hierarchy that the prelude seems unnecessary, so I'm removing it. Either import types explicitly or replace with `use serialport::*`.
-
Bryant Mairs authored
Remove the prelude See merge request susurrus/serialport-rs!82
-
Bryant Mairs authored
-
Bryant Mairs authored
Add minimal crate version testing See merge request susurrus/serialport-rs!84
-
Bryant Mairs authored
-
Bryant Mairs authored
-
Bryant Mairs authored
-
Bryant Mairs authored
-
Bryant Mairs authored
-
Bryant Mairs authored
-
Bryant Mairs authored
-
Bryant Mairs authored
-
Bryant Mairs authored
-
Bryant Mairs authored
-
Bryant Mairs authored
Use nightly Clippy and rustfmt. And have Clippy run on code for all targets and all features.
-
Bryant Mairs authored
-
Bryant Mairs authored
-
Bryant Mairs authored
Replace C-style struct constructors with builder pattern Closes #64 See merge request susurrus/serialport-rs!73
-
Bryant Mairs authored
-
Bryant Mairs authored
-
Bryant Mairs authored
Add try_clone_native() Closes #73 See merge request susurrus/serialport-rs!85
-
Niklas Cathor authored
For "manufacturer" and "product" info, use ID_VENDOR_FROM_DATABASE and ID_MODEL_FROM_DATABASE respectively, instead of ID_VENDOR / ID_MODEL. When those strings are not available (e.g. due to old udev version), fall back to the simple version. This mirrors the behavior of other tools, such as `lsusb`.
-
Bryant Mairs authored
USB port detection through udev: prefer ID_*_FROM_DATABASE strings See merge request susurrus/serialport-rs!86
-
Rust 2018 style macro imports aren't supported by earlier versions of bitflags. Without this some builds would fail unless `cargo update` was run first.
-
Bryant Mairs authored
Require bitflags >= 1.0.4 See merge request susurrus/serialport-rs!83
-
William Saylor authored
-
Wayne Campbell authored
-
Wayne Campbell authored
-
Bryant Mairs authored
Fixes #79
-
Bryant Mairs authored
Split up functions so that initialization uses a minimal number of syscalls
-
Bryant Mairs authored
-
Bryant Mairs authored
Apply port settings on initialization Closes #88 See merge request susurrus/serialport-rs!94
-
Bryant Mairs authored
-
Bryant Mairs authored
This removes the need for cloning my repos to GitHub to use Travis CI.
-
Bryant Mairs authored
Migrate Mac OS builds to AppVeyor See merge request susurrus/serialport-rs!96
-
Bryant Mairs authored
-
Bryant Mairs authored
-
Bryant Mairs authored
-
Bryant Mairs authored
Fix test failures on Mac See merge request susurrus/serialport-rs!95
-
Bryant Mairs authored
Windows and POSIX systems expose a similar API for setting and clearing a break condition. This exposes it through the cross- platform SerialPort trait.
-
Bryant Mairs authored
Add `set_break` and `clear_break` for SerialPort Closes #62 See merge request susurrus/serialport-rs!70
-
Bryant Mairs authored
[POSIX] Get rid of heap allocation in wait_fd See merge request susurrus/serialport-rs!92
-
Bryant Mairs authored
-
Bryant Mairs authored
Marking ports as exclusive breaks usage on WSL/WSL2 and isn't strictly necessary to open a port. Since TTYPort::set_exclusive() exists, and can be done after opening the port, instead default to non-exclusive access.
-
Bryant Mairs authored
-
Bryant Mairs authored
Don't open POSIX ports in exclusive mode Closes #65 See merge request susurrus/serialport-rs!98
-
Bryant Mairs authored
-
Bryant Mairs authored
GitLab changed how they do badges and it didn't work anymore. Created the new one and the naming changed so updating it here in the docs
-
Bryant Mairs authored
This was an experiment in other markup languages. Markdown has won, however, and keeping this single document now that most other documentation is in markdown just doesn't make sense. Also found that the original Keep A Changelog template had links to each of the release versions in the version section headers, so added those in.
-
Bryant Mairs authored
-
Bryant Mairs authored
-
Bryant Mairs authored
-
Bryant Mairs authored
-
Bryant Mairs authored
-
Bryant Mairs authored
-
-
Bryant Mairs authored
Mimic DCB init of dotnet system.io.ports Closes #92 See merge request susurrus/serialport-rs!97
-
Bryant Mairs authored
Filed retep998/winapi-rs#973 in the hope that this ergonomic papercut might improve in the future
-
Bryant Mairs authored
-
Bryant Mairs authored
Dcb init fix See merge request susurrus/serialport-rs!100
-
Bryant Mairs authored
Since AppVeyor build failures will fail the GitLab builds, this badge is redundant and can make things look worse than they are, so just remove it entirely.
-
Bryant Mairs authored
-
Bryant Mairs authored
-
Bryant Mairs authored