-
Notifications
You must be signed in to change notification settings - Fork 7
/
Cargo.toml
76 lines (63 loc) · 1.66 KB
/
Cargo.toml
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[package]
name = "condure"
version = "1.10.1"
authors = ["Justin Karneges <[email protected]>"]
license = "Apache-2.0"
description = "HTTP/WebSocket connection manager"
repository = "https://github.com/fanout/condure"
readme = "README.md"
edition = "2018"
autobins = false
[[bin]]
name = "condure"
[profile.dev]
panic = "abort"
[profile.release]
panic = "abort"
[dependencies]
arrayvec = "0.7"
base64 = "0.13"
clap = { version = "4.3", features = ["cargo", "string", "wrap_help"] }
httparse = "1.7"
ipnet = "2"
libc = "0.2"
log = "0.4"
miniz_oxide = "0.6"
mio = { version = "0.8", features = ["os-poll", "os-ext", "net"] }
openssl = "0.10"
paste = "1.0"
sha1 = "0.10"
signal-hook = "0.3"
slab = "0.4"
socket2 = "0.4"
thiserror = "1.0"
time = { version = "0.3", features = ["formatting", "local-offset", "macros"] }
url = "2.3"
zmq = "0.9"
[dev-dependencies]
criterion = "0.5"
env_logger = { version = "0.9", default-features = false }
test-log = "0.2"
[[bench]]
name = "server"
harness = false
[[bench]]
name = "client"
harness = false
[package.metadata.deb]
extended-description = """\
Condure is a service that manages network connections on behalf of server
applications, in order to allow controlling the connections from multiple
processes. Applications communicate with Condure over ZeroMQ.
Condure can only manage connections for protocols it knows about. Currently
this is HTTP/1 and WebSockets.
The project was inspired by Mongrel2.
"""
separate-debug-symbols = true
build-depends = "pkg-config, libzmq3-dev"
[package.metadata.rpm]
package = "condure"
[package.metadata.rpm.cargo]
buildflags = ["--release"]
[package.metadata.rpm.targets]
condure = { path = "/usr/bin/condure" }