Add lib.rs, scaffold testing

This commit is contained in:
Juno Takano 2025-12-14 19:00:57 -03:00
commit d9a6938eb6
11 changed files with 57 additions and 14 deletions

View file

@ -2,6 +2,7 @@ use axum::{body::Body, extract::Path, http::Response};
use crate::{formats::populate_graph, handlers, types::Node};
#[expect(clippy::unused_async)]
pub async fn node(Path(id): Path<String>) -> Response<Body> {
let mut context = tera::Context::new();