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

[DRAFT]: add option for writing to stdout #60

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

Conversation

mustafasegf
Copy link

right now this pr is a draft.

rustube right now only able to write to file. This pr added the ability to write to async write trait.

solves #59

@mustafasegf
Copy link
Author

mustafasegf commented Feb 10, 2023

this is more of a proof of concept (a working one). I do have some question regarding how to implement this. Since a lot of the function are tightly coupled to path, there's a lot of rewrite need to be done. Should i make another set of funtion just for writing to async write so the original public facing api doesnt change or should i rewrite it to use async write only, but we will loose the ability to give information about whre the file is donwloaded.

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.

1 participant