Comments (5)
Nice! Thanks. No worries about the response time; this week I merged a 3 year old PR into one of my project. It was so old that the author had deleted his branch and likely retired from his job.
I think this kind of thing (older compilers) will become more common as Rust becomes more popular and corporate. On this job, we need four different developer groups to approve an update to the compiler!
from serialport-rs.
Alternately reconsider the version = 2021
requirement.
The library itself seems to compile fine with rustc v1.46.0. The tests seem to use some newer features, going up to around v.154.0 (version 2018).
Considering this library is especially useful in Embedded Linux contexts, it would be really nice to keep the MSRV as old as reasonably possible without making things painful for yourselves. But certainly don't constrain it by artificially specifying a later version than is necessary.
By just changing the version in Cargo.toml
, it works for me with the latest Yocto:
edition = "2018"
#rust-version = "1.54"
from serialport-rs.
Thanks for this issue! Sorry for taking so long to get around to replying and for breaking compatibility, I didn't realize such relatively old versions of Rust were still commonly used 😁
I've reverted to the 2018 edition locally and fixed any clippy/other issues, so I will get that pushed and merged. I also plan to publish a new release of this library soon (this or next week) which will include these changes, so you should be able to use this newest version moving forward.
from serialport-rs.
I released 4.2.0
today which is now edition 2018 again, and includes the serde
PR.
from serialport-rs.
Nice! Thanks.
from serialport-rs.
Related Issues (20)
- windows: UsbPortInfo: Provide the same info about Manufacturer and Product name as POSIX HOT 2
- Auto reconnect HOT 1
- use read_to_end always return TimedOut err HOT 2
- Stuck when writing data to the serial port if paired port is not open [Windows 11] HOT 2
- USB ports detected as unknown in docker HOT 1
- Print to COM port via USB to SERIAL converter cable on Windows HOT 1
- Set a Custom Baudrate HOT 1
- Unplug serial device cause system shutdown on windows HOT 5
- Fast receive missing beginning of packet HOT 3
- Tracking issue for WebSerial support. HOT 1
- Can Add Mark and Space to Parity? HOT 1
- Configurable buffer size HOT 1
- Update dependency on nix to 0.28 HOT 3
- Potentially confusing read_exact timeout semantics HOT 1
- wrong serial number for FTDI modules ? HOT 1
- Timeout reading SerialUSB from Arduino DUE or GIGA HOT 3
- Outdated documentation for TTYPort HOT 2
- Opening a COM port on Windows fails HOT 5
- Cannot list virtual serial ports on Windows 10 HOT 3
- Data misread from serial adapter (serialport only) HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serialport-rs.