version bump - wrote docs, logging by default, and more
All checks were successful
continuous-integration/drone/push Build is passing

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

View file

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

View file

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

View file

@ -3,7 +3,7 @@
use std::path::PathBuf; use std::path::PathBuf;
use crate::extensionset::ExtensionSet; use crate::extensionset::ExtensionSet;
use clap::Clap; use clap::{Clap};
use smartstring::{LazyCompact, SmartString}; use smartstring::{LazyCompact, SmartString};
#[derive(Clap, PartialEq, Debug)] #[derive(Clap, PartialEq, Debug)]
@ -12,7 +12,7 @@ pub enum OutputFormat {
Text, 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)] #[derive(Clap, Debug)]
#[clap(version = option_env!("CARGO_PKG_VERSION").unwrap_or("???"))] #[clap(version = option_env!("CARGO_PKG_VERSION").unwrap_or("???"))]