Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
forked fromswlkr/ryde

ryde is a single person, single file web development library for rust

License

NotificationsYou must be signed in to change notification settings

afiqzx/ryde

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ryde is a single person, single file hypermedia web framework for rust

Install

cargo new your-projectcd your-projectcargo add ryde

Quickstart

Open up your-project/src/main.rs in your favorite editor

use ryde::*;#[router]fnrouter() ->Router{Router::new().route("/",get(get_slash))}#[main]asyncfnmain(){serve("::1:9001",router()).await}asyncfnget_slash() ->Html{html!{        <!DOCTYPE html>        <html>            <head>                <title>ryde with rust</title>            </head>            <body>                <div>you are here{url!(get_slash)}</div>            </body>        </html>}}

More examples

Clone the repo and check out the rest of examples!

About

ryde is a single person, single file web development library for rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust100.0%

[8]ページ先頭

©2009-2025 Movatter.jp