kaj / ructe

Rust Compiled Templates with static-file handling
https://crates.io/crates/ructe
451 stars 33 forks source link

Rocket Support #32

Open bhansconnect opened 6 years ago

bhansconnect commented 6 years ago

It would be great if at some point ructe directly supported Rocket. It is a really nice rust web engine that is growing in popularity.

kaj commented 6 years ago

I agree (at least to the same degree as ructe supports e.g. warp, i.e. by providing an example. In the future I think actual feature flags should be provided for some common web frameworks).

I haven't actually used rocket myself, though. If you can provide an example as a PR I would be happy to merge it. Look at the other examples and how they are mentioned in .travis.yml. If not, maybe someone else who sees this issue can help out? I could probably do it myself, but I'm focusing on exploring warp at the moment (and I develop my rust projects in my spare time only).

hustcer commented 2 years ago

I need this feature too