I think it would be pretty simple to get a Rocket app running under any kind of CGI by abusing the testing module. You can simply:
MockRequest from the environment.Response out.CGI doesn't fit well with Rocket's goals, so I don't see it being part of core. However, this would be a nice stand-alone library, or if it proves useful enough, part of contrib.
Closing this out. Feel free to reopen if you feel this is unanswered.
Not sure if would be better to document somewhere now or wait later and have a deploy guide once the dust is settled regarding what's the underlying http library.
@lu-zero I'm sorry, can you rephrase that? I'm not sure I understand.
I meant that might be a good idea to put somewhere in the documentation how to wire rocket to some kind of cgi or such. I assume people would have interest in fitting rocket in the existing infrastructure they already have.
Probably it isn't the top concern now given the discussions about using tokio, but one that part is settled it might be quite useful.