mirror of
https://github.com/c-cube/nanoev.git
synced 2025-12-05 19:00:35 -05:00
require OCaml 4.12
This commit is contained in:
parent
066604538f
commit
2cf34abb50
5 changed files with 28 additions and 10 deletions
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
|
|
@ -16,6 +16,7 @@ jobs:
|
|||
os:
|
||||
- ubuntu-latest
|
||||
ocaml-compiler:
|
||||
- '4.12'
|
||||
- '5.0'
|
||||
- '5.3'
|
||||
|
||||
|
|
|
|||
31
dune-project
31
dune-project
|
|
@ -1,11 +1,18 @@
|
|||
(lang dune 2.7)
|
||||
|
||||
(name nanoev)
|
||||
|
||||
(generate_opam_files true)
|
||||
|
||||
(source
|
||||
(github c-cube/nanoev))
|
||||
|
||||
(authors "Simon Cruanes")
|
||||
|
||||
(maintainers "Simon Cruanes")
|
||||
|
||||
(version 0.1)
|
||||
|
||||
(license MIT)
|
||||
|
||||
;(documentation https://url/to/documentation)
|
||||
|
|
@ -13,7 +20,11 @@
|
|||
(package
|
||||
(name nanoev)
|
||||
(synopsis "Tiny event loop abstraction")
|
||||
(depends ocaml dune base-unix)
|
||||
(depends
|
||||
(ocaml
|
||||
(>= 4.12))
|
||||
dune
|
||||
base-unix)
|
||||
(depopts
|
||||
(trace
|
||||
(>= 0.7)))
|
||||
|
|
@ -24,7 +35,8 @@
|
|||
(name nanoev-picos)
|
||||
(synopsis "Use nanoev from picos")
|
||||
(depends
|
||||
ocaml
|
||||
(ocaml
|
||||
(>= 4.12))
|
||||
dune
|
||||
base-unix
|
||||
(nanoev
|
||||
|
|
@ -46,12 +58,15 @@
|
|||
(name nanoev-posix)
|
||||
(synopsis "Use mtime+iomux (posix compliant) as a backend for nanoev")
|
||||
(depends
|
||||
ocaml
|
||||
(ocaml
|
||||
(>= 4.12))
|
||||
dune
|
||||
base-unix
|
||||
iomux
|
||||
(nanoev (= :version))
|
||||
(nanoev-picos (= :version))
|
||||
(nanoev
|
||||
(= :version))
|
||||
(nanoev-picos
|
||||
(= :version))
|
||||
(mtime
|
||||
(>= 2.0))
|
||||
(moonpool :with-test)
|
||||
|
|
@ -66,8 +81,10 @@
|
|||
(depends
|
||||
ocaml
|
||||
dune
|
||||
(nanoev (= :version))
|
||||
(nanoev-picos (= :version))
|
||||
(nanoev
|
||||
(= :version))
|
||||
(nanoev-picos
|
||||
(= :version))
|
||||
picos
|
||||
picos_std
|
||||
(tiny_httpd
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ tags: ["unix" "select" "async"]
|
|||
homepage: "https://github.com/c-cube/nanoev"
|
||||
bug-reports: "https://github.com/c-cube/nanoev/issues"
|
||||
depends: [
|
||||
"ocaml"
|
||||
"ocaml" {>= "4.12"}
|
||||
"dune" {>= "2.7"}
|
||||
"base-unix"
|
||||
"nanoev" {= version}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ tags: ["unix" "select" "async" "iomux" "nanoev"]
|
|||
homepage: "https://github.com/c-cube/nanoev"
|
||||
bug-reports: "https://github.com/c-cube/nanoev/issues"
|
||||
depends: [
|
||||
"ocaml"
|
||||
"ocaml" {>= "4.12"}
|
||||
"dune" {>= "2.7"}
|
||||
"base-unix"
|
||||
"iomux"
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ tags: ["unix" "select" "async"]
|
|||
homepage: "https://github.com/c-cube/nanoev"
|
||||
bug-reports: "https://github.com/c-cube/nanoev/issues"
|
||||
depends: [
|
||||
"ocaml"
|
||||
"ocaml" {>= "4.12"}
|
||||
"dune" {>= "2.7"}
|
||||
"base-unix"
|
||||
"odoc" {with-doc}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue