-
Notifications
You must be signed in to change notification settings - Fork 44
/
websocket.opam
52 lines (50 loc) · 1.63 KB
/
websocket.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
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
synopsis: "Websocket library"
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 <[email protected]>"]
authors: ["Vincent Bernardoff <[email protected]>"]
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"}
"base64" {>= "3.3.0"}
"conduit" {>= "5.1.0"}
"cohttp" {>= "5.0.0"}
"ocplib-endian" {>= "1.0"}
"astring" {>= "0.8.3"}
"mirage-crypto-rng" {>= "1.0.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"