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
[Read Me](README.md) > [Developer](DEVELOPER.md) > Release
Make sure you have [Rust](https://www.rust-lang.org/tools/install) 1.88 or later installed.
Default binary (HTTP/3 + HTTP/2 + TLS):
```bash
cargo build --release
./target/release/rws --ip=0.0.0.0 --port=443 --tls-cert-file=/path/to/cert.pem --tls-key-file=/path/to/key.pem
```
HTTP/2 + TLS only (no QUIC):
```bash
cargo build --release --no-default-features --features http2
./target/release/rws --ip=0.0.0.0 --port=443 --tls-cert-file=/path/to/cert.pem --tls-key-file=/path/to/key.pem
```
HTTP/1.1 only (no TLS, smallest binary):
```bash
cargo build --release --no-default-features --features http1
./target/release/rws --ip=0.0.0.0 --port=8080
```
```bash
cargo publish
```
Tag the commit with the exact `Cargo.toml` version (no `v` prefix) and push the tag:
```bash
git tag 17.110.0
git push origin 17.110.0
```
`.github/workflows/release.yml` checks that the tag matches `Cargo.toml`, then:
1. 2.3.4.
To rebuild an existing tag after fixing the workflow, run it manually (Actions → Release → Run workflow) with that tag; every step is idempotent.
Built automatically by the release workflow, each with a SHA-256 checksum:
1. 1.1.1.1.
See [other supported platforms](https://doc.rust-lang.org/nightly/rustc/platform-support.html).