Wasm support and custom client #279
Replies: 7 comments 3 replies
-
Thanks for your interest in the project! As it's in maintenance mode, I will not implement new features but PRs are always welcome, too. This probably answers Regarding For I hope that helps. |
Beta Was this translation helpful? Give feedback.
-
Hello ! Yes it uses http-types 😉 And thank you so much for the link to next projects 😁 , I will continue my exploration ! |
Beta Was this translation helpful? Give feedback.
-
But I have one question by the way. Why do we need to generate the Apis instead of having ready to use libraries based on google documentation for implementation https://developers.google.com/youtube/v3/guides/implementation ? I am very fresh to this context and I am wondering 🤔 |
Beta Was this translation helpful? Give feedback.
-
I don't think I understand the question. What do you mean with 'ready to use libraries'?
Assuming you mean that libraries for other programming languages exist, then this project was created to do the same for Rust.
… On 19. Apr 2021, at 19:44, arn-the-long-beard ***@***.***> wrote:
But I have one question by the way. Why do we need to generate the Apis instead of having ready to use libraries?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#279 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAAPRBV6WWZCSQSQMEW6CNLTJQJQFANCNFSM43FNVLXA>.
|
Beta Was this translation helpful? Give feedback.
-
It's right. I recommend trying to ask for the feature over at the next generation or try to contribute it there. There is various generators even with this one maybe the most active. |
Beta Was this translation helpful? Give feedback.
-
@arn-the-long-beard did you get anywhere with replacing hyper with something that is a bit more wasm friendly? I am interested in whether I can get this library working as part of a Cloudfare worker... |
Beta Was this translation helpful? Give feedback.
-
Hey @allsey87 😄 Thank you for your message. Well, my programmings skills are not gonna get improved because I am moving to more project management and less coding. I created a Youtube Api in Rust-Wasm because I do not need the other google Apis for now. This is how I end up with a solution for now, staying simple and scope & focus only on the part of the Api I needed. Unfortunately I did not spend more time on this repository specifically because it would have been to difficult for me to make any change for wasm compatibility. The Youtube api I have is only for the framework https://github.com/seed-rs/seed . |
Beta Was this translation helpful? Give feedback.
-
Hello guys !
First thank you so much for your awesome package of generated Apis with Rust ❤️ . That is gonna be so useful 😁 .
But I was wondering about some ideas regarding the support for WASM. I actually do need to use a custom web client instead of hyper for requesting data. I do not wish to do it on backend because I am concerned for having way too much load on it. ( or is there some strategy for it ?)
I was wondering :
feature gate
for custom client for example to enable other clients to be used with the Api ( I am thinking for youtube Api in my case)Any advice would be welcome 😉 , I am not familiar with Apis right now, So that is a new world I am jumping in 😆 .
Beta Was this translation helpful? Give feedback.
All reactions