From 16574e87d64dc61ee8cfdc959ade115dbf34cebd Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Mon, 8 Oct 2018 16:33:54 +0300 Subject: [PATCH] Add a rustfmt config We stick to the default rustfmt style, but the config is needed to ignore the auto-generated code. --- .rustfmt.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .rustfmt.toml diff --git a/.rustfmt.toml b/.rustfmt.toml new file mode 100644 index 000000000..edf40d279 --- /dev/null +++ b/.rustfmt.toml @@ -0,0 +1,14 @@ +ignore = [ + "gstreamer/src/auto/", + "gstreamer-app/src/auto", + "gstreamer-audio/src/auto", + "gstreamer-base/src/auto", + "gstreamer-net/src/auto", + "gstreamer-pbutils/src/auto", + "gstreamer-player/src/auto", + "gstreamer-rtsp/src/auto", + "gstreamer-rtsp-server/src/auto", + "gstreamer-sdp/src/auto", + "gstreamer-video/src/auto", + "gstreamer-webrtc/src/auto", +]