├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── workflows │ ├── clippy.yml │ └── test-lang-rust-audit.yml ├── .gitignore ├── .pre-commit-config.yaml ├── BUY-A-COFFEE.md ├── Cargo.toml ├── LICENSE ├── README.md ├── examples ├── README.md ├── chat-websocket │ ├── Cargo.toml │ ├── src │ │ ├── chat │ │ │ ├── domain.rs │ │ │ ├── handlers.rs │ │ │ └── mod.rs │ │ └── main.rs │ └── templates │ │ └── index.html ├── file-multipart-form │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── hello-world │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── multiple-routers │ ├── Cargo.toml │ └── src │ │ ├── main.rs │ │ ├── middlewares.rs │ │ ├── middlewares │ │ └── check_user.rs │ │ ├── routes.rs │ │ └── routes │ │ ├── about.rs │ │ ├── admin.rs │ │ └── article.rs ├── rate-limiter │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── redirect │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── shuttle-example │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── sqlx-postgres │ ├── Cargo.toml │ └── src │ │ ├── db.rs │ │ └── main.rs ├── static-react-spa-app │ ├── Cargo.toml │ ├── README.md │ ├── app │ │ ├── .gitignore │ │ ├── README.md │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── public │ │ │ ├── detail.png │ │ │ ├── favicon.ico │ │ │ ├── index.html │ │ │ ├── index.png │ │ │ ├── logo192.png │ │ │ ├── logo512.png │ │ │ ├── manifest.json │ │ │ └── robots.txt │ │ └── src │ │ │ ├── App.test.js │ │ │ ├── index.css │ │ │ ├── index.js │ │ │ ├── logo.svg │ │ │ ├── pages │ │ │ ├── Detail.js │ │ │ └── Home.js │ │ │ ├── reportWebVitals.js │ │ │ └── setupTests.js │ ├── run.sh │ └── src │ │ ├── data.rs │ │ └── main.rs ├── templates │ ├── Cargo.toml │ ├── src │ │ └── main.rs │ └── templates │ │ └── hello.html ├── tracing-middleware │ ├── Cargo.toml │ └── src │ │ ├── main.rs │ │ └── middlewares │ │ ├── mod.rs │ │ └── tracing.rs ├── utoipa-swagger-ui │ ├── Cargo.toml │ ├── README.md │ ├── img │ │ └── todo.png │ └── src │ │ ├── main.rs │ │ ├── routes │ │ ├── mod.rs │ │ └── todo.rs │ │ └── swagger.rs └── websocket-example │ ├── Cargo.toml │ ├── src │ └── main.rs │ └── templates │ └── index.html ├── img ├── bitcoin.png ├── compare.png ├── dogecoin.png ├── ethereum.png ├── litecoin.png ├── logo.png ├── shiba.png ├── solana.png ├── usdc.png └── usdt.png └── src ├── app.rs ├── color.rs ├── fs.rs ├── http.rs ├── http ├── methods.rs ├── request.rs ├── resource.rs └── response.rs ├── lib.rs ├── listen.rs ├── middleware └── mod.rs └── template.rs /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/workflows/clippy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/.github/workflows/clippy.yml -------------------------------------------------------------------------------- /.github/workflows/test-lang-rust-audit.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/.github/workflows/test-lang-rust-audit.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /BUY-A-COFFEE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/BUY-A-COFFEE.md -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/README.md -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/README.md -------------------------------------------------------------------------------- /examples/chat-websocket/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/chat-websocket/Cargo.toml -------------------------------------------------------------------------------- /examples/chat-websocket/src/chat/domain.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/chat-websocket/src/chat/domain.rs -------------------------------------------------------------------------------- /examples/chat-websocket/src/chat/handlers.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/chat-websocket/src/chat/handlers.rs -------------------------------------------------------------------------------- /examples/chat-websocket/src/chat/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/chat-websocket/src/chat/mod.rs -------------------------------------------------------------------------------- /examples/chat-websocket/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/chat-websocket/src/main.rs -------------------------------------------------------------------------------- /examples/chat-websocket/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/chat-websocket/templates/index.html -------------------------------------------------------------------------------- /examples/file-multipart-form/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/file-multipart-form/Cargo.toml -------------------------------------------------------------------------------- /examples/file-multipart-form/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/file-multipart-form/src/main.rs -------------------------------------------------------------------------------- /examples/hello-world/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/hello-world/Cargo.toml -------------------------------------------------------------------------------- /examples/hello-world/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/hello-world/src/main.rs -------------------------------------------------------------------------------- /examples/multiple-routers/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/multiple-routers/Cargo.toml -------------------------------------------------------------------------------- /examples/multiple-routers/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/multiple-routers/src/main.rs -------------------------------------------------------------------------------- /examples/multiple-routers/src/middlewares.rs: -------------------------------------------------------------------------------- 1 | pub mod check_user; 2 | -------------------------------------------------------------------------------- /examples/multiple-routers/src/middlewares/check_user.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/multiple-routers/src/middlewares/check_user.rs -------------------------------------------------------------------------------- /examples/multiple-routers/src/routes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/multiple-routers/src/routes.rs -------------------------------------------------------------------------------- /examples/multiple-routers/src/routes/about.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/multiple-routers/src/routes/about.rs -------------------------------------------------------------------------------- /examples/multiple-routers/src/routes/admin.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/multiple-routers/src/routes/admin.rs -------------------------------------------------------------------------------- /examples/multiple-routers/src/routes/article.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/multiple-routers/src/routes/article.rs -------------------------------------------------------------------------------- /examples/rate-limiter/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/rate-limiter/Cargo.toml -------------------------------------------------------------------------------- /examples/rate-limiter/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/rate-limiter/src/main.rs -------------------------------------------------------------------------------- /examples/redirect/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/redirect/Cargo.toml -------------------------------------------------------------------------------- /examples/redirect/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/redirect/src/main.rs -------------------------------------------------------------------------------- /examples/shuttle-example/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/shuttle-example/Cargo.toml -------------------------------------------------------------------------------- /examples/shuttle-example/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/shuttle-example/src/lib.rs -------------------------------------------------------------------------------- /examples/sqlx-postgres/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/sqlx-postgres/Cargo.toml -------------------------------------------------------------------------------- /examples/sqlx-postgres/src/db.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/sqlx-postgres/src/db.rs -------------------------------------------------------------------------------- /examples/sqlx-postgres/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/sqlx-postgres/src/main.rs -------------------------------------------------------------------------------- /examples/static-react-spa-app/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/static-react-spa-app/Cargo.toml -------------------------------------------------------------------------------- /examples/static-react-spa-app/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/static-react-spa-app/README.md -------------------------------------------------------------------------------- /examples/static-react-spa-app/app/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/static-react-spa-app/app/.gitignore -------------------------------------------------------------------------------- /examples/static-react-spa-app/app/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/static-react-spa-app/app/README.md -------------------------------------------------------------------------------- /examples/static-react-spa-app/app/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/static-react-spa-app/app/package-lock.json -------------------------------------------------------------------------------- /examples/static-react-spa-app/app/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/static-react-spa-app/app/package.json -------------------------------------------------------------------------------- /examples/static-react-spa-app/app/public/detail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/static-react-spa-app/app/public/detail.png -------------------------------------------------------------------------------- /examples/static-react-spa-app/app/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/static-react-spa-app/app/public/favicon.ico -------------------------------------------------------------------------------- /examples/static-react-spa-app/app/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/static-react-spa-app/app/public/index.html -------------------------------------------------------------------------------- /examples/static-react-spa-app/app/public/index.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/static-react-spa-app/app/public/index.png -------------------------------------------------------------------------------- /examples/static-react-spa-app/app/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/static-react-spa-app/app/public/logo192.png -------------------------------------------------------------------------------- /examples/static-react-spa-app/app/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/static-react-spa-app/app/public/logo512.png -------------------------------------------------------------------------------- /examples/static-react-spa-app/app/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/static-react-spa-app/app/public/manifest.json -------------------------------------------------------------------------------- /examples/static-react-spa-app/app/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/static-react-spa-app/app/public/robots.txt -------------------------------------------------------------------------------- /examples/static-react-spa-app/app/src/App.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/static-react-spa-app/app/src/App.test.js -------------------------------------------------------------------------------- /examples/static-react-spa-app/app/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/static-react-spa-app/app/src/index.css -------------------------------------------------------------------------------- /examples/static-react-spa-app/app/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/static-react-spa-app/app/src/index.js -------------------------------------------------------------------------------- /examples/static-react-spa-app/app/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/static-react-spa-app/app/src/logo.svg -------------------------------------------------------------------------------- /examples/static-react-spa-app/app/src/pages/Detail.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/static-react-spa-app/app/src/pages/Detail.js -------------------------------------------------------------------------------- /examples/static-react-spa-app/app/src/pages/Home.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/static-react-spa-app/app/src/pages/Home.js -------------------------------------------------------------------------------- /examples/static-react-spa-app/app/src/reportWebVitals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/static-react-spa-app/app/src/reportWebVitals.js -------------------------------------------------------------------------------- /examples/static-react-spa-app/app/src/setupTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/static-react-spa-app/app/src/setupTests.js -------------------------------------------------------------------------------- /examples/static-react-spa-app/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/static-react-spa-app/run.sh -------------------------------------------------------------------------------- /examples/static-react-spa-app/src/data.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/static-react-spa-app/src/data.rs -------------------------------------------------------------------------------- /examples/static-react-spa-app/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/static-react-spa-app/src/main.rs -------------------------------------------------------------------------------- /examples/templates/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/templates/Cargo.toml -------------------------------------------------------------------------------- /examples/templates/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphul-rs/graphul/HEAD/examples/templates/src/main.rs -------------------------------------------------------------------------------- /examples/templates/templates/hello.html: -------------------------------------------------------------------------------- 1 |