Registry / utility / encoding-rs

encoding-rs

JSON →
library0.8.35rscratesunverified

A Gecko-oriented implementation of the Encoding Standard for character encoding conversion.

utility
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

use encoding_rs::Encoding;

Looks up an encoding by label and prints its name.

use encoding_rs::Encoding; fn main() { let encoding = Encoding::for_label(b"utf-8").unwrap(); println!("Encoding name: {}", encoding.name()); }
Debug
Known footguns

No known footguns recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
12 hits · last 30 days
gptbot
3
claudebot
3
ahrefsbot
1
Resources