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"
5synopsis: "Simple gzip (de)compression library"
6description: """
7# ezgzip - Simple gzip (de)compression library
8
9ezgzip is a simple interface focused on `string -> string` zlib and gzip
10(de)compression.
11
12Documentation is available
13[here](https://hcarty.github.io/ezgzip/ezgzip/index.html).
14
15An example illustrating how to gzip compress and then decompress a string:
16```ocaml
17open Rresult
18
19let () =
20 let original = "Hello world" in
21 let compressed = Ezgzip.compress original in
22 let decompressed = R.get_ok (Ezgzip.decompress compressed) in
23 assert (original = decompressed)
24```
25
26This library currently uses the zlib bindings provided by
27[camlzip](https://github.com/xavierleroy/camlzip). The gzip header/footer code
28is based on the
29[upstream specification](http://www.gzip.org/zlib/rfc-gzip.html#specification).
30"""
31homepage: "https://github.com/hcarty/ezgzip"
32dev-repo: "git+https://github.com/hcarty/ezgzip.git"
33bug-reports: "https://github.com/hcarty/ezgzip/issues"
34doc: "https://hcarty.github.io/ezgzip/ezgzip/"
35build: [
36 ["dune" "build" "-p" name "-j" jobs]
37 ["dune" "runtest" "-p" name "-j" jobs] {with-test}
38 ["dune" "build" "-p" name "-j" jobs] {with-doc}
39]
40depends: [
41 "alcotest" {with-test & >= "0.8.1"}
42 "astring"
43 "benchmark" {with-test & >= "1.4"}
44 "dune" {>= "1.0"}
45 "ocplib-endian"
46 "odoc" {with-doc & >= "1.1.1"}
47 "qcheck" {with-test & >= "0.7"}
48 "rresult"
49 "camlzip"
50 "ocaml" {>= "4.03.0"}
51]
52url {
53 src:
54 "https://github.com/hcarty/ezgzip/releases/download/v0.2.3/ezgzip-v0.2.3.tbz"
55 checksum: [
56 "sha256=8868eedb98f83b2d53f091a827db9b7a5b4e9ba538bbc080c91b4ac4baf679d4"
57 "sha512=766d6974057eba53e324f4299af378015024595c8e43bd0f68df5fbb33d98b42b12f7c8a6b815296d74df8eebaf969d79e7244697b918ea7b6a0b5e6f0562d77"
58 ]
59}