{"id":65436,"library":"hexlit","title":"Hexlit","description":"A zero-allocation no_std-compatible zero-cost way to convert hex-strings to byte-arrays at compile time.","status":"active","version":"0.5.5","language":"rust","source_language":null,"source_url":"https://github.com/inspier/hexlit","tags":["hex","compile-time","no-std","macro"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nhexlit = \"0.5.5\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add hexlit","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"hex","correct":"use hexlit::hex;"}],"quickstart":{"code":"use hexlit::hex;\n\nfn main() {\n    let bytes: &[u8] = hex!(\"deadbeef\");\n    assert_eq!(bytes, &[0xde, 0xad, 0xbe, 0xef]);\n}","lang":"rust","description":"Converts a hex string literal to a byte array at compile time."},"warnings":[],"env_vars":null,"search_vec":"'alloc':5 'array':22 'byte':21 'byte-array':20 'compat':9 'compil':24,28 'compile-tim':27 'convert':15 'cost':12 'hex':17,26 'hex-str':16 'hexlit':1 'macro':33 'no-std':30 'std':8,32 'std-compat':7 'string':18 'time':25,29 'way':13 'zero':4,11 'zero-alloc':3 'zero-cost':10","created_at":"2026-06-17T17:10:23.149750+00:00","updated_at":"2026-06-17T17:10:23.149750+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/inspier/hexlit","github":"https://github.com/inspier/hexlit","docs":"https://docs.rs/hexlit/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"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}}