{"id":15399193,"url":"https://github.com/edg-l/rustyman","last_synced_at":"2025-04-16T01:48:16.893Z","repository":{"id":62033457,"uuid":"557258301","full_name":"edg-l/rustyman","owner":"edg-l","description":"Huffman compression and decompression implemented in rust","archived":false,"fork":false,"pushed_at":"2022-10-27T21:17:50.000Z","size":29,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T03:41:31.749Z","etag":null,"topics":["huffman","huffman-algorithm","huffman-coding","huffman-compression-algorithm","rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/rustyman","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/edg-l.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-25T11:12:02.000Z","updated_at":"2023-09-19T10:21:54.000Z","dependencies_parsed_at":"2022-10-25T12:00:52.110Z","dependency_job_id":null,"html_url":"https://github.com/edg-l/rustyman","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edg-l%2Frustyman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edg-l%2Frustyman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edg-l%2Frustyman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edg-l%2Frustyman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edg-l","download_url":"https://codeload.github.com/edg-l/rustyman/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249182966,"owners_count":21226123,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["huffman","huffman-algorithm","huffman-coding","huffman-compression-algorithm","rust"],"created_at":"2024-10-01T15:47:19.729Z","updated_at":"2025-04-16T01:48:16.872Z","avatar_url":"https://github.com/edg-l.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rustyman\n\n\n[![Version](https://img.shields.io/crates/v/rustyman)](https://crates.io/crates/rustyman)\n[![Downloads](https://img.shields.io/crates/d/rustyman)](https://crates.io/crates/rustyman)\n[![License](https://img.shields.io/crates/l/rustyman)](https://crates.io/crates/rustyman)\n![Rust](https://github.com/edg-l/rustyman/workflows/Rust/badge.svg)\n[![Docs](https://docs.rs/rustyman/badge.svg)](https://docs.rs/rustyman)\n\nHuffman compression and decompression implemented in rust\n\n### Example\n\n```rust\nuse rustyman::Huffman;\n\nlet payload = b\"hello from the other side of the river\";\n\nlet huffman = Huffman::new_from_data(payload);\nlet compressed = huffman.compress(payload);\nlet decompressed = huffman.decompress(\u0026compressed);\n\nassert!(compressed.len() \u003c payload.len());\nassert_eq!(\u0026payload[..], decompressed);\n```\n\nLicense: MIT OR Apache-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedg-l%2Frustyman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedg-l%2Frustyman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedg-l%2Frustyman/lists"}