mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-11-17 16:17:38 +00:00
update readme, add appveyor build
This commit is contained in:
@@ -41,6 +41,13 @@ Read `Cargo.toml` for more details.
|
||||
|
||||
*Require `libsodium` and `libcrypto` by default.*
|
||||
|
||||
### Run binaries with Cargo
|
||||
|
||||
```
|
||||
$ cargo run --release --bin sslocal -- -c config.json
|
||||
$ cargo run --release --bin ssserver -- -c config.json
|
||||
```
|
||||
|
||||
## Getting Started
|
||||
|
||||
Create a shadowsocks' configuration file. Example
|
||||
@@ -122,6 +129,8 @@ Currently it uses [coio-rs](https://github.com/zonyitoo/coio-rs) as the backend
|
||||
- [ ] <del>PAC</del>
|
||||
- [x] Improved logging format (waiting for the new official log crate)
|
||||
- [ ] Support more ciphers without depending on `libcrypto` (waiting for an acceptable Rust crypto lib implementation)
|
||||
- [ ] Windows support. Depending on Mio and Coio-rs.
|
||||
- [ ] Build with stable.
|
||||
|
||||
## License
|
||||
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
environment:
|
||||
matrix:
|
||||
# - TARGET: x86_64-pc-windows-msvc
|
||||
# - TARGET: i686-pc-windows-msvc
|
||||
- TARGET: i686-pc-windows-gnu
|
||||
install:
|
||||
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe"
|
||||
- rust-nightly-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
|
||||
- SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin
|
||||
- SET PATH=%PATH%;C:\MinGW\bin
|
||||
- rustc -V
|
||||
- cargo -V
|
||||
|
||||
build: false
|
||||
|
||||
test_script:
|
||||
- cargo test -v
|
||||
Reference in New Issue
Block a user