Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use serial2 crate instead of serial #6411

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jeevithakannan2
Copy link

The serial crate is not maintained has heavy dependencies. An alternative to serial is serial2 an actively maintained crate.

Copy link
Owner

@wez wez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this!
It's currently breaking the API for existing consumers by removing some important configuration options, and we need to reconcile that.

If we cannot retain the current interface then we need to have a strategy and suggestion in place for users when they upgrade, and importantly, we need to bump the pty crate version to 0.9.0 to safely indicate that the API is not backwards compatible.

pty/src/serial.rs Outdated Show resolved Hide resolved
pty/src/serial.rs Outdated Show resolved Hide resolved
@jeevithakannan2
Copy link
Author

Thanks for this! It's currently breaking the API for existing consumers by removing some important configuration options, and we need to reconcile that.

Added API methods back now it should not the break the APIs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants