-
Notifications
You must be signed in to change notification settings - Fork 155
Expand file tree
/
Copy pathCargo.toml
More file actions
164 lines (143 loc) · 4.94 KB
/
Copy pathCargo.toml
File metadata and controls
164 lines (143 loc) · 4.94 KB
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
[package]
name = "pushpin"
version = "1.42.0-dev"
authors = ["Fastly <oss@fastly.com>"]
description = "Reverse proxy for realtime web services"
repository = "https://github.com/fastly/pushpin"
readme = "README.md"
license = "Apache-2.0"
edition = "2018"
rust-version = "1.75"
default-run = "pushpin"
[package.metadata.deb]
assets = [
{ source = "dist/usr/bin/*", dest = "usr/bin/", mode = "755" },
{ source = "dist/usr/lib/pushpin/internal.conf", dest = "usr/lib/pushpin/", mode = "644" },
{ source = "dist/usr/lib/pushpin/runner/*", dest = "usr/lib/pushpin/runner/", mode = "644" },
{ source = "packaging/debian/pushpin.init", dest = "etc/init.d/pushpin", mode = "755" },
{ source = "packaging/debian/pushpin.logrotate", dest = "etc/logrotate.d/pushpin", mode = "644" },
{ source = "dist/etc/pushpin/pushpin.conf", dest = "usr/share/pushpin/", mode = "644" },
{ source = "dist/etc/pushpin/routes", dest = "etc/pushpin/", mode = "644" },
{ source = "dist/etc/pushpin/runner/certs/*", dest = "etc/pushpin/runner/certs/", mode = "644" },
{ source = "packaging/debian/pushpin.tmpfile", dest = "usr/lib/tmpfiles.d/pushpin.conf", mode = "644" },
{ source = "dist/usr/share/man/man1/*", dest = "usr/share/man/man1/", mode = "644" },
{ source = "dist/usr/share/doc/pushpin/README.md.gz", dest = "usr/share/doc/pushpin/", mode = "644" },
{ source = "dist/usr/share/doc/pushpin/NEWS.Debian.gz", dest = "usr/share/doc/pushpin/", mode = "644" },
{ source = "dist/usr/share/doc/pushpin/changelog.Debian.gz", dest = "usr/share/doc/pushpin/", mode = "644" },
{ source = "source/tools/*.py", dest = "usr/share/doc/pushpin/examples/tools/", mode = "644" },
{ source = "source/tools/*.php", dest = "usr/share/doc/pushpin/examples/tools/", mode = "644" },
{ source = "source/tools/*.js", dest = "usr/share/doc/pushpin/examples/tools/", mode = "644" },
{ source = "source/tools/*.sh", dest = "usr/share/doc/pushpin/examples/tools/", mode = "755" },
{ source = "source/tools/zhttp/*.py", dest = "usr/share/doc/pushpin/examples/tools/zhttp/", mode = "644" },
{ source = "source/tools/echo/*", dest = "usr/share/doc/pushpin/examples/tools/echo/", mode = "644" },
]
preserve-symlinks = true
maintainer-scripts = "packaging/debian/debian"
systemd-units = {}
depends = "$auto, adduser, lsb-base (>= 3.0-6), ucf"
extended-description = """\
Pushpin is a reverse proxy server that makes it easy to implement
WebSocket, HTTP streaming, and HTTP long-polling services. It communicates
with backend web applications using regular, short-lived HTTP requests
(GRIP protocol). This allows backend applications to be written in any
language and use any webserver.
.
Additionally, Pushpin does all of this without exposing a proprietary
protocol to clients. The HTTP/WebSocket content between the client
and your server is whatever you want it to be. This makes it ideal for
implementing APIs.
.
Pushpin is written in Rust and C++. The name means to "pin" (hold)
connections open for "pushing"."""
section = "net"
license-file = ["packaging/debian/license-file", "0"]
[features]
default = ["do-qmake", "do-cpp-build"]
do-qmake = []
do-cpp-build = []
[profile.dev]
panic = "abort"
[profile.release]
panic = "abort"
[lib]
crate-type = ["rlib", "staticlib"]
[dependencies]
arrayvec = "0.7"
base64 = "0.13"
clap = { version = "=4.3.24", features = ["cargo", "string", "wrap_help", "derive"] }
config = "0.14"
httparse = "1.7"
ipnet = "2"
jsonwebtoken = "9"
libc = "0.2"
log = "0.4"
miniz_oxide = "0.6"
mio = { version = "1", features = ["os-poll", "os-ext", "net"] }
notify = "7"
openssl = "=0.10.72"
paste = "1.0"
rustls = { version = "0.23", default-features = false, features = ["ring", "std", "tls12"] }
rustls-native-certs = "0.6"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
sha1 = "0.10"
signal-hook = "0.3"
slab = "0.4"
socket2 = "0.4"
thiserror = "1.0"
time = { version = "=0.3.41", features = ["formatting", "local-offset", "macros"] }
url = "2.3"
zmq = "0.9"
[dev-dependencies]
criterion = "0.5"
env_logger = { version = "0.9", default-features = false }
tempfile = "3.20.0"
test-log = "0.2"
[build-dependencies]
pkg-config = "0.3"
time = { version = "0.3.36", features = ["formatting", "local-offset", "macros"] }
cbindgen = "0.27"
[[bench]]
name = "memorypool"
harness = false
[[bench]]
name = "list"
harness = false
[[bench]]
name = "server"
harness = false
[[bench]]
name = "client"
harness = false
[[bin]]
name = "pushpin-connmgr"
test = false
bench = false
[[bin]]
name = "m2adapter"
test = false
bench = false
[[bin]]
name = "pushpin-proxy"
test = false
bench = false
[[bin]]
name = "pushpin-handler"
test = false
bench = false
[[bin]]
name = "pushpin-legacy"
test = false
bench = false
[[bin]]
name = "pushpin"
test = false
bench = false
[[bin]]
name = "pushpin-publish"
test = false
bench = false
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qt_lib_prefix, values("Qt", "Qt6", "Qt5"))'] }
[lints.clippy]
uninlined_format_args = "allow"