this repo has no description
1opam-version: "2.0"
2maintainer: "Hezekiah M. Carty <hez@0ok.org>"
3authors: [ "Hezekiah M. Carty <hez@0ok.org>" ]
4license: "MIT"
5homepage: "https://github.com/hcarty/ezgzip"
6dev-repo: "git+https://github.com/hcarty/ezgzip.git"
7bug-reports: "https://github.com/hcarty/ezgzip/issues"
8build: [
9 ["jbuilder" "build" "-p" name "-j" jobs]
10 ["jbuilder" "runtest" "-p" name] {with-test}
11 ["jbuilder" "build" "@doc" "-p" name] {with-doc}
12]
13depends: [
14 "ocaml" {>= "4.03.0"}
15 "alcotest" {with-test & >= "0.8.1"}
16 "astring"
17 "benchmark" {with-test & >= "1.4"}
18 "jbuilder" {>= "1.0+beta13"}
19 "ocplib-endian"
20 "odoc" {with-doc & >= "1.1.1"}
21 "qcheck" {with-test & >= "0.7"}
22 "rresult"
23 "camlzip"
24]
25synopsis: "# ezgzip - Simple gzip (de)compression library"
26description: """
27ezgzip is a simple interface focused on `string -> string` zlib and gzip
28(de)compression.
29
30Documentation is available
31[here](https://hcarty.github.io/ezgzip/ezgzip/index.html).
32
33An example illustrating how to gzip compress and then decompress a string:
34```ocaml
35open Rresult
36
37let () =
38 let original = "Hello world" in
39 let compressed = Ezgzip.compress original in
40 let decompressed = R.get_ok (Ezgzip.decompress compressed) in
41 assert (original = decompressed)
42```
43
44This library currently uses the zlib bindings provided by
45[camlzip](https://github.com/xavierleroy/camlzip). The gzip header/footer code
46is based on the
47[upstream specification](http://www.gzip.org/zlib/rfc-gzip.html#specification)."""
48url {
49 src: "https://github.com/hcarty/ezgzip/archive/v0.2.1.tar.gz"
50 checksum: [
51 "sha256=102046af4c64956656e9eb683e4066a5d05ccfefd7f12aaa02243bfeacc405f5"
52 "md5=6a0f8aa64541a32691f9884f0ef8737f"
53 ]
54}