Commit Graph

58 Commits

Author SHA1 Message Date
sunmy2019 4ac53a5a39
feat: optional rustls support (#330)
* initial implementation of rustls support

* Refactor create_self_signed_cert.sh script

* resolve lint errors

* Fix handling of Option in tls.rs

* Update cargo-hack check command and feature dependencies

* fix missing point

* Add conditional check to skip test if client or server is not enabled

* clean up things

* fix for windows CI

* try fixing Windows CI

* Update src/main.rs

* Update src/transport/websocket.rs

* add missing messages

* split the tls mod

Co-authored-by: Ning Sun <n@sunng.info>
2024-02-18 17:17:17 +08:00
dependabot[bot] 7251759bda
chore(deps): bump h2 from 0.3.21 to 0.3.24 (#334)
Bumps [h2](https://github.com/hyperium/h2) from 0.3.21 to 0.3.24.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/v0.3.24/CHANGELOG.md)
- [Commits](https://github.com/hyperium/h2/compare/v0.3.21...v0.3.24)

---
updated-dependencies:
- dependency-name: h2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-18 02:55:27 +00:00
dependabot[bot] ee7561c38d
chore(deps): bump snow from 0.9.3 to 0.9.6 (#333)
Bumps [snow](https://github.com/mcginty/snow) from 0.9.3 to 0.9.6.
- [Release notes](https://github.com/mcginty/snow/releases)
- [Commits](https://github.com/mcginty/snow/compare/v0.9.3...v0.9.6)

---
updated-dependencies:
- dependency-name: snow
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-18 10:50:47 +08:00
sunmy2019 915bf4d21d
chore: update dependencies in Cargo.lock (#329) 2024-02-14 11:29:49 +08:00
Yujia Qiao ebb764ae53
chore(bump): v0.5.0 2023-10-01 17:55:18 +08:00
Yujia Qiao 3aa6557696
chore(bump): v0.4.9 2023-10-01 15:09:39 +08:00
I Putu Ariyasa 5946a18370
feat(transport): add websocket transport (#290) 2023-10-01 14:43:03 +08:00
Yujia Qiao 9727e15377
chore: bump v0.4.8 2023-05-26 16:29:56 +08:00
dependabot[bot] 553ff381eb chore(deps): bump h2 from 0.3.15 to 0.3.18
Bumps [h2](https://github.com/hyperium/h2) from 0.3.15 to 0.3.18.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/h2/compare/v0.3.15...v0.3.18)

---
updated-dependencies:
- dependency-name: h2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-06 21:10:31 +08:00
dependabot[bot] a1815900f9 chore(deps): bump openssl from 0.10.42 to 0.10.48
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.42 to 0.10.48.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.42...openssl-v0.10.48)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 12:00:54 +08:00
dependabot[bot] 540ebfc33b chore(deps): bump tokio from 1.21.2 to 1.24.2
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.21.2 to 1.24.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/commits)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 11:05:29 +08:00
dependabot[bot] 80a7266212 chore(deps): bump libgit2-sys from 0.13.4+1.4.2 to 0.13.5+1.4.5
Bumps [libgit2-sys](https://github.com/rust-lang/git2-rs) from 0.13.4+1.4.2 to 0.13.5+1.4.5.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/libgit2-sys-0.13.4...libgit2-sys-0.13.5)

---
updated-dependencies:
- dependency-name: libgit2-sys
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-07 23:22:35 +08:00
Yujia Qiao ee5c7b4a77
chore: bump v0.4.7 2022-11-30 11:49:01 +08:00
Yujia Qiao 96479e498d
chore: bump v0.4.6 2022-11-29 17:59:58 +08:00
Orhun Parmaksız 87d06c91b9
chore: bump `vergen` crate to support `SOURCE_DATE_EPOCH` (#204)
This commits updates the version of `vergen` which is responsible
for generating the build info. The basis of this change is to support
`SOURCE_DATE_EPOCH` timestamps for reproducible builds.
See <https://reproducible-builds.org/docs/source-date-epoch/>

Signed-off-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2022-11-06 21:10:01 +08:00
Yujia Qiao 353d195529
chore: bump v0.4.5 2022-11-05 15:13:37 +08:00
Yujia Qiao 5396d9e64d
chore: bump v0.4.4 2022-09-16 16:52:22 +08:00
Yujia Qiao 76f5c7227f
chore: update dependencies (#195) 2022-09-15 11:54:50 +00:00
Yujia Qiao 2e9e7374bc
chore: bump v0.4.3 2022-08-11 20:51:56 +08:00
Yujia Qiao ee39a8e31e
chore: bump v0.4.2 2022-05-23 20:31:03 +08:00
Yujia Qiao 8c9527406e
chore: update snowstorm (#165) 2022-05-21 16:26:47 +00:00
Yujia Qiao 15a4183ba7
chore: update dependencies (#163) 2022-05-20 15:40:57 +00:00
Yujia Qiao 8a24723895
chore: bump v0.4.1 2022-03-28 19:42:49 +08:00
Yujia Qiao 952c4134c3
chore: bump v0.4.0 2022-03-09 12:34:45 +08:00
Yujia Qiao 479260720e
chore: bump dependencies 2022-03-09 12:34:45 +08:00
Yujia Qiao 1ef7747019
feat: support SOCKS5 and HTTP proxy (#135)
* chore: add comments

* feat: support socks5/http proxy

* fix: clippy

* fix: always validate tcp config

* chore: rename directories
2022-03-08 23:25:51 +08:00
Yujia Qiao 860e3ce2ed
chore: bump v0.3.10 2022-02-21 14:37:16 +08:00
Yujia Qiao 9d143dab6a
fix: reimplement `retry_notify` with signals (#123) 2022-02-06 14:26:21 +00:00
Yujia Qiao 0278c529dd
fix: respect shutdown signal when retry (#121)
* fix: respect shutdown signal when retry

* test: add tests for retry_notify

* chore: drop backoff/tokio
2022-02-02 06:27:43 +00:00
Yujia Qiao 3cab131fc4
chore: bump v0.3.9 2022-01-22 00:18:37 +08:00
Yujia Qiao a66502d33b
chore: drop the unused dependency `const_format` (#113) 2022-01-21 14:17:56 +08:00
Yujia Qiao fc2b3c0d29
chore: bump v0.3.8 2022-01-19 13:54:47 +08:00
Yujia Qiao d16916b4dd
chore: bump v0.3.7
fix: drop unnecesary features of snowstorm
2022-01-14 22:30:23 +08:00
Yujia Qiao 0d9e5ec1aa
feat: expose TCP_NODELAY and TCP_KEEPALIVE (#96)
* feat: expose TCP_NODELAY
* fix: opt-in `nodelay` for each service
* fix: enforce `nodelay` for every control channel
* feat: expose keepalive_secs
* feat: expose keepalive_interval
* docs: update docs
* fix: update dependencies and implement hint for noise
2022-01-14 15:37:09 +08:00
Yujia Qiao e6dd0c8df8 feat: emit colored log only when STDOUT is a tty 2022-01-11 21:10:54 +08:00
Yujia Qiao 1240dd8df9
chore: bump v0.3.4 2022-01-08 19:39:52 +08:00
Yujia Qiao a764257a27
chore: try to fix the build for BSDs 2022-01-08 10:31:59 +08:00
Yujia Qiao 12535a4243
chore: bump v0.3.3 2022-01-07 19:38:42 +08:00
Yujia Qiao b53b3c6dcb
chore: bump v0.3.2 2022-01-06 22:14:02 +08:00
Yujia Qiao 45a6d538c2
chore: bump v0.3.1 2022-01-04 17:02:16 +08:00
Yujia Qiao 4d3af9799a
chore: bump v0.3.0 2022-01-03 22:43:44 +08:00
Yujia Qiao 7c6422377a chore: update dependencies 2022-01-03 20:43:40 +08:00
Yujia Qiao 55404285a1 feat: verbose version message 2022-01-02 14:24:16 +08:00
Yujia Qiao 7bdb71a60e
chore: update dependencies 2022-01-02 12:05:21 +08:00
Yujia Qiao 9f8a324d35
feat: tokio-console 2022-01-02 12:05:21 +08:00
Yujia Qiao 8097b6916f feat: hot-reload by restarting 2021-12-27 15:50:13 +08:00
Yujia Qiao 24959daa93 chore: update `snowstorm` 2021-12-27 11:10:05 +08:00
Yujia Qiao 21e63fe10e chore: bump v0.2.0 2021-12-25 19:20:35 +08:00
Yujia Qiao aa30408518 fix: update snowstorm to v0.1.3 2021-12-25 14:21:15 +08:00
Yujia Qiao d409a839b4 fix: use snowstorm v0.1.2 instead of git 2021-12-24 23:23:49 +08:00