2 releases

0.2.4 Feb 7, 2024
0.2.3 Feb 7, 2024

#583 in HTTP server

30 downloads per month

Apache-2.0

3MB
25K SLoC

JavaScript 21K SLoC // 0.1% comments Rust 4K SLoC // 0.0% comments

"Rust on Rails"


lib.rs:

Starting A New Project

To start a new project, you can use cargo-generate:

cargo install loco-cli
 loco new
 ❯ App name? · myapp
? ❯ What would you like to build?
 lightweight-service (minimal, only controllers and views)
  Rest API (with DB and user auth)
  Saas app (with DB and user auth)

Available Features

To avoid compiling unused dependencies, loco gates certain features.

Feature Default Description
auth_jwt true Enable user authentication.
cli true Expose Cli commands.
`testing false Test Utilities Module.
with-db true with-db.
channels false Enable socket channels.

Dependencies

~38–77MB
~1.5M SLoC