charcode 0.1.1

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.1"
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 = []
cli = ["std"]
default = ["std"]
serde = ["dep:serde"]
std = ["alloc"]

[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"

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

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

[profile.release]
opt-level = 3