From 29256ae9131f5c159077f2111b8df462b514329c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20=C5=BBelazko?= Date: Wed, 18 Sep 2024 14:44:51 +0200 Subject: [PATCH] chore: use vlayer rust configs --- .cargo/config.toml | 2 ++ clippy.toml | 1 + rust-toolchain.toml | 5 +++++ 3 files changed, 8 insertions(+) create mode 100644 .cargo/config.toml create mode 100644 clippy.toml create mode 100644 rust-toolchain.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..5ccae92 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,2 @@ +[alias] +lint = "clippy --workspace --all-targets --all-features -- -Dwarnings" diff --git a/clippy.toml b/clippy.toml new file mode 100644 index 0000000..154626e --- /dev/null +++ b/clippy.toml @@ -0,0 +1 @@ +allow-unwrap-in-tests = true diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000..310907f --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,5 @@ +[toolchain] +channel = "1.80" +components = ["rustfmt", "rust-src", "rust-analyzer", "clippy"] +profile = "minimal" +