Syntax aware cat
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

clippy

+3 -3
+1 -1
Cargo.lock
··· 586 586 587 587 [[package]] 588 588 name = "syncat" 589 - version = "3.6.0" 589 + version = "3.6.1" 590 590 dependencies = [ 591 591 "ansi_term", 592 592 "cc",
+2 -2
syncat/build.rs
··· 6 6 fn main() -> Result<(), Box<dyn std::error::Error>> { 7 7 let out_dir = env::var("OUT_DIR")?; 8 8 let out_path = Path::new(&out_dir).join("targets.rs"); 9 - let mut output = File::create(&out_path)?; 9 + let mut output = File::create(out_path)?; 10 10 writeln!(output, "const HOST: &str = {:?};", env::var("HOST")?)?; 11 11 writeln!(output, "const TARGET: &str = {:?};", env::var("TARGET")?)?; 12 12 13 13 let out_path = Path::new(&out_dir).join("config.tar"); 14 - let mut output = File::create(&out_path)?; 14 + let mut output = File::create(out_path)?; 15 15 let mut ar = tar::Builder::new(&mut output); 16 16 17 17 let manifest_dir = env::var("CARGO_MANIFEST_DIR")?;