Compare commits

..

6 commits

Author SHA1 Message Date
Simon Cruanes
43df0f68d6
prepare for 0.1
Some checks are pending
github pages / Deploy doc (push) Waiting to run
Build and Test / build (push) Waiting to run
Build and Test / format (push) Waiting to run
2025-05-08 15:05:39 -04:00
Simon Cruanes
e3cef54bd8
lower bound on iomux 2025-05-08 15:05:38 -04:00
Simon Cruanes
18a6a3b7b4
annotate tests with their package 2025-05-08 13:19:55 -04:00
Simon Cruanes
48d235331b
fix dune 2025-05-08 11:51:25 -04:00
Simon Cruanes
5b0ec9ce6e
require OCaml 4.14 2025-05-08 11:44:58 -04:00
Simon Cruanes
2cf34abb50
require OCaml 4.12 2025-05-08 11:16:47 -04:00
8 changed files with 33 additions and 13 deletions

View file

@ -16,6 +16,7 @@ jobs:
os:
- ubuntu-latest
ocaml-compiler:
- '4.14'
- '5.0'
- '5.3'

View file

@ -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.14))
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))
(iomux (>= 0.3))
(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

View file

@ -9,7 +9,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.14"}
"dune" {>= "2.7"}
"base-unix"
"nanoev" {= version}

View file

@ -9,10 +9,10 @@ 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"
"iomux" {>= "0.3"}
"nanoev" {= version}
"nanoev-picos" {= version}
"mtime" {>= "2.0"}

View file

@ -9,7 +9,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}

View file

@ -3,4 +3,4 @@
(public_name nanoev.unix)
(synopsis "Unix/select backend")
(private_modules heap)
(libraries nanoev unix))
(libraries nanoev unix threads.posix))

View file

@ -1,3 +1,4 @@
(tests
(names t1)
(package nanoev-posix)
(libraries nanoev nanoev-posix threads))

View file

@ -1,3 +1,4 @@
(tests
(names t1)
(package nanoev)
(libraries nanoev nanoev.unix threads))