#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

#1468 in Parser implementations

Download history 143/week @ 2023-12-17 144/week @ 2023-12-24 122/week @ 2023-12-31 143/week @ 2024-01-07 144/week @ 2024-01-14 144/week @ 2024-01-21 146/week @ 2024-01-28 142/week @ 2024-02-04 152/week @ 2024-02-11 167/week @ 2024-02-18 170/week @ 2024-02-25 154/week @ 2024-03-03 175/week @ 2024-03-10 150/week @ 2024-03-17 154/week @ 2024-03-24 195/week @ 2024-03-31

697 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