https://github.com/processone/ezlib
Native zlib driver for Erlang / Elixir
https://github.com/processone/ezlib
Last synced: 7 months ago
JSON representation
Native zlib driver for Erlang / Elixir
- Host: GitHub
- URL: https://github.com/processone/ezlib
- Owner: processone
- License: other
- Created: 2016-01-21T21:41:17.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2025-05-27T10:00:07.000Z (9 months ago)
- Last Synced: 2025-06-09T13:13:19.054Z (8 months ago)
- Language: Erlang
- Homepage: https://www.ejabberd.im
- Size: 152 KB
- Stars: 13
- Watchers: 12
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# ezlib
[](https://github.com/processone/ezlib/actions/workflows/ci.yml)
[](https://coveralls.io/github/processone/ezlib?branch=master)
[](https://hex.pm/packages/ezlib)
Native zlib driver for Erlang / Elixir. This library focuses on
compression / decompression of data streams.
## Building
ezlib library can be build as follow:
./configure && make
ezlib is a rebar-compatible OTP application. Alternatively, you can
build it with rebar:
rebar compile
## Dependencies
ezlib library depends on [zlib](http://www.zlib.net/).
You can use CFLAGS, CPPFLAGS and LDFLAGS to pass custom path to zlib
library.
## Usage
You can start ezlib with the following command:
```shell
$ erl -pa ebin
Erlang/OTP 17 [erts-6.3] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]
Eshell V6.3 (abort with ^G)
% Start the application:
1> application:start(ezlib).
```
## Development
### Test
#### Unit test
You can run eunit test with the command:
$ rebar eunit