mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-05 19:00:33 -05:00
chore: add moonpool-io as a library
This commit is contained in:
parent
532ec36579
commit
b57ccc5142
3 changed files with 50 additions and 6 deletions
17
dune-project
17
dune-project
|
|
@ -29,9 +29,6 @@
|
|||
:with-test)))
|
||||
(depopts
|
||||
(trace (>= 0.6))
|
||||
(mtime (>= 2.0))
|
||||
(iostream (>= 0.2))
|
||||
(poll (>= 0.3))
|
||||
thread-local-storage)
|
||||
(tags
|
||||
(thread pool domain futures fork-join)))
|
||||
|
|
@ -47,4 +44,18 @@
|
|||
base-unix
|
||||
(odoc :with-doc)))
|
||||
|
||||
(package
|
||||
(name moonpool-io)
|
||||
(synopsis "Event loop for moonpool based on Poll")
|
||||
(allow_empty) ; on < 5.0
|
||||
(depends
|
||||
(moonpool (= :version))
|
||||
(ocaml (>= 5.0))
|
||||
base-unix
|
||||
(iostream (>= 0.2))
|
||||
(poll (>= 0.3))
|
||||
(odoc :with-doc))
|
||||
(depopts
|
||||
(mtime (>= 2.0))))
|
||||
|
||||
; See the complete stanza docs at https://dune.readthedocs.io/en/stable/dune-files.html#dune-project
|
||||
|
|
|
|||
36
moonpool-io.opam
Normal file
36
moonpool-io.opam
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
# This file is generated by dune, edit dune-project instead
|
||||
opam-version: "2.0"
|
||||
version: "0.5.1"
|
||||
synopsis: "Event loop for moonpool based on Poll"
|
||||
maintainer: ["Simon Cruanes"]
|
||||
authors: ["Simon Cruanes"]
|
||||
license: "MIT"
|
||||
homepage: "https://github.com/c-cube/moonpool"
|
||||
bug-reports: "https://github.com/c-cube/moonpool/issues"
|
||||
depends: [
|
||||
"dune" {>= "3.0"}
|
||||
"moonpool" {= version}
|
||||
"ocaml" {>= "5.0"}
|
||||
"base-unix"
|
||||
"iostream" {>= "0.2"}
|
||||
"poll" {>= "0.3"}
|
||||
"odoc" {with-doc}
|
||||
]
|
||||
depopts: [
|
||||
"mtime" {>= "2.0"}
|
||||
]
|
||||
build: [
|
||||
["dune" "subst"] {dev}
|
||||
[
|
||||
"dune"
|
||||
"build"
|
||||
"-p"
|
||||
name
|
||||
"-j"
|
||||
jobs
|
||||
"@install"
|
||||
"@runtest" {with-test}
|
||||
"@doc" {with-doc}
|
||||
]
|
||||
]
|
||||
dev-repo: "git+https://github.com/c-cube/moonpool.git"
|
||||
|
|
@ -20,9 +20,6 @@ depends: [
|
|||
]
|
||||
depopts: [
|
||||
"trace" {>= "0.6"}
|
||||
"mtime" {>= "2.0"}
|
||||
"iostream" {>= "0.2"}
|
||||
"poll" {>= "0.3"}
|
||||
"thread-local-storage"
|
||||
]
|
||||
build: [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue