{"id":15030726,"url":"https://github.com/rust-lang/libz-sys","last_synced_at":"2026-03-10T05:19:50.003Z","repository":{"id":22698093,"uuid":"26042019","full_name":"rust-lang/libz-sys","owner":"rust-lang","description":"Rust crate package to link to a system libz (zlib)","archived":false,"fork":false,"pushed_at":"2025-04-28T20:35:21.000Z","size":1030,"stargazers_count":123,"open_issues_count":23,"forks_count":79,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-05-08T00:03:49.606Z","etag":null,"topics":["rust","rust-lang","zlib","zlib-ng"],"latest_commit_sha":null,"homepage":null,"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/rust-lang.png","metadata":{"files":{"readme":"README-zng.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2014-11-01T04:46:00.000Z","updated_at":"2025-04-28T20:30:15.000Z","dependencies_parsed_at":"2022-09-01T12:00:52.270Z","dependency_job_id":"aaa4fc49-1a8f-4650-895c-0a8caadb0c51","html_url":"https://github.com/rust-lang/libz-sys","commit_stats":{"total_commits":322,"total_committers":52,"mean_commits":"6.1923076923076925","dds":0.7049689440993789,"last_synced_commit":"223f5650c75fb4c0fec5e00fc47f2fd6b1a95cc2"},"previous_names":[],"tags_count":51,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Flibz-sys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Flibz-sys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Flibz-sys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Flibz-sys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rust-lang","download_url":"https://codeload.github.com/rust-lang/libz-sys/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254044970,"owners_count":22005267,"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":["rust","rust-lang","zlib","zlib-ng"],"created_at":"2024-09-24T20:14:10.294Z","updated_at":"2026-02-24T06:59:18.530Z","avatar_url":"https://github.com/rust-lang.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# libz-ng-sys\n\nA library for linking zlib-ng (`libz-ng`) to Rust programs natively, rather\nthan in zlib-compat mode.\n\nzlib-ng is a high-performance implementation of zlib. zlib-ng supports building\nin two modes: zlib-compat mode, in which it provides the same API as zlib and\ngenerally works as a drop-in replacement, and native mode, in which it provides\nits own API. The native API is almost identical to the zlib-compat API, except\nthat some types use more correct sizes (rather than the sizes required for zlib\ncompatibility), and the functions all have a `zng_` prefix. The latter allows\nzlib and zlib-ng to coexist in the same program.\n\nThis crate provides bindings to the native zlib-ng API. However, for simplicity\nof porting, this crate exports the same API as libz-sys (without the `zng_`\nprefixes), making it easier to write Rust software compatible with both\nlibz-sys and libz-ng-sys.\n\n# High-level API\n\nThis crate provides bindings to the raw low-level C API. For a higher-level\nsafe API to work with DEFLATE, zlib, or gzip streams, see\n[`flate2`](https://docs.rs/flate2). `flate2` supports many different\nimplementations.\n\n# Development\n\nThis crate is built from [the same sources as\n`libz-sys`](https://github.com/rust-lang/libz-sys). From within those sources,\n`Cargo.toml` is the manifest for `libz-sys`, and `Cargo-zng.toml` is the\nmanifest for `libz-ng-sys`. The script `./cargo-zng` invokes Cargo on a\ntemporary copy of the sources with `Cargo-zng.toml` replacing `Cargo.toml`; for\ninstance, use `./cargo-zng publish` to publish `libz-ng-sys`.\n\n# Minimum Supported Rust Version (MSRV) Policy\n\nThis crate uses the same MSRV policy as the\n[`flate2`](https://crates.io/crates/flate2) crate: This crate supports the\ncurrent and previous stable versions of Rust. Older versions of Rust may work,\nbut we don't guarantee these will continue to work.\n\n# License\n\nThis project is licensed under either of\n\n * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or\n   https://www.apache.org/licenses/LICENSE-2.0)\n * MIT license ([LICENSE-MIT](LICENSE-MIT) or\n   https://opensource.org/license/mit/)\n\nat your option.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in this crate by you, as defined in the Apache-2.0 license, shall\nbe dual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-lang%2Flibz-sys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frust-lang%2Flibz-sys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-lang%2Flibz-sys/lists"}