Skip to content

Commit

Permalink
Merge pull request #119 from joshtriplett/improve-zlib-ng-documentation
Browse files Browse the repository at this point in the history
Improve documentation for zlib-ng, including development workflow
  • Loading branch information
joshtriplett committed Apr 28, 2023
2 parents 9908862 + 56533aa commit c67f41c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README-zng.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ safe API to work with DEFLATE, zlib, or gzip streams, see
[`flate2`](https://docs.rs/flate2). `flate2` supports many different
implementations.

# Development

This crate is built from [the same sources as
`libz-sys`](https://github.com/rust-lang/libz-sys). From within those sources,
`Cargo.toml` is the manifest for `libz-sys`, and `Cargo-zng.toml` is the
manifest for `libz-ng-sys`. The script `./cargo-zng` invokes Cargo on a
temporary copy of the sources with `Cargo-zng.toml` replacing `Cargo.toml`; for
instance, use `./cargo-zng publish` to publish `libz-ng-sys`.

# License

This project is licensed under either of
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ if desired.

Building zlib-ng requires `cmake`.

Crates that don't require compatibility with the zlib C API, and use zlib
exclusively from Rust or support the zlib-ng native C API (prefixed with
`zng_`) can use [`libz-ng-sys`](https://crates.io/crates/libz-ng-sys) instead,
which allows zlib and zlib-ng to coexist in the same program. See
[README-zng.md](README-zng.md) for details.

# License

This project is licensed under either of
Expand Down

0 comments on commit c67f41c

Please sign in to comment.