Source code

Revision control

Copy as Markdown

Other Tools

# 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 = "2018"
name = "chardetng"
version = "0.1.17"
authors = ["Henri Sivonen <hsivonen@hsivonen.fi>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A character encoding detector for legacy Web content"
documentation = "https://docs.rs/chardetng/"
readme = "README.md"
keywords = [
"encoding",
"web",
"unicode",
"charset",
]
categories = [
"text-processing",
"encoding",
"web-programming",
"internationalization",
]
license = "Apache-2.0 OR MIT"
[features]
multithreading = [
"rayon",
"arrayvec",
]
testing-only-no-semver-guarantees-do-not-use = []
[lib]
name = "chardetng"
path = "src/lib.rs"
[dependencies]
cfg-if = "1.0"
[dependencies.arrayvec]
version = "0.5.1"
optional = true
[dependencies.encoding_rs]
version = "0.8.29"
default-features = false
[dependencies.memchr]
version = "2.2.0"
default-features = false
[dependencies.rayon]
version = "1.3.0"
optional = true
[dev-dependencies]
detone = "1.0.0"
[dev-dependencies.encoding_rs]
version = "0.8.29"
features = ["alloc"]