How can I tell rocket to only try and use the database connection on specific routes?

前端 未结 0 1350
予麋鹿
予麋鹿 2020-12-31 02:12

I have created a rocket.rs api on which a single route depends on a database. I want the api to run, even when the database connection is not available. When I use the examp

相关标签:
回答
  • 消灭零回复
提交回复
热议问题