update readme, add appveyor build

This commit is contained in:
Y. T. Chung
2015-12-13 00:24:49 +08:00
parent 5598edc005
commit e9bf16009c
2 changed files with 26 additions and 0 deletions
+9
View File
@@ -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
+17
View File
@@ -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