Skip to content

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

Open
mustafasegf wants to merge 2 commits into
DzenanJupic:masterfrom
kambi-ng:stdout
Open

[DRAFT]: add option for writing to stdout#60
mustafasegf wants to merge 2 commits into
DzenanJupic:masterfrom
kambi-ng:stdout

Conversation

@mustafasegf

Copy link
Copy Markdown

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

mustafasegf commented Feb 10, 2023

Copy link
Copy Markdown
Author

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