Skip to content

Commit 52542a3

Browse files
committed
Add: bytesrw.0.3.0
1 parent 70d1dfb commit 52542a3

File tree

1 file changed

+116
-0
lines changed
  • packages/bytesrw/bytesrw.0.3.0

1 file changed

+116
-0
lines changed
Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
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.0"}
60+
]
61+
depopts: [
62+
"conf-mbedtls"
63+
"conf-xxhash"
64+
"conf-zlib"
65+
"conf-zstd"
66+
"conf-libmd"
67+
"conf-libblake3"
68+
"cmdliner"
69+
"b0"
70+
]
71+
conflicts: [
72+
"conf-zstd" {< "1.3.8"}
73+
"cmdliner" {< "2.0.0"}
74+
"b0" {< "0.0.6"}
75+
]
76+
build: [
77+
[
78+
"ocaml"
79+
"pkg/pkg.ml"
80+
"build"
81+
"--dev-pkg"
82+
"%{dev}%"
83+
"--with-cmdliner"
84+
"%{cmdliner:installed}%"
85+
"--with-b0"
86+
"%{b0:installed}%"
87+
"--with-conf-libblake3"
88+
"%{conf-libblake3:installed}%"
89+
"--with-conf-mbedtls"
90+
"%{conf-mbedtls:installed}%"
91+
"--with-conf-libmd"
92+
"%{conf-libmd:installed}%"
93+
"--with-conf-xxhash"
94+
"%{conf-xxhash:installed}%"
95+
"--with-conf-zlib"
96+
"%{conf-zlib:installed}%"
97+
"--with-conf-zstd"
98+
"%{conf-zstd:installed}%"
99+
]
100+
[
101+
"cmdliner"
102+
"install"
103+
"tool-support"
104+
"--update-opam-install=%{_:name}%.install"
105+
"_build/test/certown.native:certown" {ocaml:native}
106+
"_build/test/certown.byte:certown" {!ocaml:native}
107+
"_build/cmdliner-install"
108+
] {cmdliner:installed & b0:installed & conf-mbedtls:installed}
109+
]
110+
dev-repo: "git+https://erratique.ch/repos/bytesrw.git"
111+
url {
112+
src: "https://erratique.ch/software/bytesrw/releases/bytesrw-0.3.0.tbz"
113+
checksum:
114+
"sha512=388858b0db210a62a16f56655746fdfadbc64b22c2abb5ed5a12b2872e4f8c34f045cdb953a5dda9b92f0003c7f9f34d70fa5b5bb19fd32fb6121bbaeb7ceba0"
115+
}
116+
x-maintenance-intent: ["(latest)"]

0 commit comments

Comments
 (0)