{"id":36236899,"url":"https://github.com/traceflight/lz4_decompress","last_synced_at":"2026-01-11T06:02:04.093Z","repository":{"id":329566909,"uuid":"1118929808","full_name":"traceflight/lz4_decompress","owner":"traceflight","description":"Fastest pure Rust implementation of LZ4 decompression.","archived":false,"fork":false,"pushed_at":"2025-12-20T12:28:58.000Z","size":12774,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-22T16:11:35.688Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/traceflight.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":"NOTICE","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-18T13:42:29.000Z","updated_at":"2025-12-20T12:29:02.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/traceflight/lz4_decompress","commit_stats":null,"previous_names":["traceflight/lz4_decompress"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/traceflight/lz4_decompress","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traceflight%2Flz4_decompress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traceflight%2Flz4_decompress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traceflight%2Flz4_decompress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traceflight%2Flz4_decompress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/traceflight","download_url":"https://codeload.github.com/traceflight/lz4_decompress/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traceflight%2Flz4_decompress/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28293188,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T04:44:51.577Z","status":"ssl_error","status_checked_at":"2026-01-11T04:44:44.232Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-11T06:02:03.402Z","updated_at":"2026-01-11T06:02:04.087Z","avatar_url":"https://github.com/traceflight.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Docs](https://img.shields.io/docsrs/lz4_decompress)](https://docs.rs/lz4_decompress)\n[![Crates.io](https://img.shields.io/crates/v/lz4_decompress.svg)](https://crates.io/crates/lz4_decompress)\n\n# lz4_decompress\nPure Rust implementation of lz4 decompression. \n\nFork of the awesome [lz4_flex](https://github.com/PSeitz/lz4_flex), modified to support decompressing data without providing the minimal uncompressed size.\n\n## Features\n- LZ4 Block format\n- LZ4 Frame format\n- Decompress without providing the minimal uncompressed size\n\n### Block Format\nThe block format is only valid for smaller data chunks as block is decompressed in memory.\nFor larger data use the frame format, which consists of multiple blocks.\n\n```rust\nuse lz4_decompress::block::{decompress_safe, decompress};\nuse lz4_flex::block::compress_prepend_size;\n\nfn main(){\n    let input: \u0026[u8] = b\"Hello people, what's up?\";\n     // we use lz4_flex to compress\n    let compressed = compress_prepend_size(input);\n    let uncompressed = decompress_size_prepended(\u0026compressed).unwrap();\n    assert_eq!(input, uncompressed);\n    // remove size prefix\n    let compressed_without_size = \u0026compressed[4..];\n    // decompress without providing min uncompressed size\n    let uncompressed = decompress_safe(\u0026compressed_without_size, None).unwrap();\n    assert_eq!(input, uncompressed);\n\n    let uncompressed = decompress(\u0026compressed_without_size, 24).unwrap();\n    assert_eq!(input, uncompressed);\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftraceflight%2Flz4_decompress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftraceflight%2Flz4_decompress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftraceflight%2Flz4_decompress/lists"}