#go #port #format #original #caddy #compatibility #behavior

caddyfile

A library for working with Caddy's Caddyfile format

2 releases

0.1.1 Aug 18, 2023
0.1.0 Apr 4, 2023

#1842 in Parser implementations

Download history 138/week @ 2024-04-08 149/week @ 2024-04-15 156/week @ 2024-04-22 151/week @ 2024-04-29 146/week @ 2024-05-06 151/week @ 2024-05-13 157/week @ 2024-05-20 152/week @ 2024-05-27 164/week @ 2024-06-03 156/week @ 2024-06-10 156/week @ 2024-06-17 152/week @ 2024-06-24 162/week @ 2024-07-01 152/week @ 2024-07-08 146/week @ 2024-07-15 159/week @ 2024-07-22

639 downloads per month

Apache-2.0

14KB
313 lines

Caddyfile for Rust

This is a library for working with Caddyfiles. It currently only

Most of this code is a port of the original Go implementation, which is available at github.com/mholt/caddy/tree/master/caddyfile, to equivalent Rust code.

Because of this, every part should have exactly the same behavior as the original, and it should be able to format and tokenize any Caddyfile in the same way Caddy does.

We also try to test all code against the original's test suite to make sure any compatibility issues are caught.

No runtime deps