forked from abonander/mime_guess
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
53 lines (42 loc) · 1.12 KB
/
Cargo.toml
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
45
46
47
48
49
50
51
52
53
[package]
name = "new_mime_guess"
version = "4.0.4"
authors = ["Austin Bonander <[email protected]>", "Lynnesbian <[email protected]>"]
license = "MIT"
description = "A simple crate for associating MIME types to file extensions."
keywords = ["mime", "filesystem", "extension"]
repository = "https://github.com/Lynnesbian/mime_guess"
documentation = "https://docs.rs/new_mime_guess/"
readme = "README.md"
exclude = ["*.sh"]
edition = "2018"
categories = ["filesystem"]
rust-version = "1.48.0"
[features]
default = ["rev-mappings"]
phf-map = ["phf", "phf_codegen"]
# generate reverse-mappings for lookup of extensions by MIME type
# default-on but can be turned off for smaller generated code
rev-mappings = []
[dependencies]
mime = "0.3.16"
unicase = "2.6.0"
[dependencies.phf]
version = "~0.10.1"
features = ["unicase"]
optional = true
[build-dependencies]
unicase = "2.6.0"
[build-dependencies.phf_codegen]
version = "~0.10.0"
optional = true
[dev-dependencies]
criterion = "0.3.5"
[[example]]
name = "rev_map"
required-features = ["rev-mappings"]
[[bench]]
name = "benchmark"
harness = false
[package.metadata]
msrv = "1.48.0"