fn write_default_lib(&self, dir: &TempDir) -> Result<()> {
        let filename = "src/lib.rs";
        if self.not_overridden_or_excluded(filename) {
            dir.child(filename).write_str("")?;
        }

        Ok(())
    }
// required for package to contain at least one valid crate
required for package to contain at least one valid crate
required for package to contain at least one valid crate
fn write_default_lib(&self, dir: &TempDir) -> Result<()> {
        let filename = "src/lib.rs";
        if self.not_overridden_or_excluded(filename) {
            dir.child(filename).write_str("")?;
        }
        Ok(())
    }
fn write_default_lib ( & self , dir : & TempDir ) -> Result < ( ) > { let filename = " " ; if self . not_overridden_or_excluded ( filename ) { dir . child ( filename ) . write_str ( " " ) ? ; } Ok ( ( ) ) }
required for package to contain at least one valid crate
required for package to contain at least one valid crate
&self
dir
&TempDir