-
SummaryHello, I'm new to both Rust and Axum, and would appreciate some guidance. Goal:
Example Workflow:
Key Questions:
Are there any examples or crates that demonstrate similar functionality? Any examples or architectural advice would be very helpful! axum version0.8.4 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can use As for dynamically changing what is being served, I don't think we have anything to do that easily. If that makes sense to you, you can create a struct that implements |
Beta Was this translation helpful? Give feedback.
You can use
SeeveDir
for serving files.As for dynamically changing what is being served, I don't think we have anything to do that easily. If that makes sense to you, you can create a struct that implements
Service
that you can control from outside and then pass that toaxum::serve
and mutate it later. You might want to seeaxum::serve
andIntoMakeService
, but know that this will be a bit advanced.