1+ opam-version: "2.0"
2+ synopsis: "Composable byte stream readers and writers for OCaml"
3+ description: """\
4+ Bytesrw extends the OCaml `Bytes` module with composable, memory
5+ efficient, byte stream readers and writers compatible with effect
6+ based concurrency.
7+
8+ Except for byte slice life-times, these abstractions intentionally
9+ separate away ressource management and the specifics of reading and
10+ writing bytes.
11+
12+ Bytesrw distributed under the ISC license. It has no dependencies.
13+
14+ Optional support for compressed, hashed and encrypted bytes depend, at
15+ your wish, on the C [`zlib`], [`libzstd`], [`blake3`], [`libmd`],
16+ [`xxhash`] and [`mbedtls`] libraries.
17+
18+ [`blake3`]: https://blake3.io
19+ [`libzstd`]: http://zstd.net
20+ [`libmd`]: https://www.hadrons.org/software/libmd/
21+ [`xxhash`]: https://xxhash.com/
22+ [`zlib`]: https://zlib.net
23+ [`mbedtls`]: https://www.trustedfirmware.org/projects/mbed-tls
24+
25+ Homepage: <https://erratique.ch/software/bytesrw/>"""
26+ maintainer: "Daniel Bünzli <daniel.buenzl
[email protected] >"
27+ authors: "The bytesrw programmers"
28+ license: "ISC"
29+ tags: [
30+ "bytes"
31+ "entropy"
32+ "streaming"
33+ "zstd"
34+ "zlib"
35+ "gzip"
36+ "deflate"
37+ "random"
38+ "csprng"
39+ "sha1"
40+ "sha2"
41+ "compression"
42+ "hashing"
43+ "utf"
44+ "xxhash"
45+ "blake3"
46+ "psa"
47+ "tls"
48+ "cryptography"
49+ "sha3"
50+ "org:erratique"
51+ ]
52+ homepage: "https://erratique.ch/software/bytesrw"
53+ doc: "https://erratique.ch/software/bytesrw/doc"
54+ bug-reports: "https://github.com/dbuenzli/bytesrw/issues"
55+ depends: [
56+ "ocaml" {>= "4.14.0"}
57+ "ocamlfind" {build}
58+ "ocamlbuild" {build}
59+ "topkg" {build & >= "1.1.1"}
60+ "conf-pkg-config" {build}
61+ ]
62+ available: [ os-distribution != "alpine" ]
63+ depopts: [
64+ "conf-mbedtls"
65+ "conf-xxhash"
66+ "conf-zlib"
67+ "conf-zstd"
68+ "conf-libmd"
69+ "conf-libblake3"
70+ "cmdliner"
71+ "b0"
72+ ]
73+ conflicts: [
74+ "conf-zstd" {< "1.3.8"}
75+ "cmdliner" {< "2.0.0"}
76+ "b0" {< "0.0.6"}
77+ ]
78+ build: [
79+ [
80+ "ocaml"
81+ "pkg/pkg.ml"
82+ "build"
83+ "--dev-pkg"
84+ "%{dev}%"
85+ "--with-cmdliner"
86+ "%{cmdliner:installed}%"
87+ "--with-b0"
88+ "%{b0:installed}%"
89+ "--with-conf-libblake3"
90+ "%{conf-libblake3:installed}%"
91+ "--with-conf-mbedtls"
92+ "%{conf-mbedtls:installed}%"
93+ "--with-conf-libmd"
94+ "%{conf-libmd:installed}%"
95+ "--with-conf-xxhash"
96+ "%{conf-xxhash:installed}%"
97+ "--with-conf-zlib"
98+ "%{conf-zlib:installed}%"
99+ "--with-conf-zstd"
100+ "%{conf-zstd:installed}%"
101+ ]
102+ [
103+ "cmdliner"
104+ "install"
105+ "tool-support"
106+ "--update-opam-install=%{_:name}%.install"
107+ "_build/test/certown.native:certown" {ocaml:native}
108+ "_build/test/certown.byte:certown" {!ocaml:native}
109+ "_build/cmdliner-install"
110+ ] {cmdliner:installed & b0:installed & conf-mbedtls:installed}
111+ ]
112+ dev-repo: "git+https://erratique.ch/repos/bytesrw.git"
113+ url {
114+ src: "https://erratique.ch/software/bytesrw/releases/bytesrw-0.3.0.tbz"
115+ checksum:
116+ "sha512=388858b0db210a62a16f56655746fdfadbc64b22c2abb5ed5a12b2872e4f8c34f045cdb953a5dda9b92f0003c7f9f34d70fa5b5bb19fd32fb6121bbaeb7ceba0"
117+ }
118+ x-maintenance-intent: ["(latest)"]
0 commit comments