I'm working on self portal using rust and HTTP. However I'm getting below error while importing Server I'm using full features in dependency. I tried many ways to import like use hyper::{Body, Request, Response, Server}; but no luck

use hyper::server::Server;
  |     ^^^^^^^^^^^^^^^^^^^^^ no `Server` in `server`

Here are dependency

hyper = { version = "^1.0.1", features = ["full"]}
serde = { version = "^1.0.203", features = ["derive"] }
serde_derive = "^1.0.203"
serde_json = { version = "^1.0.133", features = ["raw_value"] }
serde_with = { version = "^3.8.2", features = ["chrono"] }

here is my main.rs

use axum::{
    extract::Form,
    response::{Html, Redirect},
    routing::{get, post},
    Router,
    Extension,
};
use hyper::server::Server;
use serde::Deserialize;
use std::net::SocketAddr;
use tera::{Context, Tera};

#[derive(Deserialize)]
struct CreateDagForm {
    dag_name: String,
    schedule: String,
}

async fn show_base(Extension(tera): Extension<Tera>) -> Html<String> {
    let rendered = tera.render("base.html", &Context::new()).unwrap();
    Html(rendered)
}

async fn create_dag(Form(form): Form<CreateDagForm>) -> Redirect {
    println!("Received DAG: Name = {}, Schedule = {}", form.dag_name, form.schedule);
    Redirect::to("/")
}

#[tokio::main]
async fn main() {
    let tera = Tera::new("templates/**/*").expect("Failed to initialize Tera");

    let app = Router::new()
        .route("/", get(show_base))
        .route("/create_dag", post(create_dag))
        .layer(Extension(tera));

    let addr = SocketAddr::from(([127, 0, 0, 1], 3000));
    println!("Server running at http://{}", addr);

     Server::bind(&addr)
        .serve(app.into_make_service())
        .await
        .unwrap();
}

i tried many ways like below

let Server = hyper::server::Server::bind(&addr)
        .serve(app.into_make_service())
        .await
        .unwrap();

but I'm getting same error

unresolved import `hyper::server::Server`
 --> src/main.rs:8:5
  |
8 | use hyper::server::Server;
  |     ^^^^^^^^^^^^^^^^^^^^^ no `Server` in `server`

Source: View source