version bump - wrote docs, logging by default, and more

This commit is contained in:
Lynne Megido 2021-03-01 01:23:18 +10:00
parent ecee74eb29
commit 1aa355e753
Signed by: lynnesbian
GPG key ID: F0A184B5213D9F90
4 changed files with 11 additions and 4 deletions

View file

@ -3,6 +3,13 @@
<component name="CsvFileAttributes">
<option name="attributeMap">
<map>
<entry key="/Cargo.toml">
<value>
<Attribute>
<option name="separator" value="," />
</Attribute>
</value>
</entry>
<entry key="/src/inspectors.rs">
<value>
<Attribute>

2
Cargo.lock generated
View file

@ -168,7 +168,7 @@ checksum = "de853764b47027c2e862a995c34978ffa63c1501f2e15f987ba11bd4f9bba193"
[[package]]
name = "fif"
version = "0.2.6"
version = "0.2.7"
dependencies = [
"cached",
"cfg-if",

View file

@ -1,7 +1,7 @@
[package]
name = "fif"
description = "A command-line tool for detecting and optionally correcting files with incorrect extensions."
version = "0.2.6"
version = "0.2.7"
authors = ["Lynnesbian <lynne@bune.city>"]
edition = "2018"
license = "GPL-3.0-or-later"

View file

@ -3,7 +3,7 @@
use std::path::PathBuf;
use crate::extensionset::ExtensionSet;
use clap::Clap;
use clap::{Clap};
use smartstring::{LazyCompact, SmartString};
#[derive(Clap, PartialEq, Debug)]
@ -12,7 +12,7 @@ pub enum OutputFormat {
Text,
}
// TODO: convert this to macro style: https://docs.rs/clap/3.0.0-beta.2/clap/index.html#using-macros
// TODO: convert this to macro style?: https://docs.rs/clap/3.0.0-beta.2/clap/index.html#using-macros
#[derive(Clap, Debug)]
#[clap(version = option_env!("CARGO_PKG_VERSION").unwrap_or("???"))]