From cb622ca252d6bf8e4e2c1ea37060419ad67bf018 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Fri, 28 Feb 2020 09:22:15 +0100 Subject: [PATCH] add .cargo/config and rustfmt.toml .cargo/config since we build with debian packages as dependencies by default Signed-off-by: Wolfgang Bumiller --- .cargo/config | 5 +++++ rustfmt.toml | 1 + 2 files changed, 6 insertions(+) create mode 100644 .cargo/config create mode 100644 rustfmt.toml diff --git a/.cargo/config b/.cargo/config new file mode 100644 index 0000000..3b5b6e4 --- /dev/null +++ b/.cargo/config @@ -0,0 +1,5 @@ +[source] +[source.debian-packages] +directory = "/usr/share/cargo/registry" +[source.crates-io] +replace-with = "debian-packages" diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 0000000..32a9786 --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1 @@ +edition = "2018"