# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.64.0" name = "fif" version = "0.7.2" authors = ["Lynnesbian "] build = "build.rs" exclude = [ ".idea/", "*.toml", "!Cargo.toml", "*.sh", "*.py", "*.yml", "*.md", ".mailmap", "pkg/", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A command-line tool for detecting and optionally correcting files with incorrect extensions." readme = "README.md" keywords = [ "mime", "mimetype", "utilities", "tools", ] categories = ["command-line-utilities"] license = "GPL-3.0-or-later" repository = "https://gitlab.com/Lynnesbian/fif" [package.metadata] msrv = "1.64.0" [profile.dev.package."*"] opt-level = 3 [profile.release] lto = "thin" [profile.test.package."*"] opt-level = 3 [lib] name = "fif" path = "src/lib.rs" [[bin]] name = "fif" path = "src/main.rs" [dependencies.anstyle] version = "=1.0.2" [dependencies.anstyle-parse] version = "=0.2.1" [dependencies.anstyle-query] version = "=1.0.0" [dependencies.cfg-if] version = "1.0.0" [dependencies.clap] version = "~4.3" features = [ "wrap_help", "color", "derive", "std", "unicode", ] default-features = false [dependencies.clap_lex] version = "=0.5.0" [dependencies.colorchoice] version = "=1.0.0" [dependencies.env_logger] version = "0.10.0" features = ["color"] default-features = false [dependencies.exitcode] version = "1.1.2" [dependencies.itertools] version = "0.13.0" [dependencies.log] version = "0.4.14" [dependencies.maplit] version = "1.0.2" [dependencies.mime] version = "0.3.16" [dependencies.mime_guess] version = "4.0.0" package = "new_mime_guess" [dependencies.num_cpus] version = "1.13.0" optional = true [dependencies.once_cell] version = "1.8.0" [dependencies.parking_lot] version = "0.12.0" [dependencies.rayon] version = "1.5.0" optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.smartstring] version = "1" [dependencies.snailquote] version = "0.3.0" [dependencies.walkdir] version = "2.4.0" [dev-dependencies.assert_cmd] version = "=2.0.5" [dev-dependencies.predicates-core] version = "=1.0.6" [dev-dependencies.predicates-tree] version = "=1.0.9" [dev-dependencies.rand] version = "0.8.3" [dev-dependencies.regex] version = "=1.9.5" features = ["std"] default-features = false [dev-dependencies.tempfile] version = "3.2.0" [features] default = [ "multi-threaded", "json", ] infer-backend = ["infer"] json = [ "serde", "serde_json", ] multi-threaded = [ "rayon", "num_cpus", ] xdg-mime-backend = ["xdg-mime"] [target."cfg(not(unix))".dependencies.infer] version = "=0.13.0" [target."cfg(not(unix))".dependencies.xdg-mime] version = "0.4.0" optional = true [target."cfg(unix)".dependencies.infer] version = "=0.13.0" optional = true [target."cfg(unix)".dependencies.xdg-mime] version = "0.4.0" [badges.maintenance] status = "experimental"