compact-enc-det
High-level Rust bindings for Compact Encoding Detection (CED) - a library for detecting character encodings in text.
Features
- Safe, ergonomic Rust API
- Type-safe enums for encodings, languages, and corpus types
- Support for 75+ character encodings
- Provides reliability confidence scores
- Optional hints for improved detection accuracy
Installation
[]
= "0.1"
Usage
use ;
Detection with Hints
use ;
let hints = DetectHints ;
let detection = detect_encoding;
Documentation
For complete documentation, see docs.rs/compact-enc-det.
License
MIT License - see LICENSE file for details.
The underlying C++ library is licensed under Apache License 2.0.