mirror of
https://github.com/c-cube/nanoev.git
synced 2025-12-06 03:05:32 -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:
|
os:
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
ocaml-compiler:
|
ocaml-compiler:
|
||||||
|
- '4.12'
|
||||||
- '5.0'
|
- '5.0'
|
||||||
- '5.3'
|
- '5.3'
|
||||||
|
|
||||||
|
|
|
||||||
31
dune-project
31
dune-project
|
|
@ -1,11 +1,18 @@
|
||||||
(lang dune 2.7)
|
(lang dune 2.7)
|
||||||
|
|
||||||
(name nanoev)
|
(name nanoev)
|
||||||
|
|
||||||
(generate_opam_files true)
|
(generate_opam_files true)
|
||||||
|
|
||||||
(source
|
(source
|
||||||
(github c-cube/nanoev))
|
(github c-cube/nanoev))
|
||||||
|
|
||||||
(authors "Simon Cruanes")
|
(authors "Simon Cruanes")
|
||||||
|
|
||||||
(maintainers "Simon Cruanes")
|
(maintainers "Simon Cruanes")
|
||||||
|
|
||||||
(version 0.1)
|
(version 0.1)
|
||||||
|
|
||||||
(license MIT)
|
(license MIT)
|
||||||
|
|
||||||
;(documentation https://url/to/documentation)
|
;(documentation https://url/to/documentation)
|
||||||
|
|
@ -13,7 +20,11 @@
|
||||||
(package
|
(package
|
||||||
(name nanoev)
|
(name nanoev)
|
||||||
(synopsis "Tiny event loop abstraction")
|
(synopsis "Tiny event loop abstraction")
|
||||||
(depends ocaml dune base-unix)
|
(depends
|
||||||
|
(ocaml
|
||||||
|
(>= 4.12))
|
||||||
|
dune
|
||||||
|
base-unix)
|
||||||
(depopts
|
(depopts
|
||||||
(trace
|
(trace
|
||||||
(>= 0.7)))
|
(>= 0.7)))
|
||||||
|
|
@ -24,7 +35,8 @@
|
||||||
(name nanoev-picos)
|
(name nanoev-picos)
|
||||||
(synopsis "Use nanoev from picos")
|
(synopsis "Use nanoev from picos")
|
||||||
(depends
|
(depends
|
||||||
ocaml
|
(ocaml
|
||||||
|
(>= 4.12))
|
||||||
dune
|
dune
|
||||||
base-unix
|
base-unix
|
||||||
(nanoev
|
(nanoev
|
||||||
|
|
@ -46,12 +58,15 @@
|
||||||
(name nanoev-posix)
|
(name nanoev-posix)
|
||||||
(synopsis "Use mtime+iomux (posix compliant) as a backend for nanoev")
|
(synopsis "Use mtime+iomux (posix compliant) as a backend for nanoev")
|
||||||
(depends
|
(depends
|
||||||
ocaml
|
(ocaml
|
||||||
|
(>= 4.12))
|
||||||
dune
|
dune
|
||||||
base-unix
|
base-unix
|
||||||
iomux
|
iomux
|
||||||
(nanoev (= :version))
|
(nanoev
|
||||||
(nanoev-picos (= :version))
|
(= :version))
|
||||||
|
(nanoev-picos
|
||||||
|
(= :version))
|
||||||
(mtime
|
(mtime
|
||||||
(>= 2.0))
|
(>= 2.0))
|
||||||
(moonpool :with-test)
|
(moonpool :with-test)
|
||||||
|
|
@ -66,8 +81,10 @@
|
||||||
(depends
|
(depends
|
||||||
ocaml
|
ocaml
|
||||||
dune
|
dune
|
||||||
(nanoev (= :version))
|
(nanoev
|
||||||
(nanoev-picos (= :version))
|
(= :version))
|
||||||
|
(nanoev-picos
|
||||||
|
(= :version))
|
||||||
picos
|
picos
|
||||||
picos_std
|
picos_std
|
||||||
(tiny_httpd
|
(tiny_httpd
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ tags: ["unix" "select" "async"]
|
||||||
homepage: "https://github.com/c-cube/nanoev"
|
homepage: "https://github.com/c-cube/nanoev"
|
||||||
bug-reports: "https://github.com/c-cube/nanoev/issues"
|
bug-reports: "https://github.com/c-cube/nanoev/issues"
|
||||||
depends: [
|
depends: [
|
||||||
"ocaml"
|
"ocaml" {>= "4.12"}
|
||||||
"dune" {>= "2.7"}
|
"dune" {>= "2.7"}
|
||||||
"base-unix"
|
"base-unix"
|
||||||
"nanoev" {= version}
|
"nanoev" {= version}
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ tags: ["unix" "select" "async" "iomux" "nanoev"]
|
||||||
homepage: "https://github.com/c-cube/nanoev"
|
homepage: "https://github.com/c-cube/nanoev"
|
||||||
bug-reports: "https://github.com/c-cube/nanoev/issues"
|
bug-reports: "https://github.com/c-cube/nanoev/issues"
|
||||||
depends: [
|
depends: [
|
||||||
"ocaml"
|
"ocaml" {>= "4.12"}
|
||||||
"dune" {>= "2.7"}
|
"dune" {>= "2.7"}
|
||||||
"base-unix"
|
"base-unix"
|
||||||
"iomux"
|
"iomux"
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ tags: ["unix" "select" "async"]
|
||||||
homepage: "https://github.com/c-cube/nanoev"
|
homepage: "https://github.com/c-cube/nanoev"
|
||||||
bug-reports: "https://github.com/c-cube/nanoev/issues"
|
bug-reports: "https://github.com/c-cube/nanoev/issues"
|
||||||
depends: [
|
depends: [
|
||||||
"ocaml"
|
"ocaml" {>= "4.12"}
|
||||||
"dune" {>= "2.7"}
|
"dune" {>= "2.7"}
|
||||||
"base-unix"
|
"base-unix"
|
||||||
"odoc" {with-doc}
|
"odoc" {with-doc}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue