-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
70 lines (62 loc) · 1.6 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[package]
name = "charset-normalizer-rs"
version = "1.0.6"
authors = ["Nikolay Yarovoy <nikolay.yarovoy@gmail.com>"]
edition = "2021"
description = "Truly universal encoding detector in pure Rust - port of Python version"
license-file = "LICENSE"
documentation = "https://docs.rs/charset-normalizer-rs"
readme = "README.md"
repository = "https://github.com/nickspring/charset-normalizer-rs"
keywords = ["encoding", "charset", "detector", "conversion", "normalizer"]
categories = ["encoding", "internationalization", "localization"]
exclude = [
"/src/tests/data/**",
"/CONTRIBUTING.md",
"/CODE_OF_CONDUCT.md",
"/.github/**",
".gitattributes"
]
[dependencies]
ahash = "0.8.3"
bitflags = "2.4.0"
cached = "0.46.0"
chardet = { version = "0.2.4", optional = true }
chardetng = { version = "0.1.17", optional = true }
clap = { version = "4.4.2", features = ["derive"] }
counter = "0.5.7"
dialoguer = "0.10.4"
encoding = "0.2.33"
env_logger = "0.10.0"
icu_normalizer = "1.3.2"
icu_properties = "1.3.2"
log = "0.4.20"
once_cell = "1.18.0"
ordered-float = "3.9.1"
regex = "1.9.3"
serde = { version = "1.0.188", features = ["derive"] }
serde_json = "1.0.107"
strsim = "0.10.0"
unicode_names2 = "1.1.0"
[dev-dependencies]
assert_cmd = "2.0.12"
criterion = "0.3"
predicates = "3.0.3"
[[bench]]
name = "large_payload"
harness = false
[[bench]]
name = "large_datasets"
harness = false
[features]
performance = ["chardet", "chardetng"]
[[bin]]
name = "performance"
path = "src/performance.rs"
required-features = ["performance"]
[[bin]]
name = "normalizer"
path = "src/normalizer.rs"
[profile.release]
opt-level = 3
lto = "fat"