mirror of
https://github.com/c-cube/nanoev.git
synced 2025-12-05 19:00:35 -05:00
Compare commits
6 commits
870093e93a
...
43df0f68d6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
43df0f68d6 | ||
|
|
e3cef54bd8 | ||
|
|
18a6a3b7b4 | ||
|
|
48d235331b | ||
|
|
5b0ec9ce6e | ||
|
|
2cf34abb50 |
10 changed files with 40 additions and 13 deletions
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
|
|
@ -16,6 +16,7 @@ jobs:
|
|||
os:
|
||||
- ubuntu-latest
|
||||
ocaml-compiler:
|
||||
- '4.14'
|
||||
- '5.0'
|
||||
- '5.3'
|
||||
|
||||
|
|
|
|||
3
CHANGES.md
Normal file
3
CHANGES.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# 0.1
|
||||
|
||||
initial release, with poll and select backends.
|
||||
33
dune-project
33
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.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
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
# This file is generated by dune, edit dune-project instead
|
||||
opam-version: "2.0"
|
||||
version: "0.1"
|
||||
synopsis: "Use nanoev from picos"
|
||||
maintainer: ["Simon Cruanes"]
|
||||
authors: ["Simon Cruanes"]
|
||||
|
|
@ -8,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}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
# This file is generated by dune, edit dune-project instead
|
||||
opam-version: "2.0"
|
||||
version: "0.1"
|
||||
synopsis: "Use mtime+iomux (posix compliant) as a backend for nanoev"
|
||||
maintainer: ["Simon Cruanes"]
|
||||
authors: ["Simon Cruanes"]
|
||||
|
|
@ -8,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"}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
# This file is generated by dune, edit dune-project instead
|
||||
opam-version: "2.0"
|
||||
version: "0.1"
|
||||
synopsis: "Tiny event loop abstraction"
|
||||
maintainer: ["Simon Cruanes"]
|
||||
authors: ["Simon Cruanes"]
|
||||
|
|
@ -8,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}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
# This file is generated by dune, edit dune-project instead
|
||||
opam-version: "2.0"
|
||||
version: "0.1"
|
||||
synopsis: "Use nanoev as a basis for tiny_httpd"
|
||||
maintainer: ["Simon Cruanes"]
|
||||
authors: ["Simon Cruanes"]
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@
|
|||
(public_name nanoev.unix)
|
||||
(synopsis "Unix/select backend")
|
||||
(private_modules heap)
|
||||
(libraries nanoev unix))
|
||||
(libraries nanoev unix threads.posix))
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
(tests
|
||||
(names t1)
|
||||
(package nanoev-posix)
|
||||
(libraries nanoev nanoev-posix threads))
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
(tests
|
||||
(names t1)
|
||||
(package nanoev)
|
||||
(libraries nanoev nanoev.unix threads))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue