вот мой Cargo.Toml
Код: Выделить всё
[dependencies]
actix-web = "4"
handlebars = { version = "4.3.3", features = ["dir_source"] }
serde_json = "1.0.83"
actix-files = "0.6.2"
Код: Выделить всё
use actix_web::{get, App, web, HttpServer, HttpResponse, Responder};
use handlebars::{Handlebars};
use serde_json::json;
use std::sync::Arc;
use actix_web::web::{get, Data};
#[get("/")]
async fn hello(hb: web::Data
Подробнее здесь: [url]https://stackoverflow.com/questions/79478520/rust-actix-web-handler-not-implemented[/url]
Мобильная версия