Skip to content

Commit cfd481a

Browse files
committed
[new release] capnp (3.6.0)
CHANGES: - Update README to talk about stdint, not uint (reported by @liyishuai). Also, remove out-of-date list of runtime packages needed. The build system can sort that out. - Remove all `inlined` attributes (@talex5 capnproto/capnp-ocaml#87 capnproto/capnp-ocaml#88). These cause confusing compiler warnings for users, which can't be disabled automatically, and the inlining isn't being used anyway since capnproto/capnp-ocaml#83. - Fix "Unknown interface" error (@talex5 capnproto/capnp-ocaml#85). It reported the UUID of the actual object, not the UUID that was requested. Also, add `Registry.pp_interface` for better error messages. - Minor opam fixes (@talex5 capnproto/capnp-ocaml#84). Depend on dune >= 2.3 and don't try to build benchmarks; that only works on some platforms. - Bump minimum OCaml version to 4.08. 4.07 doesn't work due to janestreet/base#94.
1 parent e8f8b4c commit cfd481a

File tree

1 file changed

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

1 file changed

+40
-0
lines changed

packages/capnp/capnp.3.6.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 <[email protected]>"
3+
authors: "Paul Pelzl <[email protected]>"
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.08.0"}
9+
"dune" {>= "2.3"}
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+
"ounit2" {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"] {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.6.0/capnp-3.6.0.tbz"
35+
checksum: [
36+
"sha256=d141d6ea5889fb9cc9ceef70408dd410ca0d84edae1d1208d4f90ca74ce77b18"
37+
"sha512=7d70da54317c8ec13b5129343fc9558e7fe387fc41ac0524cd9363153d47cf293ea36c5d598ab04d9817292cb84d5e764c9446ae29eebcb01976b937a82192b0"
38+
]
39+
}
40+
x-commit-hash: "cc461758431a77e6c7854f8e1875c2f91dca8ef2"

0 commit comments

Comments
 (0)