use tree_magic_db

This commit is contained in:
neri 2021-08-18 23:32:58 +02:00
parent 0bbf19d0b6
commit 24692adb93
2 changed files with 8 additions and 1 deletions

7
Cargo.lock generated
View File

@ -2499,6 +2499,12 @@ dependencies = [
"tracing", "tracing",
] ]
[[package]]
name = "tree_magic_db"
version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e73fc24a5427b3b15e2b0bcad8ef61b5affb1da8ac89c8bf3f196c8692d57f02"
[[package]] [[package]]
name = "tree_magic_mini" name = "tree_magic_mini"
version = "3.0.0" version = "3.0.0"
@ -2510,6 +2516,7 @@ dependencies = [
"nom 6.1.2", "nom 6.1.2",
"once_cell", "once_cell",
"petgraph", "petgraph",
"tree_magic_db",
] ]
[[package]] [[package]]

View File

@ -19,5 +19,5 @@ rand = "0.8.3"
chrono = "0.4.19" chrono = "0.4.19"
htmlescape = "0.3.1" htmlescape = "0.3.1"
urlencoding = "2.1.0" urlencoding = "2.1.0"
tree_magic_mini = "3.0.0" tree_magic_mini = { version = "3.0.0", features = ["with-gpl-data"] }
mime = "0.3.16" mime = "0.3.16"