5 unstable releases

0.3.0 Nov 16, 2024
0.2.0 Jun 2, 2024
0.1.2 Apr 5, 2023
0.1.1 Feb 22, 2023
0.1.0 Feb 22, 2023

#127 in HTTP server

Download history 2098/week @ 2024-08-08 1382/week @ 2024-08-15 1823/week @ 2024-08-22 1348/week @ 2024-08-29 1222/week @ 2024-09-05 1711/week @ 2024-09-12 1844/week @ 2024-09-19 1109/week @ 2024-09-26 2571/week @ 2024-10-03 2556/week @ 2024-10-10 4596/week @ 2024-10-17 2047/week @ 2024-10-24 1368/week @ 2024-10-31 1180/week @ 2024-11-07 1073/week @ 2024-11-14 1236/week @ 2024-11-21

5,278 downloads per month
Used in 10 crates (2 directly)

MIT license

12KB
254 lines

wcgi

Tooling for running web servers on Wasmer Deploy.

Check out the Tutorial to get started.

Repository layout

  • crates: Contains wcgi tooling for the Rust language, including a client library wcgi, a local wcgi runner and Rust examples.
    • wcgi wcgi client library for easily writing wcgi handlers in Rust.
    • wcgi_runner wcgi runner for running a wcgi server locally.
    • xtask CLI with utility commands for managing this repository.
  • examples Collection of example wcgi handlers written in Rust.

Develop

xtask

The cargo xtask command provides various management commands, like running tests, publishing all examples, ...

Execute cargo xtask in your shell to see available commands.

NOTE: can only be run when in the root directory.


lib.rs:

Common abstractions for implementing WCGI servers.

Dependencies

~3–4.5MB
~80K SLoC