-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
44 lines (38 loc) · 1.09 KB
/
Copy pathCargo.toml
File metadata and controls
44 lines (38 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[package]
name = "tika-magic"
version = "0.2.7"
edition = "2021"
authors = [
"Ryan Stortz <ryan@withzombies.com>",
]
description = "Determines the MIME type of a file using the Apache Tika mime database."
repository = "https://github.com/withzombies/tika-magic/"
documentation = "https://docs.rs/tika-magic/"
license = "Apache-2.0"
readme = "README.md"
categories = ["parser-implementations", "filesystem"]
keywords = ["mime", "filesystem", "media-types"]
exclude = ["tests/*", "benches/*", "tools/*"]
rust-version = "1.73.0"
[dependencies]
phf = { version = "^0.10.0", features = ["macros"] }
regex = "^1.7.0"
zip = { version = ">=2.4.2, <4.0.0", optional = true, default-features = false, features = ["deflate", "time"] }
ole = { version = "^0.1.0", optional = true }
once_cell = "^1.5.0"
[dev-dependencies]
bencher = "^0.1.5"
rstest = "^0.26"
[features]
open_zips = ["dep:zip"]
open_ole = ["dep:ole"]
[package.metadata]
exclude = ["tools/*", "benches/*"]
[[bench]]
name = "from_u8"
harness = false
path = "benches/from_u8.rs"
[[bench]]
name = "match_u8"
harness = false
path = "benches/match_u8.rs"