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

addon SDK based on the types crate #11

Closed
Ivshti opened this issue Feb 20, 2019 · 1 comment
Closed

addon SDK based on the types crate #11

Ivshti opened this issue Feb 20, 2019 · 1 comment

Comments

@Ivshti
Copy link
Member

Ivshti commented Feb 20, 2019

an addon SDK that's based on the types crate from this repo

it can use proc macro to allow compile time validation of certain constraints: e.g. a manifest that mentions meta resource means you always have to implement a handler, or vice versa (if you implement a handler you need to put it in the manifest)

while under the hood it'd be best to use hyper (cause, performance), the API should be similar to Rocket:
https://github.com/SergioBenitez/Rocket
https://rocket.rs/
https://www.youtube.com/watch?v=t_FUZ34ahBE

Something else which is super useful in Rocket is the error messages at compile time: it can even detect routing conflicts

@Ivshti Ivshti changed the title addon SDK based on this addon SDK based on the types crate Feb 20, 2019
@Ivshti
Copy link
Member Author

Ivshti commented Jul 27, 2019

closing in favor of #30 ; a full SDK might not be needed, just basic routing

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

No branches or pull requests

1 participant