ryde is a single person, single file hypermedia web framework for rust
MIT License
Bot releases are hidden (Show)
ryde
and ryde_macros
Here's a quick look:
use ryde::*;
routes!(
("/", get(get_slash)),
("/*files", get(get_files))
);
embed_static_files!("static");
#[main]
async fn main() {
serve("::1:9001", routes()).await
}
async fn get_slash() -> Html {
html! {
<!DOCTYPE html>
<html lang="en">
<head>
<title>ryde with rust</title>
{render_static_files!()}
</head>
<body>
<h1 class="text-2xl">ryde with rust</h1>
</body>
</html>
}
}
Full Changelog: https://github.com/swlkr/ryde/compare/0.1.3...0.3.0
Published by swlkr 7 months ago
replace
fn in html, kind of like an integrated htmx coming at some pointselect *
Full Changelog: https://github.com/swlkr/ryde/compare/0.1.2...0.1.3
Published by swlkr 7 months ago
Full Changelog: https://github.com/swlkr/ryde/commits/0.1.2
Forgot to update github releases.