Commit Graph

61 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
zhfish 65b27f076c
chore: vendor openssl for musl (#301)
* Update Cargo.toml

add openssl's features for musl

* Update release.yml

* Update Cargo.toml

musl

* 更新 Cargo.toml

---------

Co-authored-by: Yujia Qiao <rapiz3142@gmail.com>
2023-11-05 13:39:16 +08:00
Yujia Qiao ebb764ae53
chore(bump): v0.5.0 2023-10-01 17:55:18 +08:00
Yujia Qiao 97541afaed
chore: fix build
- Drop tls for embedded devices in release
- Upgrade cross
- Specify rust 1.71
2023-10-01 17:13:17 +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
reemaadeniyi d2960b5bde
chore: bump tracing-subscriber (#247)
Co-authored-by: evergreen-trading-systems <4870868+evergreen-trading-systems@users.noreply.github.com>
2023-05-06 12:57:13 +00: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 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 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 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 4682581038
chore: enable strip in cargo 2022-02-25 12:35:04 +08:00
Yujia Qiao 860e3ce2ed
chore: bump v0.3.10 2022-02-21 14:37:16 +08:00
Yujia Qiao 2b85161186
fix: set `codegen-units` to 1 (#124) 2022-02-06 14:51:18 +00: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
mgt 67192fbb9c chore: reduce crate size 2022-01-11 13:46:20 +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 30ac69fdb1 fix: panic on top-level errors 2022-01-03 18:37:26 +08:00
Yujia Qiao b4bb02f845 docs: update about build 2022-01-03 10:27:56 +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 c8e679fa65 feat: add crate feature `notify` 2021-12-27 15:50:13 +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 467afe279a feat: opt binary size for `minimal` profile 2021-12-26 14:53:23 +08:00
Yujia Qiao 21e63fe10e chore: bump v0.2.0 2021-12-25 19:20:35 +08:00
Yujia Qiao 48f0514b6c feat: separate `noise` as a crate feature 2021-12-25 19:08:36 +08:00
Yujia Qiao aa30408518 fix: update snowstorm to v0.1.3 2021-12-25 14:21:15 +08:00