Initial commit.

This commit is contained in:
Nolan Darilek 2025-03-19 11:32:32 -05:00
commit 936ea3d853
40 changed files with 6851 additions and 0 deletions

7
server/Cargo.toml Normal file
View file

@ -0,0 +1,7 @@
[package]
name = "server"
version = "0.1.0"
edition = "2021"
[dependencies]
dioxus = { workspace = true, features = ["fullstack"] }

8
server/src/lib.rs Normal file
View file

@ -0,0 +1,8 @@
//! This crate contains all shared fullstack server functions.
use dioxus::prelude::*;
/// Echo the user input on the server.
#[server(Echo)]
pub async fn echo(input: String) -> Result<String, ServerFnError> {
Ok(input)
}