package lz4
All checked builds passInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=3cbbd2003916442d8ec797e48f0c8433e1a50e98c549777ad0de2e0fb774248e
sha512=54859f27d4b7c9d60be056951f0dd8617fabe7400c0a35842bb65c7f795d1859dbfec678ceea82f9c3d3521f97e7b049d06553a21a70d50d8ba69c83d4031290
Description
README
OCaml LZ4 bindings 
This package contains bindings for LZ4, a very fast lossless compression algorithm.
Installation
The bindings are available via OPAM:
$ opam install lz4Alternatively, you can do it manually:
$ opam install dune ctypes
$ make all installUsage
The bindings are contained in findlib package lz4.
To roundtrip some data:
let data = "wild wild fox" in
let compressed = LZ4.Bytes.compress (Bytes.of_string data) in
let decompressed = LZ4.Bytes.decompress ~length:(String.length data) compressed in
Printf.printf "%S\n" (Bytes.to_string decompressed) (* => "wild wild fox" *)Documentation
The API documentation is available at GitHub pages.
License
3-clause BSD (same as LZ4).
Dependencies (5)
-
ctypes
>= "0.4.1" - dune-configurator
-
dune
>= "2.0" - conf-liblz4
-
ocaml
>= "4.02"
Optional Dependencies
None
Used by (4)
-
dokeysto
< "2.0.0" - dokeysto_lz4
-
pardi
>= "2.0.2" & < "3.2.2" - proton
Conflicts
None
Build status
Results of building lz4 with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. 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 |
|---|---|---|---|---|---|
| 1.3.0 (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