charcode 0.1.3

Character encoding conversion implementing the WHATWG Encoding Standard, with no external dependencies.
Documentation
# 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.88"
name = "charcode"
version = "0.1.3"
build = false
exclude = [
    "/tools",
    "/.github",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Character encoding conversion implementing the WHATWG Encoding Standard, with no external dependencies."
documentation = "https://docs.rs/charcode"
readme = "README.md"
keywords = [
    "encoding",
    "charset",
    "utf-8",
    "unicode",
    "conversion",
]
categories = [
    "encoding",
    "text-processing",
    "no-std",
]
license = "MIT"
repository = "https://github.com/KarpelesLab/charcode"

[package.metadata.docs.rs]
all-features = true

[features]
alloc = []
big5 = []
cli = [
    "std",
    "whatwg",
    "translit",
]
default = [
    "std",
    "whatwg",
]
dos = [
    "full-byte",
    "half-byte",
]
ebcdic = ["full-byte"]
euc-jp = []
euc-kr = []
extras = [
    "dos",
    "ebcdic",
    "mac",
    "misc",
    "unicode-extras",
]
full-byte = []
gb18030 = []
half-byte = []
iso-2022-jp = []
mac = ["half-byte"]
misc = ["half-byte"]
serde = ["dep:serde"]
shift-jis = []
single-byte = ["half-byte"]
std = ["alloc"]
translit = []
unicode-extras = []
whatwg = [
    "whatwg-aliases",
    "single-byte",
    "big5",
    "euc-jp",
    "euc-kr",
    "gb18030",
    "iso-2022-jp",
    "shift-jis",
]
whatwg-aliases = []

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

[[bin]]
name = "charcode"
path = "src/bin/charcode/main.rs"
required-features = ["cli"]

[[test]]
name = "cli"
path = "tests/cli.rs"

[[test]]
name = "serde"
path = "tests/serde.rs"

[[test]]
name = "spec"
path = "tests/spec.rs"

[[bench]]
name = "throughput"
path = "benches/throughput.rs"
harness = false
required-features = ["whatwg"]

[dependencies.serde]
version = "1"
optional = true
default-features = false

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

[profile.release]
opt-level = 3