web-service-files-axum-1.1.0 is not a library.
Web service files axum
documentation • source • llms.txt • crate • email
Web service that serves files using Axum, Tokio, Rust.
This is a very simple web service that we use for testing our systems.
Steps
Run the service using the default address 0.0.0.0:8080:
You can browse files by name…
Browse https://localhost:8080/index.html
Browse https://localhost:8080/index.txt
Browse https://localhost:8080/index.json
You should see a response that shows the file contents.
Options
Run the service using an environment variable for a custom bind address:
Run the service using environment variables for a custom host and port:
References
Based on free open source software Demo Rust Axum.