package ezgzip
All checked builds passInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=8868eedb98f83b2d53f091a827db9b7a5b4e9ba538bbc080c91b4ac4baf679d4
sha512=766d6974057eba53e324f4299af378015024595c8e43bd0f68df5fbb33d98b42b12f7c8a6b815296d74df8eebaf969d79e7244697b918ea7b6a0b5e6f0562d77
Description
ezgzip - Simple gzip (de)compression library
ezgzip is a simple interface focused on string -> string zlib and gzip
(de)compression.
Documentation is available here.
An example illustrating how to gzip compress and then decompress a string:
open Rresult
let () =
let original = "Hello world" in
let compressed = Ezgzip.compress original in
let decompressed = R.get_ok (Ezgzip.decompress compressed) in
assert (original = decompressed)
This library currently uses the zlib bindings provided by camlzip. The gzip header/footer code is based on the upstream specification.
Added to opam-repository:
README
ezgzip - Simple gzip (de)compression library
ezgzip is a simple interface focused on string -> string zlib and gzip (de)compression.
Documentation is available here.
An example illustrating how to gzip compress and then decompress a string:
open Rresult
let () =
let original = "Hello world" in
let compressed = Ezgzip.compress original in
let decompressed = R.get_ok (Ezgzip.decompress compressed) in
assert (original = decompressed)This library currently uses the zlib bindings provided by camlzip. The gzip header/footer code is based on the upstream specification.
Compile
makeLoad an interactive environment for testing
make replThe library will be available from this environment.
Run tests
make testRun benchmarks
make benchmarkBuild documentation
make docUpload documentation to github pages
NOTE: This requires push permissions to the repository...
make gh-pages
Dev Dependencies (4)
Optional Dependencies
None
Conflicts
None
Build status
Results of building ezgzip with each compiler on check.ci.ocaml.org, run of against opam-repository 78c202b. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| 0.2.3 (this version) | good | good | good | good | good |
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure