# 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 = "2024"
rust-version = "1.85"
name = "ecd"
version = "0.1.1"
authors = ["Dereck <dereckleemj@gmail.com>"]
build = false
include = [
    "src/**/*",
    "Cargo.toml",
    "README.md",
    "LICENSE",
    "man/*.1",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast CLI to detect text file encodings (UTF-8, GBK, Shift_JIS, and 35+ more)"
homepage = "https://github.com/DereckLee/ecd"
documentation = "https://docs.rs/ecd"
readme = "README.md"
keywords = [
    "encoding",
    "charset",
    "cli",
    "detector",
    "utf-8",
]
categories = [
    "command-line-utilities",
    "encoding",
]
license = "MIT"
repository = "https://github.com/DereckLee/ecd"

[lib]
name = "ecd"
path = "src/lib.rs"

[[bin]]
name = "ecd"
path = "src/main.rs"

[dependencies.anyhow]
version = "1"

[dependencies.charset-normalizer-rs]
version = "1"

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
]

[dependencies.encoding_rs]
version = "0.8"

[dependencies.globset]
version = "0.4"

[dependencies.ignore]
version = "0.4"

[dependencies.rayon]
version = "1"

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.encoding]
version = "0.2"

[dev-dependencies.predicates]
version = "3"

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.tempfile]
version = "3"
