fif 0.3.4

A command-line tool for detecting and optionally correcting files with incorrect extensions.
1
2
3
4
5
6
7
8
9
10
#[allow(unreachable_code, clippy::pedantic)]
fn main() -> Result<(), String> {
	#[cfg(all(feature = "infer-backend", feature = "xdg-mime-backend"))]
	// fail build if the user has set both the infer and xdg-mime backends
	return Err(String::from(
		"fif cannot be compiled with multiple backends set - please enable only one, or use the default.",
	));

	Ok(())
}