Skip to content

Commit 3c644fb

Browse files
committed
[new release] moonpool (3 packages) (0.9)
CHANGES: - breaking: require OCaml 5 * no further need for a preprocessor * forkjoin not longer optional - moonpool-lwt: large changes, including a Runner that runs inside `Lwt_unix`'s event loop and can thus use any `_ Lwt.t` function - remove bounded_queue - fix core: better repropagating of errors - add `Fut.{cancel,try_cancel}` - perf: `await` on immediately ready timer queues its task - feat: add `Moonpool.yield` - deprecate moonpool.sync - deprecate moonpool_io
1 parent 5ea7156 commit 3c644fb

File tree

3 files changed

+133
-0
lines changed
  • packages
    • moonpool-io/moonpool-io.0.9
    • moonpool-lwt/moonpool-lwt.0.9
    • moonpool/moonpool.0.9

3 files changed

+133
-0
lines changed
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: "Async IO for moonpool, relying on picos (experimental)"
3+
maintainer: ["Simon Cruanes"]
4+
authors: ["Simon Cruanes"]
5+
license: "MIT"
6+
homepage: "https://github.com/c-cube/moonpool"
7+
bug-reports: "https://github.com/c-cube/moonpool/issues"
8+
depends: [
9+
"dune" {>= "3.0"}
10+
"moonpool" {= version}
11+
"picos_io" {>= "0.5" & < "0.7"}
12+
"ocaml" {>= "5.0"}
13+
"trace" {with-test}
14+
"trace-tef" {with-test}
15+
"odoc" {with-doc}
16+
]
17+
build: [
18+
["dune" "subst"] {dev}
19+
[
20+
"dune"
21+
"build"
22+
"-p"
23+
name
24+
"-j"
25+
jobs
26+
"@install"
27+
"@runtest" {with-test}
28+
"@doc" {with-doc}
29+
]
30+
]
31+
dev-repo: "git+https://github.com/c-cube/moonpool.git"
32+
url {
33+
src:
34+
"https://github.com/c-cube/moonpool/releases/download/v0.9/moonpool-0.9.tbz"
35+
checksum: [
36+
"sha256=7194610ba86525f05f9cda15c6f28790ab15804e840bc71269f4590d81d8a390"
37+
"sha512=625092e840589f2fd46ab88cf72714f4b415d8de0d50e46d4c202149ad7d4e38416a2c5f0100addc23781d6000d3951682b22a915af7f0f69d260d7cf4add9de"
38+
]
39+
}
40+
x-commit-hash: "0e5a2896ef2778725ce620f2f8fa96d586342287"
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
opam-version: "2.0"
2+
synopsis: "Event loop for moonpool based on Lwt-engine (experimental)"
3+
maintainer: ["Simon Cruanes"]
4+
authors: ["Simon Cruanes"]
5+
license: "MIT"
6+
homepage: "https://github.com/c-cube/moonpool"
7+
bug-reports: "https://github.com/c-cube/moonpool/issues"
8+
depends: [
9+
"dune" {>= "3.0"}
10+
"moonpool" {= version}
11+
"ocaml" {>= "5.0"}
12+
"qcheck-core" {with-test & >= "0.19"}
13+
"hmap" {with-test}
14+
"lwt"
15+
"base-unix"
16+
"trace" {with-test}
17+
"trace-tef" {with-test}
18+
"odoc" {with-doc}
19+
]
20+
build: [
21+
["dune" "subst"] {dev}
22+
[
23+
"dune"
24+
"build"
25+
"-p"
26+
name
27+
"-j"
28+
jobs
29+
"@install"
30+
"@runtest" {with-test}
31+
"@doc" {with-doc}
32+
]
33+
]
34+
dev-repo: "git+https://github.com/c-cube/moonpool.git"
35+
url {
36+
src:
37+
"https://github.com/c-cube/moonpool/releases/download/v0.9/moonpool-0.9.tbz"
38+
checksum: [
39+
"sha256=7194610ba86525f05f9cda15c6f28790ab15804e840bc71269f4590d81d8a390"
40+
"sha512=625092e840589f2fd46ab88cf72714f4b415d8de0d50e46d4c202149ad7d4e38416a2c5f0100addc23781d6000d3951682b22a915af7f0f69d260d7cf4add9de"
41+
]
42+
}
43+
x-commit-hash: "0e5a2896ef2778725ce620f2f8fa96d586342287"
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
opam-version: "2.0"
2+
synopsis: "Pools of threads supported by a pool of domains"
3+
maintainer: ["Simon Cruanes"]
4+
authors: ["Simon Cruanes"]
5+
license: "MIT"
6+
tags: ["thread" "pool" "domain" "futures" "fork-join"]
7+
homepage: "https://github.com/c-cube/moonpool"
8+
bug-reports: "https://github.com/c-cube/moonpool/issues"
9+
depends: [
10+
"ocaml" {>= "5.0"}
11+
"dune" {>= "3.0"}
12+
"either" {>= "1.0"}
13+
"trace" {with-test}
14+
"trace-tef" {with-test}
15+
"qcheck-core" {with-test & >= "0.19"}
16+
"thread-local-storage" {>= "0.2" & < "0.3"}
17+
"odoc" {with-doc}
18+
"hmap" {with-test}
19+
"picos" {>= "0.5" & < "0.7"}
20+
"picos_std" {>= "0.5" & < "0.7"}
21+
"mdx" {>= "1.9.0" & with-test}
22+
]
23+
depopts: [
24+
"hmap"
25+
"trace" {>= "0.6"}
26+
]
27+
build: [
28+
["dune" "subst"] {dev}
29+
[
30+
"dune"
31+
"build"
32+
"-p"
33+
name
34+
"-j"
35+
jobs
36+
"@install"
37+
"@runtest" {with-test}
38+
"@doc" {with-doc}
39+
]
40+
]
41+
dev-repo: "git+https://github.com/c-cube/moonpool.git"
42+
url {
43+
src:
44+
"https://github.com/c-cube/moonpool/releases/download/v0.9/moonpool-0.9.tbz"
45+
checksum: [
46+
"sha256=7194610ba86525f05f9cda15c6f28790ab15804e840bc71269f4590d81d8a390"
47+
"sha512=625092e840589f2fd46ab88cf72714f4b415d8de0d50e46d4c202149ad7d4e38416a2c5f0100addc23781d6000d3951682b22a915af7f0f69d260d7cf4add9de"
48+
]
49+
}
50+
x-commit-hash: "0e5a2896ef2778725ce620f2f8fa96d586342287"

0 commit comments

Comments
 (0)