From 8f7573385537afef089a8b66bdaa26417b8b4c6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rog=C3=A9rio=20Ara=C3=BAjo?= Date: Fri, 23 Jan 2026 18:06:47 -0300 Subject: [PATCH] docs: fix project name on README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8df3a7e..1cb177b 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ sofie = { version = "0.1.0", features = ["vetis"] } Here's how simple it is to create a web application with Sofie: ```rust -use sofie::Sofie; +use sofie::App; use http_body_util::{Full}; use bytes::Bytes; use hyper::Response; @@ -35,9 +35,9 @@ use hyper::Response; async fn main() -> Result<(), Box> { std_logger::Config::logfmt().init(); - let mut sophia = Sophia::new(config); + let mut app = App::new(); - sophia.serve(|_| async move { + app.serve(|_| async move { Ok(Response::new(Full::new(Bytes::from("Hello World")))) }).await?;