Native zlib driver for Erlang / Elixir
Erlang C M4 Makefile
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
c_src
src Release 1.0.4 Mar 22, 2018
test Fix zlib driver crashing on 1024-bytes chunks Feb 23, 2015
.gitignore Add standard P1 .gitignore Jan 21, 2016
.travis.yml
CHANGELOG.md
LICENSE.txt
Makefile Add standard P1 build chain Jan 22, 2016
README.md Add Travis-CI and Coveralls badges Jan 22, 2016
configure Release 1.0.2 Jan 10, 2017
configure.ac Release 1.0.2 Jan 10, 2017
rebar.config Update copyright year (processone/ejabberd#1442) Jan 9, 2017
rebar.config.script Fix detection of rebar3 Jan 12, 2018
vars.config.in

README.md

ezlib

Build Status Coverage Status Hex version

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.

You can use CFLAGS, CPPFLAGS and LDFLAGS to pass custom path to zlib library.

Usage

You can start ezlib with the following command:

$ 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