Skip to content

Commit 7ebf1f5

Browse files
committed
[new release] capnp (3.5.0)
CHANGES: New features: * Add Codecs.serialize_{fold,iter}_copyless (@Cjen1, capnproto/capnp-ocaml#71). Avoids a copy when writing out fragments. Documentation: * Add example of how to use the library (@rottened23, capnproto/capnp-ocaml#62). * Extract LICENSE and identify as BSD-2-Clause (@tmcgilchrist, capnproto/capnp-ocaml#80). Build system: * Remove compiler flags for flambda (@talex5, capnproto/capnp-ocaml#83). This was very slow to compile on OCaml 4.14, and the performance benefit is minimal. * Update to dune 2 (@talex5, capnproto/capnp-ocaml#77). * Dune should not be a build dependency (@talex5, capnproto/capnp-ocaml#67). * Replace `Uint32.of_int` in unit-tests with `of_string` (@talex5, capnproto/capnp-ocaml#73). Fixed tests on 32-bit systems. * Remove Travis CI (@talex5, capnproto/capnp-ocaml#74). Replaced by ocaml-ci. * Switch from "capnpc" to "capnp compile" (@talex5, capnproto/capnp-ocaml#75). * Benchmarks: remove incorrect test for 64-bit on Windows (@dra27, capnproto/capnp-ocaml#72).
1 parent 051e397 commit 7ebf1f5

File tree

1 file changed

+40
-0
lines changed
  • packages/capnp/capnp.3.5.0

1 file changed

+40
-0
lines changed

packages/capnp/capnp.3.5.0/opam

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
opam-version: "2.0"
2+
maintainer: "Paul Pelzl <pelzlpj@gmail.com>"
3+
authors: "Paul Pelzl <pelzlpj@gmail.com>"
4+
homepage: "https://github.com/capnproto/capnp-ocaml"
5+
bug-reports: "https://github.com/capnproto/capnp-ocaml/issues"
6+
license: "BSD-2-Clause"
7+
depends: [
8+
"ocaml" {>= "4.03.0"}
9+
"dune" {>= "2.0"}
10+
"result"
11+
"base" {>= "v0.11"}
12+
"stdio"
13+
"base_quickcheck" {with-test}
14+
"ocplib-endian" {>= "0.7"}
15+
"res"
16+
"stdint" {>= "0.5.1"}
17+
"ounit" {with-test}
18+
"conf-capnproto" {with-test}
19+
]
20+
build: [
21+
["dune" "build" "-p" name "-j" jobs]
22+
["dune" "build" "-p" name "-j" jobs "@runtest" "@src/benchmark/benchmarks"] {with-test}
23+
]
24+
dev-repo: "git+https://github.com/capnproto/capnp-ocaml.git"
25+
synopsis:
26+
"OCaml code generation plugin for the Cap'n Proto serialization framework"
27+
description: """
28+
Cap'n Proto is a multi-language code generation framework designed for
29+
high performance through the use of lazy parsing and arena allocation.
30+
This package provides a plugin for the Cap'n Proto compiler which enables
31+
OCaml code generation, as well as corresponding runtime library support."""
32+
url {
33+
src:
34+
"https://github.com/capnproto/capnp-ocaml/releases/download/v3.5.0/capnp-3.5.0.tbz"
35+
checksum: [
36+
"sha256=d3060f4b6bebb69d74608519da20dab1d59c88557ebcfce8c66a8f3f7f5f6035"
37+
"sha512=43d6f06d99b4c54e8784ab3de83e1f538ff732831b4014ba983fd932e4ecbd5460837374bcf454961e4ee6de374b5169a89a417463f109dc00346d6980d2e038"
38+
]
39+
}
40+
x-commit-hash: "301fb375547ebab3036d6ea88efd07ab812b89ee"

0 commit comments

Comments
 (0)