Skip to content

Commit

Permalink
[new release] capnp-rpc-mirage, capnp-rpc-net, capnp-rpc, capnp-rpc-u…
Browse files Browse the repository at this point in the history
…nix and capnp-rpc-lwt (1.0)

CHANGES:

- Skip the setting of `object_id` if it is empty (@LasseBlaauwbroek mirage/capnp-rpc#224).
  This improves interoperability with the C++ implementation.

- Use `open_in_bin` instead of `open_in` for Windows compatibility (@MisterDA mirage/capnp-rpc#222).
  • Loading branch information
talex5 committed Apr 6, 2021
1 parent aef3a51 commit f351785
Show file tree
Hide file tree
Showing 5 changed files with 214 additions and 0 deletions.
39 changes: 39 additions & 0 deletions packages/capnp-rpc-lwt/capnp-rpc-lwt.1.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
opam-version: "2.0"
synopsis:
"Cap'n Proto is a capability-based RPC system with bindings for many languages"
description: """
This package provides a version of the Cap'n Proto RPC system using the Cap'n
Proto serialisation format and Lwt for concurrency."""
maintainer: "Thomas Leonard <[email protected]>"
authors: "Thomas Leonard <[email protected]>"
license: "Apache-2.0"
homepage: "https://github.com/mirage/capnp-rpc"
bug-reports: "https://github.com/mirage/capnp-rpc/issues"
doc: "https://mirage.github.io/capnp-rpc/"
depends: [
"ocaml" {>= "4.03.0"}
"conf-capnproto" {build}
"capnp" {>= "3.4.0"}
"capnp-rpc" {= version}
"lwt"
"astring"
"fmt"
"logs"
"asetmap"
"uri" {>= "1.6.0"}
"dune" {>= "2.0"}
]
build: [
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
dev-repo: "git+https://github.com/mirage/capnp-rpc.git"
x-commit-hash: "c565f59dc5dd0bef9c26a8108f3e188ada6ab877"
url {
src:
"https://github.com/mirage/capnp-rpc/releases/download/v1.0/capnp-rpc-v1.0.tbz"
checksum: [
"sha256=c04c8895746cd408f337331f950323accdd9ca62a6b242ad431f9d94954eb595"
"sha512=8f54260adc7dc7ba102689dfde171e0e7dc0108c36bd13c877a9836373227647c7ed5283850fc830673d6e03f6387899827b0b0665400901955083ab484d22d7"
]
}
46 changes: 46 additions & 0 deletions packages/capnp-rpc-mirage/capnp-rpc-mirage.1.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
opam-version: "2.0"
synopsis:
"Cap'n Proto is a capability-based RPC system with bindings for many languages"
description:
"This package provides a version of the Cap'n Proto RPC system for use with MirageOS."
maintainer: "Thomas Leonard <[email protected]>"
authors: "Thomas Leonard <[email protected]>"
license: "Apache-2.0"
homepage: "https://github.com/mirage/capnp-rpc"
doc: "https://mirage.github.io/capnp-rpc/"
bug-reports: "https://github.com/mirage/capnp-rpc/issues"
depends: [
"ocaml" {>= "4.08.0"}
"capnp" {>= "3.1.0"}
"capnp-rpc-net" {= version}
"astring" {with-test}
"fmt"
"logs"
"dns-client" {>= "4.5.0"}
"tls-mirage"
"mirage-stack" {>= "2.0.0"}
"arp-mirage" {with-test}
"alcotest" {>= "1.0.1" & with-test}
"alcotest-lwt" {>= "1.0.1" & with-test}
"io-page-unix" {with-test}
"tcpip" {>= "5.0.0" & with-test}
"mirage-vnetif" {with-test}
"mirage-crypto-rng" {>= "0.7.0" & with-test}
"dune" {>= "2.0"}
"asetmap" {with-test}
"ethernet" {>= "2.2.0" & with-test}
]
build: [
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
dev-repo: "git+https://github.com/mirage/capnp-rpc.git"
x-commit-hash: "c565f59dc5dd0bef9c26a8108f3e188ada6ab877"
url {
src:
"https://github.com/mirage/capnp-rpc/releases/download/v1.0/capnp-rpc-v1.0.tbz"
checksum: [
"sha256=c04c8895746cd408f337331f950323accdd9ca62a6b242ad431f9d94954eb595"
"sha512=8f54260adc7dc7ba102689dfde171e0e7dc0108c36bd13c877a9836373227647c7ed5283850fc830673d6e03f6387899827b0b0665400901955083ab484d22d7"
]
}
49 changes: 49 additions & 0 deletions packages/capnp-rpc-net/capnp-rpc-net.1.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
opam-version: "2.0"
synopsis:
"Cap'n Proto is a capability-based RPC system with bindings for many languages"
description: """
This package provides support for using Cap'n Proto services over a network,
optionally using TLS."""
maintainer: "Thomas Leonard <[email protected]>"
authors: "Thomas Leonard <[email protected]>"
license: "Apache-2.0"
homepage: "https://github.com/mirage/capnp-rpc"
bug-reports: "https://github.com/mirage/capnp-rpc/issues"
doc: "https://mirage.github.io/capnp-rpc/"
depends: [
"ocaml" {>= "4.08.0"}
"conf-capnproto" {build}
"capnp" {>= "3.4.0"}
"capnp-rpc" {= version}
"capnp-rpc-lwt" {= version}
"astring"
"fmt"
"logs"
"asetmap"
"mirage-flow" {>="2.0.0"}
"tls" {>= "0.8.0"}
"base64" {>= "3.0.0"}
"uri" {>= "1.6.0"}
"ptime"
"prometheus" {>= "0.5"}
"asn1-combinators" {>= "0.2.0"}
"x509" {>= "0.11.0"}
"tls-mirage"
"dune" {>= "2.0"}
"mirage-crypto"
"mirage-crypto-rng"
]
build: [
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
dev-repo: "git+https://github.com/mirage/capnp-rpc.git"
x-commit-hash: "c565f59dc5dd0bef9c26a8108f3e188ada6ab877"
url {
src:
"https://github.com/mirage/capnp-rpc/releases/download/v1.0/capnp-rpc-v1.0.tbz"
checksum: [
"sha256=c04c8895746cd408f337331f950323accdd9ca62a6b242ad431f9d94954eb595"
"sha512=8f54260adc7dc7ba102689dfde171e0e7dc0108c36bd13c877a9836373227647c7ed5283850fc830673d6e03f6387899827b0b0665400901955083ab484d22d7"
]
}
42 changes: 42 additions & 0 deletions packages/capnp-rpc-unix/capnp-rpc-unix.1.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
opam-version: "2.0"
synopsis:
"Cap'n Proto is a capability-based RPC system with bindings for many languages"
description:
"This package contains some helpers for use with traditional (non-Unikernel) operating systems."
maintainer: "Thomas Leonard <[email protected]>"
authors: "Thomas Leonard <[email protected]>"
license: "Apache-2.0"
homepage: "https://github.com/mirage/capnp-rpc"
doc: "https://mirage.github.io/capnp-rpc/"
bug-reports: "https://github.com/mirage/capnp-rpc/issues"
depends: [
"ocaml" {>= "4.08.0"}
"capnp-rpc-net" {= version}
"cmdliner"
"cstruct-lwt"
"astring"
"fmt" {>= "0.8.4"}
"logs"
"extunix"
"base64" {>= "3.0.0"}
"dune" {>= "2.0"}
"alcotest" {>= "1.0.1" & with-test}
"alcotest-lwt" { >= "1.0.1" & with-test}
"mirage-crypto-rng" {>= "0.7.0"}
"lwt"
"asetmap" {with-test}
]
build: [
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
dev-repo: "git+https://github.com/mirage/capnp-rpc.git"
x-commit-hash: "c565f59dc5dd0bef9c26a8108f3e188ada6ab877"
url {
src:
"https://github.com/mirage/capnp-rpc/releases/download/v1.0/capnp-rpc-v1.0.tbz"
checksum: [
"sha256=c04c8895746cd408f337331f950323accdd9ca62a6b242ad431f9d94954eb595"
"sha512=8f54260adc7dc7ba102689dfde171e0e7dc0108c36bd13c877a9836373227647c7ed5283850fc830673d6e03f6387899827b0b0665400901955083ab484d22d7"
]
}
38 changes: 38 additions & 0 deletions packages/capnp-rpc/capnp-rpc.1.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
opam-version: "2.0"
synopsis:
"Cap'n Proto is a capability-based RPC system with bindings for many languages"
description: """
This package contains the core protocol.
Users will normally want to use `capnp-rpc-lwt` and, in most cases,
`capnp-rpc-unix` rather than using this one directly."""
maintainer: "Thomas Leonard <[email protected]>"
authors: "Thomas Leonard <[email protected]>"
license: "Apache-2.0"
homepage: "https://github.com/mirage/capnp-rpc"
bug-reports: "https://github.com/mirage/capnp-rpc/issues"
doc: "https://mirage.github.io/capnp-rpc/"
depends: [
"ocaml" {>= "4.03.0"}
"stdint"
"astring"
"fmt"
"logs"
"asetmap"
"dune" {>= "2.0"}
"alcotest" {with-test & >= "1.0.1"}
"afl-persistent" {with-test}
]
build: [
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
dev-repo: "git+https://github.com/mirage/capnp-rpc.git"
x-commit-hash: "c565f59dc5dd0bef9c26a8108f3e188ada6ab877"
url {
src:
"https://github.com/mirage/capnp-rpc/releases/download/v1.0/capnp-rpc-v1.0.tbz"
checksum: [
"sha256=c04c8895746cd408f337331f950323accdd9ca62a6b242ad431f9d94954eb595"
"sha512=8f54260adc7dc7ba102689dfde171e0e7dc0108c36bd13c877a9836373227647c7ed5283850fc830673d6e03f6387899827b0b0665400901955083ab484d22d7"
]
}

0 comments on commit f351785

Please sign in to comment.