Skip to content

Commit 0156604

Browse files
committed
[new release] twirp (4 packages) (0.2)
CHANGES: - move to OCaml 4.12 as lower bound - do not require ocaml-protoc to build, add `make genproto`
1 parent 15d32eb commit 0156604

File tree

4 files changed

+165
-0
lines changed
  • packages
    • twirp_cohttp_lwt_unix/twirp_cohttp_lwt_unix.0.2
    • twirp_core/twirp_core.0.2
    • twirp_ezcurl/twirp_ezcurl.0.2
    • twirp_tiny_httpd/twirp_tiny_httpd.0.2

4 files changed

+165
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
opam-version: "2.0"
2+
synopsis: "Twirp client using cohttp-lwt-unix"
3+
maintainer: ["Simon Cruanes"]
4+
authors: ["Simon Cruanes"]
5+
license: "MIT"
6+
tags: ["twirp" "protobuf" "client" "rpc" "curl"]
7+
homepage: "https://github.com/c-cube/ocaml-twirp"
8+
bug-reports: "https://github.com/c-cube/ocaml-twirp/issues"
9+
depends: [
10+
"twirp_core" {= version}
11+
"dune" {>= "2.9"}
12+
"cohttp-lwt-unix" {>= "5.0"}
13+
"lwt"
14+
"odoc" {with-doc}
15+
]
16+
build: [
17+
["dune" "subst"] {dev}
18+
[
19+
"dune"
20+
"build"
21+
"-p"
22+
name
23+
"-j"
24+
jobs
25+
"--promote-install-files=false"
26+
"@install"
27+
"@runtest" {with-test}
28+
"@doc" {with-doc}
29+
]
30+
["dune" "install" "-p" name "--create-install-files" name]
31+
]
32+
dev-repo: "git+https://github.com/c-cube/ocaml-twirp.git"
33+
url {
34+
src:
35+
"https://github.com/c-cube/ocaml-twirp/releases/download/v0.2/twirp-0.2.tbz"
36+
checksum: [
37+
"sha256=b23f2c2f22ba977eb35b5eb1fdc78803df544dca83ace420fdff9a0420ffcd79"
38+
"sha512=7c098138bf87513f2299ca2b3869d800effc86a82aed6ef4e223736c1f083611782e74767b7fde581d3dafe814b2be539adfc92aa93f08f9151ff32d67faa741"
39+
]
40+
}
41+
x-commit-hash: "b6eed8c28731a5093d0604ae892da8dea668dbd3"
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
opam-version: "2.0"
2+
synopsis: "Twirp core library"
3+
maintainer: ["Simon Cruanes"]
4+
authors: ["Simon Cruanes"]
5+
license: "MIT"
6+
tags: ["twirp" "protobuf" "client" "rpc" "curl"]
7+
homepage: "https://github.com/c-cube/ocaml-twirp"
8+
bug-reports: "https://github.com/c-cube/ocaml-twirp/issues"
9+
depends: [
10+
"ocaml" {>= "4.12"}
11+
"dune" {>= "2.9"}
12+
"ocaml-protoc" {>= "3.0" & with-dev-setup}
13+
"logs"
14+
"pbrt" {>= "3.0"}
15+
"pbrt_yojson" {>= "3.0"}
16+
"pbrt_services" {>= "3.0"}
17+
"odoc" {with-doc}
18+
]
19+
build: [
20+
["dune" "subst"] {dev}
21+
[
22+
"dune"
23+
"build"
24+
"-p"
25+
name
26+
"-j"
27+
jobs
28+
"--promote-install-files=false"
29+
"@install"
30+
"@runtest" {with-test}
31+
"@doc" {with-doc}
32+
]
33+
["dune" "install" "-p" name "--create-install-files" name]
34+
]
35+
dev-repo: "git+https://github.com/c-cube/ocaml-twirp.git"
36+
url {
37+
src:
38+
"https://github.com/c-cube/ocaml-twirp/releases/download/v0.2/twirp-0.2.tbz"
39+
checksum: [
40+
"sha256=b23f2c2f22ba977eb35b5eb1fdc78803df544dca83ace420fdff9a0420ffcd79"
41+
"sha512=7c098138bf87513f2299ca2b3869d800effc86a82aed6ef4e223736c1f083611782e74767b7fde581d3dafe814b2be539adfc92aa93f08f9151ff32d67faa741"
42+
]
43+
}
44+
x-commit-hash: "b6eed8c28731a5093d0604ae892da8dea668dbd3"
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
opam-version: "2.0"
2+
synopsis: "Twirp client using Ezcurl"
3+
maintainer: ["Simon Cruanes"]
4+
authors: ["Simon Cruanes"]
5+
license: "MIT"
6+
tags: ["twirp" "protobuf" "client" "rpc" "curl"]
7+
homepage: "https://github.com/c-cube/ocaml-twirp"
8+
bug-reports: "https://github.com/c-cube/ocaml-twirp/issues"
9+
depends: [
10+
"twirp_core" {= version}
11+
"dune" {>= "2.9"}
12+
"ezcurl"
13+
"odoc" {with-doc}
14+
]
15+
build: [
16+
["dune" "subst"] {dev}
17+
[
18+
"dune"
19+
"build"
20+
"-p"
21+
name
22+
"-j"
23+
jobs
24+
"--promote-install-files=false"
25+
"@install"
26+
"@runtest" {with-test}
27+
"@doc" {with-doc}
28+
]
29+
["dune" "install" "-p" name "--create-install-files" name]
30+
]
31+
dev-repo: "git+https://github.com/c-cube/ocaml-twirp.git"
32+
url {
33+
src:
34+
"https://github.com/c-cube/ocaml-twirp/releases/download/v0.2/twirp-0.2.tbz"
35+
checksum: [
36+
"sha256=b23f2c2f22ba977eb35b5eb1fdc78803df544dca83ace420fdff9a0420ffcd79"
37+
"sha512=7c098138bf87513f2299ca2b3869d800effc86a82aed6ef4e223736c1f083611782e74767b7fde581d3dafe814b2be539adfc92aa93f08f9151ff32d67faa741"
38+
]
39+
}
40+
x-commit-hash: "b6eed8c28731a5093d0604ae892da8dea668dbd3"
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
opam-version: "2.0"
2+
synopsis: "Host Twirp services using Tiny_httpd"
3+
maintainer: ["Simon Cruanes"]
4+
authors: ["Simon Cruanes"]
5+
license: "MIT"
6+
tags: ["twirp" "protobuf" "services" "rpc"]
7+
homepage: "https://github.com/c-cube/ocaml-twirp"
8+
bug-reports: "https://github.com/c-cube/ocaml-twirp/issues"
9+
depends: [
10+
"twirp_core" {= version}
11+
"dune" {>= "2.9"}
12+
"tiny_httpd" {>= "0.16"}
13+
"odoc" {with-doc}
14+
]
15+
build: [
16+
["dune" "subst"] {dev}
17+
[
18+
"dune"
19+
"build"
20+
"-p"
21+
name
22+
"-j"
23+
jobs
24+
"--promote-install-files=false"
25+
"@install"
26+
"@runtest" {with-test}
27+
"@doc" {with-doc}
28+
]
29+
["dune" "install" "-p" name "--create-install-files" name]
30+
]
31+
dev-repo: "git+https://github.com/c-cube/ocaml-twirp.git"
32+
url {
33+
src:
34+
"https://github.com/c-cube/ocaml-twirp/releases/download/v0.2/twirp-0.2.tbz"
35+
checksum: [
36+
"sha256=b23f2c2f22ba977eb35b5eb1fdc78803df544dca83ace420fdff9a0420ffcd79"
37+
"sha512=7c098138bf87513f2299ca2b3869d800effc86a82aed6ef4e223736c1f083611782e74767b7fde581d3dafe814b2be539adfc92aa93f08f9151ff32d67faa741"
38+
]
39+
}
40+
x-commit-hash: "b6eed8c28731a5093d0604ae892da8dea668dbd3"

0 commit comments

Comments
 (0)