Add a .rustfmt.toml file

This is used by the rustfmt program to format Rust code according to the
rules contained in this file.

Currently we just set the line width limit to 80 characters to match our
C code.

Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
This commit is contained in:
Andrew Clayton 2024-02-06 16:19:41 +00:00
parent 20ada4b5c1
commit a9345dd46e

1
.rustfmt.toml Normal file
View file

@ -0,0 +1 @@
max_width = 80