CATEGORY
Encoding 6,158 crates
Data as of 2026-07-25 (crates.io database dump, timestamp 2026-07-25T02:00:36Z). Source: crates.io · db-dump.tar.gz · methodology & corrections.
base64encodes and decodes base64 as bytes or utf81,362,788,924MIT OR Apache-2.0
serdeA generic serialization/deserialization framework1,194,795,261MIT OR Apache-2.0
serde_jsonA JSON serialization file format1,098,816,661MIT OR Apache-2.0
tomlA native Rust encoder and decoder of TOML-formatted files and streams. Provides
implementations of the standard…766,930,167MIT OR Apache-2.0
urlURL library for Rust, based on the WHATWG URL Standard756,565,651MIT OR Apache-2.0
zerocopyZerocopy makes zero-cost memory manipulation effortless. We write "unsafe" so you don't have to.750,061,393BSD-2-Clause OR Apache-2.0 OR MIT
byteorderLibrary for reading/writing numbers in big-endian and little-endian.705,984,477Unlicense OR MIT
toml_editYet another format-preserving TOML parser.689,519,041MIT OR Apache-2.0
toml_datetimeA TOML-compatible datetime type634,875,481MIT OR Apache-2.0
hexEncoding and decoding data into/from hexadecimal representation.557,022,133MIT OR Apache-2.0
prostA Protocol Buffers implementation for the Rust Language.502,993,528Apache-2.0
serde_urlencoded`x-www-form-urlencoded` meets Serde480,417,082MIT/Apache-2.0
serde_spannedSerde-compatible spanned Value464,386,386MIT OR Apache-2.0
encoding_rsA Gecko-oriented implementation of the Encoding Standard459,421,125(Apache-2.0 OR MIT) AND BSD-3-Clause
unicode-bidiImplementation of the Unicode Bidirectional Algorithm452,792,003MIT OR Apache-2.0
utf8_iterIterator by char over potentially-invalid UTF-8 in &[u8]403,900,333Apache-2.0 OR MIT
serde_coreSerde traits only, with no support for derive -- use the `serde` crate instead397,642,863MIT OR Apache-2.0
halfHalf-precision floating point f16 and bf16 types for Rust implementing the IEEE 754-2008 standard binary16 and bfloat16 types.390,535,192MIT OR Apache-2.0
derPure Rust embedded-friendly implementation of the Distinguished Encoding Rules
(DER) for Abstract Syntax Notation One (ASN.1) as…387,213,224Apache-2.0 OR MIT
const-oidConst-friendly implementation of the ISO/IEC Object Identifier (OID) standard
as defined in ITU X.660, with support for BER/DER…362,044,033Apache-2.0 OR MIT
spkiX.509 Subject Public Key Info (RFC5280) describing public keys as well as their
associated AlgorithmIdentifiers (i.e. OIDs)359,044,200Apache-2.0 OR MIT
bstrA string type that is not required to be valid UTF-8.358,689,200MIT OR Apache-2.0
schemarsGenerate JSON Schemas from Rust code356,634,955MIT
data-encodingEfficient and customizable data-encoding functions like base64, base32, and hex349,789,625MIT
serde_yamlYAML data format for Serde347,885,351MIT OR Apache-2.0
pkcs8Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #8:
Private-Key Information Syntax Specification (RFC 5208),…346,318,389Apache-2.0 OR MIT
quick-xmlHigh performance xml reader and writer343,734,313MIT
base64ctPure Rust implementation of Base64 (RFC 4648) which avoids any usages of
data-dependent branches/LUTs and thereby provides…337,480,348Apache-2.0 OR MIT
serde_withCustom de/serialization functions for Rust's serde311,947,588MIT OR Apache-2.0
bytemuckA crate for mucking around with piles of bytes.308,777,548Zlib OR Apache-2.0 OR MIT
serde_with_macrosproc-macro library for serde_with307,186,245MIT OR Apache-2.0
bincodeA binary serialization / deserialization strategy for transforming structs into bytes and vice versa!279,990,170MIT
pem-rfc7468PEM Encoding (RFC 7468) for PKIX, PKCS, and CMS Structures, implementing a
strict subset of the original Privacy-Enhanced Mail…268,694,911Apache-2.0 OR MIT
unsafe-libyamllibyaml transpiled to rust by c2rust246,175,481MIT
valuableObject-safe value inspection, used to pass un-typed structured data across trait-object boundaries.241,287,448MIT
serde_reprDerive Serialize and Deserialize that delegates to the underlying repr of a C-like enum.234,323,777MIT OR Apache-2.0
tracing-serdeA compatibility layer for serializing trace data with `serde`229,411,334MIT
urlencodingA Rust library for doing URL percentage encoding.227,421,064MIT
serde_path_to_errorPath to the element that failed to deserialize227,124,381MIT OR Apache-2.0
csvFast CSV parsing with support for serde.213,952,598Unlicense/MIT
csv-coreBare bones CSV parsing with no_std support.212,572,161Unlicense/MIT
toml_parserYet another format-preserving TOML parser.206,948,295MIT OR Apache-2.0
ciboriumserde implementation of CBOR using ciborium-basic200,087,255Apache-2.0
ciborium-llLow-level CBOR codec primitives200,049,657Apache-2.0
erased-serdeType-erased Serialize and Serializer traits195,749,403MIT OR Apache-2.0
base16ctPure Rust implementation of Base16 a.k.a hexadecimal (RFC 4648) which avoids
any usages of data-dependent branches/LUTs and…193,167,827Apache-2.0 OR MIT
os_str_bytesLossless functionality for platform-native strings185,806,829MIT OR Apache-2.0
sec1Pure Rust implementation of SEC1: Elliptic Curve Cryptography encoding formats including ASN.1 DER
encoded private keys as well…185,387,325Apache-2.0 OR MIT
pkcs1Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #1:
RSA Cryptography Specifications Version 2.2 (RFC 8017)179,688,113Apache-2.0 OR MIT
serde_bytesOptimized handling of `&[u8]` and `Vec<u8>` for Serde177,263,689MIT OR Apache-2.0
schemars_deriveMacros for #[derive(JsonSchema)], for use with schemars172,719,557MIT
simdutf8SIMD-accelerated UTF-8 validation.169,528,591MIT OR Apache-2.0
encode_unicodeUTF-8 and UTF-16 character types, iterators and related methods for char, u8 and u16.166,408,642Apache-2.0 OR MIT
utf16_iterIterator by char over potentially-invalid UTF-16 in &[u16]161,160,674Apache-2.0 OR MIT
borshBinary Object Representation Serializer for Hashing157,255,881MIT OR Apache-2.0
imageImaging library. Provides basic image processing and encoders/decoders for common image formats.156,651,566MIT OR Apache-2.0
simple_asn1A simple DER/ASN.1 encoding/decoding library.146,867,359ISC
lexical-coreLexical, to- and from-string conversion routines.134,801,092MIT/Apache-2.0
toml_writerA low-level interface for writing out TOML134,695,287MIT OR Apache-2.0
rkyvZero-copy deserialization framework for Rust133,142,409MIT
rkyv_deriveDerive macro for rkyv133,125,287MIT
borsh-deriveBinary Object Representation Serializer for Hashing130,223,351Apache-2.0
rendCross-platform, endian-aware primitives for Rust127,499,618MIT
toml_writeA low-level interface for writing out TOML124,656,770MIT OR Apache-2.0
bytecheckMemory validation framework for Rust123,436,445MIT
bytecheck_deriveDerive macro for bytecheck123,433,944MIT
compact_strA memory efficient string type that transparently stores strings on the stack, when possible122,951,713MIT
rmpPure Rust MessagePack serialization implementation122,461,189MIT
base64-simdSIMD-accelerated base64 encoding and decoding121,746,941MIT
bytemuck_derivederive proc-macros for `bytemuck`115,306,431Zlib OR Apache-2.0 OR MIT
rmp-serdeSerde support for MessagePack114,554,238MIT
value-bagAnonymous structured values110,522,926Apache-2.0 OR MIT
lexical-utilShared utilities for lexical creates.108,623,472MIT/Apache-2.0
ronRusty Object Notation100,558,211MIT OR Apache-2.0
lexical-write-floatEfficient formatting of floats to strings.96,533,109MIT/Apache-2.0
lexical-write-integerEfficient formatting of integers to strings.96,461,948MIT/Apache-2.0
widestringA wide string Rust library for converting to and from wide strings, such as those often used in Windows API or other FFI…93,355,565MIT OR Apache-2.0
flatbuffersOfficial FlatBuffers Rust runtime library.87,208,649Apache-2.0
serde_qsQuerystrings for Serde83,647,874MIT/Apache-2.0
leb128fmtA library to encode and decode LEB128 compressed integers.82,213,843MIT OR Apache-2.0
byteorder-liteLibrary for reading/writing numbers in big-endian and little-endian.79,821,925Unlicense OR MIT
serde_cborCBOR support for serde.75,841,220MIT/Apache-2.0
endian-typeType safe wrappers for types with a defined byte order75,435,417MIT
objc2-encodeObjective-C type-encoding representation and parsing72,940,072MIT
serde-wasm-bindgenNative Serde adapter for wasm-bindgen69,779,162MIT
prost-reflectA protobuf library extending prost with reflection support and dynamic messages.68,828,362MIT OR Apache-2.0
zvariant_deriveD-Bus & GVariant encoding & decoding66,507,020MIT
zvariantD-Bus & GVariant encoding & decoding66,433,072MIT
zbus_macrosproc-macros for zbus66,286,280MIT
utf8-widthTo determine the width of a UTF-8 character by providing its first byte.66,236,311MIT
num-formatA Rust crate for producing string-representations of numbers, formatted according to international standards61,685,096MIT/Apache-2.0
serde-untaggedSerde `Visitor` implementation for deserializing untagged enums61,314,108MIT OR Apache-2.0
kubeKubernetes client and async controller runtime61,273,218Apache-2.0
kube-coreKube shared types, traits and client-less behavior60,487,094Apache-2.0
exrRead and write OpenEXR files without any unsafe code60,230,481BSD-3-Clause
lebeTiny, dead simple, high performance endianness conversions with a generic API58,671,447BSD-3-Clause
zvariant_utilsVarious utilities used internally by the zvariant crate.58,295,310MIT
image-webpWebP encoding and decoding in pure Rust55,931,703MIT OR Apache-2.0
fluent-uriA generic URI/IRI handling library compliant with RFC 3986/3987.54,613,398MIT
basic-tomlMinimal TOML library with few dependencies53,748,443MIT OR Apache-2.0
parity-scale-codecSCALE - Simple Concatenating Aggregated Little Endians53,148,779Apache-2.0
plistA rusty plist parser. Supports Serde serialization.49,696,255MIT
bech32Encodes and decodes the Bech32 format and implements the bech32 and bech32m checksums46,300,697MIT
nuidA highly performant unique identifier generator.46,219,977Apache-2.0
unicode-bomUnicode byte-order mark detection for files and byte arrays.45,571,010Apache-2.0
bincode_deriveImplementation of #[derive(Encode, Decode)] for bincode44,564,255MIT
kube-deriveCustom derives for the kube kubernetes crates43,778,356Apache-2.0
serde_ignoredFind out about keys that are ignored when deserializing data43,252,471MIT OR Apache-2.0
serde_regexA serde wrapper that (de)serializes regex as string42,485,551MIT OR Apache-2.0
typetagSerde serializable and deserializable trait objects40,751,386MIT OR Apache-2.0
pbjson-buildGenerates Serialize and Deserialize implementations for prost message types40,697,535MIT
data-encoding-macroMacros for data-encoding38,756,515MIT
pbjsonUtilities for pbjson conversion38,565,700MIT
crc-fastWorld's fastest generic CRC16, CRC32, and CRC64 calculator using SIMD. Supplies a C-compatible shared library for use in other…37,718,069MIT OR Apache-2.0
pkcs5Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #5:
Password-Based Cryptography Specification Version 2.1…36,878,080Apache-2.0 OR MIT
avif-serializeMinimal writer for AVIF header structure (MPEG/HEIF/MIAF/ISO-BMFF)36,851,224BSD-3-Clause
svalStreaming, structured value serialization36,597,103Apache-2.0 OR MIT
endiA simple endian-handling library36,525,119MIT
serdectConstant-time serde serializer/deserializer helpers for data that potentially
contains secrets (e.g. cryptographic keys)35,692,397Apache-2.0 OR MIT
serde_fmtWrite any serde::Serialize using the standard formatting APIs34,239,385Apache-2.0 OR MIT
sval_jsonJSON support for sval33,916,162Apache-2.0 OR MIT
sval_fmtIntegration between std::fmt::Debug and sval::Value33,859,559Apache-2.0 OR MIT
sval_dynamicObject-safe versions of sval::Stream and sval::Value33,855,205Apache-2.0 OR MIT
sval_bufferValue buffering for sval33,838,764Apache-2.0 OR MIT
sval_serdeIntegration between serde::Serialize and sval::Value33,834,570Apache-2.0 OR MIT
sval_refA variant of sval::Value for types with internal references33,787,092Apache-2.0 OR MIT
html-escapeThis library is for encoding/escaping special characters in HTML and decoding/unescaping HTML entities as well.33,656,632MIT
pbjson-typesProtobuf well known types with serde serialization support33,374,240MIT
der_deriveCustom derive support for the `der` crate's `Choice` and `Sequence` traits33,159,289Apache-2.0 OR MIT
hex-conservativeA hex encoding and decoding crate with a conservative MSRV and dependency policy.32,611,271CC0-1.0
lexicalLexical, to- and from-string conversion routines.31,678,892MIT/Apache-2.0
serde_plainA restricted plain text serializer for serde30,468,428MIT/Apache-2.0
x509-certPure Rust implementation of the X.509 Public Key Infrastructure Certificate
format as described in RFC 528029,123,232Apache-2.0 OR MIT
borsh-derive-internalBinary Object Representation Serializer for Hashing28,724,153Apache-2.0
borsh-schema-derive-internalSchema Generator for Borsh28,687,255Apache-2.0
base32Base32 encoder/decoder for Rust27,489,465MIT OR Apache-2.0
configparserA simple configuration parsing utility with no dependencies that allows you to parse INI and ini-style syntax. You can use this…25,813,450MIT OR LGPL-3.0-or-later
http-serdeSerde support for the http crate. (De)serialize HeaderMap, Uri, Method, StatusCode25,740,900Apache-2.0 OR MIT
rmpvDecoding/Encoding MessagePack values without schema25,486,244MIT
monostateType that deserializes only from one specific value25,368,348MIT OR Apache-2.0
cookie-factorynom inspired serialization library24,683,462MIT
utf8-zeroZero-copy, incremental UTF-8 decoding with error handling24,020,778MIT OR Apache-2.0
scale-infoInfo about SCALE encodable Rust types23,939,317Apache-2.0
scale-info-deriveDerive type info for SCALE encodable types23,935,737Apache-2.0
alloy-rlpImplementation of Ethereum RLP serialization22,889,265MIT OR Apache-2.0
encoding_rs_ioStreaming transcoding for encoding_rs22,767,581MIT OR Apache-2.0
escape8259RFC8259-compliant string escaping and un-escaping22,187,286MIT
bcderHandling of data encoded in BER, CER, and DER.21,589,442BSD-3-Clause
bsonEncoding and decoding support for BSON in Rust21,150,336MIT
charsetCharacter encoding decoding for email20,731,238Apache-2.0 OR MIT
alloy-sol-macroSolidity to Rust procedural macro20,620,655MIT OR Apache-2.0
alloy-sol-typesCompile-time ABI and EIP-712 implementations20,601,161MIT OR Apache-2.0
serde_ymlDEPRECATED — `serde_yml` is unmaintained. This release is a thin compatibility shim that forwards every call to `noyalib` (a…20,164,687MIT OR Apache-2.0
libymlDEPRECATED — `libyml` is unmaintained. This release is a thin compatibility shim that forwards every call to `unsafe-libyaml`…20,031,726MIT OR Apache-2.0
apache-avroA library for working with Apache Avro in Rust19,596,209Apache-2.0
sval_nestedA recursive variant of sval19,512,798Apache-2.0 OR MIT
ecolorColor structs and color conversion utilities19,419,455MIT OR Apache-2.0
ct-codecsConstant-time base64, base32, and hex codecs reimplemented in Rust18,517,042MIT
tinyjsonTiny simple JSON parser/generator18,246,039MIT
alloy-sol-macro-inputInput types for sol!-like macros17,996,274MIT OR Apache-2.0
alloy-sol-macro-expanderExpander used in the Solidity to Rust procedural macro17,888,308MIT OR Apache-2.0
alloy-json-abiFull Ethereum JSON-ABI implementation17,855,946MIT OR Apache-2.0
alloy-rlp-deriveDerive macros for alloy-rlp17,626,190MIT OR Apache-2.0
tokio-serdeSend and receive Serde encodable types over the network using Tokio.
This library is used as a building block for serialization…17,589,325MIT OR Apache-2.0
protoc-gen-prostProtocol Buffers compiler plugin powered by Prost!17,326,278Apache-2.0
varint-rsA small, zero dependency varint implementation in Rust.16,483,4480BSD
byteorderedAbstraction for reading and writing data with implicit byte order awareness16,407,177MIT OR Apache-2.0
serde_html_form(De-)serialization support for the `application/x-www-form-urlencoded` format15,932,395MIT
ubyteA simple, complete, const-everything, saturating, human-friendly, no_std library for byte units.15,741,289MIT OR Apache-2.0
newline-converterNewline byte converter library15,331,719MIT
simd_cesu8An extremely fast, SIMD accelerated, encoding and decoding library for CESU-8 and Modified UTF-8.15,178,641Apache-2.0 OR MIT
planusPlanus is an alternative compiler for flatbuffers, an efficient cross platform serialization library.15,152,154MIT/Apache-2.0
alloy-dyn-abiRun-time ABI and EIP-712 implementations15,134,892MIT OR Apache-2.0
protoc-gen-tonicProtocol Buffers compiler plugin for gRPC services powered by Prost! and Tonic14,370,208Apache-2.0
aws_lambda_eventsAWS Lambda event definitions14,294,655MIT
array-bytesA collection of Array/Bytes/Hex utilities with full No-STD compatibility.14,121,100Apache-2.0/GPL-3.0
asn1ASN.1 (DER) parser and writer for Rust.13,626,311BSD-3-Clause
content_inspectorFast inspection of binary buffers to guess/determine the encoding13,502,729MIT/Apache-2.0
base16base16 (hex) encoding and decoding13,464,963CC0-1.0
pcap-fileA crate to parse, read and write Pcap and PcapNg13,291,205MIT
base64-urlBase64 encode, decode, escape and unescape for URL applications.12,623,896MIT
py_literalRead and write Python literals12,606,183MIT OR Apache-2.0
prost-reflect-deriveA derive macro for prost-reflect to generate ReflectMessage implementations12,565,267MIT OR Apache-2.0
protoxA rust implementation of the protobuf compiler.12,371,536MIT OR Apache-2.0
protox-parseParsing of protobuf source files12,267,208MIT OR Apache-2.0
packed_structBinary-level structure packing and unpacking generator12,172,534MIT OR Apache-2.0
alloy-coreRust Ethereum core libraries12,150,905MIT OR Apache-2.0
rasnA safe no_std ASN.1 codec framework.12,078,887MIT OR Apache-2.0
rasn-deriveDerive macros for rasn.12,067,577MIT OR Apache-2.0
minicborA small CBOR codec suitable for no_std environments.11,470,659BlueOak-1.0.0
line-wrapEfficiently insert line separators11,450,011Apache-2.0
query_mapVectorMap is a generic wrapper around HashMap<String, Vec<String>> to handle different transformations like URL query strings.11,413,079MIT
email-encodingLow level email encoding RFCs implementations11,266,298MIT OR Apache-2.0
id3A library for reading and writing ID3 metadata11,112,071MIT
binrwA Rust crate for helping read structs from binary data using ✨macro magic✨10,889,398MIT
ndarray-npy.npy and .npz file format support for ndarray10,468,934MIT OR Apache-2.0
codepageMapping between Windows code page numbers and encoding_rs character encodings10,466,815Apache-2.0 OR MIT
quick-junitData model, serializer, and deserializer for JUnit/XUnit XML10,301,764Apache-2.0 OR MIT
codespanData structures for tracking locations in source code10,294,028Apache-2.0
calamineAn Excel/OpenDocument Spreadsheet reader and deserializer in pure Rust10,198,710MIT