12 Commits

Author SHA1 Message Date
zonyitoo
29fc232e1f chore: imports_granularity set to default
- imports_granularity is still unstable since 2021:
  https://rust-lang.github.io/rustfmt/?version=v1.6.0&search=#imports_granularity
2024-08-07 00:17:00 +08:00
Prajwal Koirala
68521d52e2 Update rustfmt.toml 2021-10-25 12:58:26 +08:00
zonyitoo
0af3aff112 release v1.11.0 2021-05-14 12:44:49 +08:00
zonyitoo
6373040a4d Customized UnixStream for protect() RPC
ref #209
2020-03-15 23:00:52 +08:00
Y. T. Chung
c60869aa50 Refactor some boxed futures with impl Trait
- Replaced EncryptedWriterFut and DecryptedReaderFut with impl Trait
- Replaced boxed future in try_timeout and io_timeout with a static type
- Modified rustfmt configuration, fully reformatted
2018-10-01 10:32:04 +08:00
Y. T. CHUNG
8be6da51f3 Migrate tokio and uses new features (#108)
* Add #102 link in README

* Migrating to tokio, #100

* Migrated to tokio-signal v0.2, reformatted

* Should not call tokio::spawn before tokio::run

* Build nightly and stable with different image tag

* Removed unnecessary rustup install

* Renamed version to v1.7.0-alpha

* Removed deprecated calls of Buf

* Updated dependencies

* [#106] Fixed bug, should not hold UDP connections forever

* Lower info log to debug

* Bump version to v1.7.0-alpha.2

* Implement a simple DNS relay server, bump version to v1.7.0-alpha.3

* Better logging

* Fixed build on travis

* Add elapsed time in log

* Should not exit if handler return error

* reformatted

* Add test for DNS

* Updated ssdns param

* Use `trust-dns` and impl Trait
1. Replaced `ToSocketAddrs` with `trust-dns`
2. Uses impl Trait for functions
3. Updated dependencies
4. Fixed bugs

* Bug fixed, logging crate in ssdns
2018-05-16 00:03:50 +08:00
Y. T. Chung
5c89e61a2e Reformatted with new rustfmt 2018-01-20 01:10:16 +08:00
Y. T. Chung
42e29972a4 Uses a more acceptable rustfmt style config 2017-07-26 00:44:16 +08:00
Y. T. Chung
eb580be25a Style and wording improvement
1. Remove Emails
2. Better log for timed out
3. Properly log plugin listening address in server mode
4. Use latest rustfmt and new style configuration
2017-07-24 09:05:41 +08:00
Y. T. Chung
964d2d4f33 Remove support of multithread 2017-05-30 23:36:58 +08:00
Y. T. Chung
f223f238bb share config and handle in global stat 2017-05-21 16:59:28 +08:00
Y. T. Chung
5462e5ba28 add sample configs 2016-10-21 01:20:21 +08:00