Răsfoiți Sursa

Add rustfmt.toml

Signed-off-by: Dave Tucker <[email protected]>
Dave Tucker 2 ani în urmă
părinte
comite
3f0085195f
3 a modificat fișierele cu 9 adăugiri și 2 ștergeri
  1. 4 0
      aya-log/ebpf/rustfmt.toml
  2. 4 0
      aya-log/rustfmt.toml
  3. 1 2
      aya-log/xtask/src/build_ebpf.rs

+ 4 - 0
aya-log/ebpf/rustfmt.toml

@@ -0,0 +1,4 @@
+unstable_features = true
+reorder_imports = true
+imports_granularity = "Crate"
+

+ 4 - 0
aya-log/rustfmt.toml

@@ -0,0 +1,4 @@
+unstable_features = true
+reorder_imports = true
+imports_granularity = "Crate"
+

+ 1 - 2
aya-log/xtask/src/build_ebpf.rs

@@ -1,5 +1,4 @@
-use std::path::PathBuf;
-use std::process::Command;
+use std::{path::PathBuf, process::Command};
 
 use structopt::StructOpt;