{"id":67168,"library":"tls-codec","title":"tls-codec","description":"A pure Rust implementation of the TLS (de)serialization.","status":"active","version":"0.4.2","language":"rust","source_language":null,"source_url":"https://github.com/RustCrypto/formats","tags":["tls","serialization","encoding","crypto"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ntls_codec = \"0.4.2\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add tls_codec","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Serialize","correct":"use tls_codec::Serialize;"}],"quickstart":{"code":"use tls_codec::Serialize;\n\nfn main() {\n    let value: u8 = 42;\n    let bytes = value.serialize().unwrap();\n    println!(\"{:?}\", bytes);\n}","lang":"rust","description":"Serialize a value using TLS encoding."},"warnings":[],"env_vars":null,"search_vec":"'codec':3 'crypto':16 'de':11 'encod':15 'implement':7 'pure':5 'rust':6 'serial':12,14 'tls':2,10,13 'tls-codec':1","created_at":"2026-06-17T17:33:49.954041+00:00","updated_at":"2026-06-17T17:33:49.954041+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/RustCrypto/formats/tree/master/tls_codec","github":"https://github.com/RustCrypto/formats","docs":"https://docs.rs/tls_codec/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization","crypto"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}