From c99d1a231c2f3091c7c1314fef72a6503a305711 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rog=C3=A9rio=20Ara=C3=BAjo?= Date: Fri, 23 Jan 2026 10:10:11 -0300 Subject: [PATCH] docs: site fixes --- docs/index.md | 4 ++-- rustfmt.toml | 3 +++ src/lib.rs | 4 +++- 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 rustfmt.toml diff --git a/docs/index.md b/docs/index.md index 3eec2c8..534b9f4 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,8 +1,8 @@ --- layout: default -title: Sophia - A Rust HTTP Client +title: Sophia - The elegant full-stack web framework nav_order: 1 -description: "A straightforward, non-opinionated, developer-centric HTTP client library for Rust" +description: "🌟 The elegant full-stack web framework that makes Rust web development effortless" permalink: / ---
diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 0000000..2d2cb8a --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1,3 @@ +max_width = 100 +chain_width = 20 +use_small_heuristics = "Max" \ No newline at end of file diff --git a/src/lib.rs b/src/lib.rs index 3e75cc7..32e0c84 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -32,7 +32,9 @@ impl Sophia { let mut server = Vetis::new(config); - let result = server.run(handler).await; + let result = server + .run(handler) + .await; if let Err(e) = result { error!("Failed to start server: {}", e);