This commit is contained in:
2025-02-12 09:47:32 -05:00
commit d2e6c51073
13 changed files with 1332 additions and 0 deletions

14
examples/hello.rs Normal file
View File

@@ -0,0 +1,14 @@
// A very, very simple static composer example.
extern crate soda;
use soda::prelude::*;
#[tokio::main]
fn main() {
let app = PageBase("Test Page",
Tag::Heading1("hi!")
);
Server::new((0.0.0.0, 3000)).unwrap().serve(app).await;
}