From 32ba0176b268d8fb978a7128aac13b505a6c517a Mon Sep 17 00:00:00 2001 From: Lynne Date: Fri, 12 Feb 2021 19:19:08 +1000 Subject: [PATCH] cargo update, minor cleanup --- .gitignore | 1 + Cargo.lock | 4 ++-- Cargo.toml | 1 - src/main.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index aea0234..3a8a8fd 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ fif_* /old /awful *.sh +cargo-timing*.html diff --git a/Cargo.lock b/Cargo.lock index 383670d..5792bd6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -345,9 +345,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.85" +version = "0.2.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ccac4b00700875e6a07c6cde370d44d32fa01c5a65cdd2fca6858c479d28bb3" +checksum = "b7282d924be3275cec7f6756ff4121987bc6481325397dde6ba3e7802b1a8b1c" [[package]] name = "log" diff --git a/Cargo.toml b/Cargo.toml index 0421bb4..04b4b33 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,7 +36,6 @@ version = "0.23.0" default-features = false features = ["proc_macro"] - [profile.release] lto = "thin" diff --git a/src/main.rs b/src/main.rs index c985994..fdd1599 100644 --- a/src/main.rs +++ b/src/main.rs @@ -34,7 +34,7 @@ use crate::scanerror::ScanError; use crate::formats::{Script, Format}; pub struct Findings { - file: PathBuf, + file: PathBuf, // TODO: replace with Path???? <'a> and all that valid: bool, mime: Mime, }