#http-parser #cgi #parser

cegla

Low-level parsing library for CGI (and CGI-like protocols)

3 releases

0.1.2 Jan 24, 2026
0.1.1 Jan 24, 2026
0.1.0 Jan 23, 2026

#1118 in Parser implementations

Download history 71/week @ 2026-01-19 128/week @ 2026-01-26 277/week @ 2026-02-02 947/week @ 2026-02-09 306/week @ 2026-02-16

1,659 downloads per month
Used in 3 crates (2 directly)

MIT license

35KB
857 lines

A low-level parsing library for CGI (and CGI-like protocols)


cegla - a library for Rust implementing CGI (and CGI-like protocols)

cegla is a library for Rust that implements CGI (and CGI-like protocols).

Components

  • cegla - a low-level parsing library for CGI (and CGI-like protocols)
  • cegla-cgi - a high-level CGI implementation for Rust
  • cegla-scgi - a high-level SCGI implementation for Rust
  • tokio-cegla - Tokio-based runtime support for cegla-* crates

High-level FastCGI implementation is coming soon.

Examples

You can find example code in the examples directory in the repository.

License

This project is licensed under the MIT License.

Dependencies

~3.5–5MB
~80K SLoC