-
Notifications
You must be signed in to change notification settings - Fork 44
/
websocket-async.opam
53 lines (51 loc) · 1.67 KB
/
websocket-async.opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
synopsis: "Websocket library (Async)"
description: """
The WebSocket Protocol enables two-way communication between a client
running untrusted code in a controlled environment to a remote host
that has opted-in to communications from that code.
The security model used for this is the origin-based security model
commonly used by web browsers. The protocol consists of an opening
handshake followed by basic message framing, layered over TCP.
The goal of this technology is to provide a mechanism for
browser-based applications that need two-way communication with
servers that does not rely on opening multiple HTTP connections (e.g.,
using XMLHttpRequest or <iframe>s and long polling).
"""
maintainer: ["Vincent Bernardoff <vb@luminar.eu.org>"]
authors: ["Vincent Bernardoff <vb@luminar.eu.org>"]
license: "ISC"
tags: ["org:mirage" "org:xapi-project"]
homepage: "https://github.com/vbmithr/ocaml-websocket"
doc: "https://vbmithr.github.io/ocaml-websocket/doc"
bug-reports: "https://github.com/vbmithr/ocaml-websocket/issues"
depends: [
"dune" {>= "2.9"}
"ocaml" {>= "4.06.0"}
"websocket" {= version}
"core" {>= "v0.15.0"}
"core_unix" {>= "v0.15.0"}
"async" {>= "v0.15.0"}
"cohttp-async" {>= "5.0.0"}
"logs-async" {>= "1.1"}
"logs-async-reporter" {>= "1.0"}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"--promote-install-files=false"
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
["dune" "install" "-p" name "--create-install-files" name]
]
dev-repo: "git+https://github.com/vbmithr/ocaml-websocket.git"