-
Notifications
You must be signed in to change notification settings - Fork 9
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
Tokio integration #6
Comments
Bump, any updates on this? @little-dude's code is gone as well somewhere |
Oh thank you, forgive my laziness 😄 |
I'm glad if it's helpful :) |
I missed this issue. :/
Yes, that would be great! :) You may need to add a feature gate for the Tokio dependency, though. However, tty-rs is not MIT. ;) |
Oh, I hadn't noticed. If I use it as a dependency, I need to license my crate under GPL instead of MIT then, right? |
Hi,
I'm trying to write an expect crate. The problem is, I want non-blocking IO on the master pty, so that I can implement timeouts. For now, I copy-pasted the
TtyServer
implementation and made the tokio integration: https://github.com/little-dude/expect-rs/blob/master/src/pty.rs.Do you think this kind of stuff would be worth adding to
tty-rs
as a separte type, likeAsyncTtyServer
?Thanks for this crate, I learnt a lot just about ttys just by reading your code :)
The text was updated successfully, but these errors were encountered: