Crates.io | hello_world_tool |
lib.rs | hello_world_tool |
version | 0.1.4 |
source | src |
created_at | 2024-06-04 20:03:07.534633 |
updated_at | 2024-06-05 03:08:40.746161 |
description | An agent tool for a hello world axum server |
homepage | |
repository | https://github.com/kodylow/hello_world_tool |
max_upload_size | |
id | 1262019 |
size | 41,006 |
This repository contains a simple web server implemented using the Axum framework, designed to serve a basic "Hello, World!" response. It is intended for use by agents who require a straightforward example of an Axum server setup that they can add endpoints to.
The server is set up to listen on port 3000
and responds with "Hello, World!" to any requests to the root URL (/
). This example is particularly useful for understanding the basics of setting up an HTTP server with Axum and handling simple get requests.
To run the server, follow these steps:
cargo run
in the project directory