shadowsocks-rust 1.25.0

shadowsocks is a fast tunnel proxy that helps you bypass firewalls.
Documentation
[build]
# dockerfile = "./docker/linux-cross/Dockerfile"
# pre-build = [
#     "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain stable",
#     ". $HOME/.cargo/env",
#     "cargo install --force --locked bindgen-cli && mv $HOME/.cargo/bin/bindgen /usr/bin",
#     "rm -rf $HOME/.cargo"
# ]
# pre-build = [
#     "apt update",
#     "apt install --assume-yes --no-install-recommends build-essential llvm-8-dev libclang-8-dev clang-8",
# ]

[build.env]
passthrough = ["RUSTFLAGS"]

# NetBSD 9 (used by cross-rs's x86_64-unknown-netbsd image) lacks the
# `getentropy` symbol that `aws-lc-sys` references. `getentropy`/`getrandom`
# were added in NetBSD 10.0. We provide a small static shim backed by
# `sysctl(CTL_KERN, KERN_ARND)` (the same mechanism NetBSD 9's own
# arc4random uses) and make it available to the linker via `RUSTFLAGS`.
[target.x86_64-unknown-netbsd]
pre-build = "./build/netbsd-getentropy-shim.sh"
[target.x86_64-unknown-netbsd.env]
passthrough = ["RUSTFLAGS=-C link-arg=-L/usr/local/x86_64-unknown-netbsd/shimlib -C link-arg=-lgetentropy_shim"]

# MIPS targets are dropped to Tier 3
# https://github.com/rust-lang/compiler-team/issues/648
# FIXME: build-std with sequence is supported only on git
[target.mips-unknown-linux-gnu]
build-std = ["std", "panic_abort", "proc_macro"]
[target.mips-unknown-linux-musl]
build-std = ["std", "panic_abort", "proc_macro"]
[target.mips64-unknown-linux-gnuabi64]
build-std = ["std", "panic_abort", "proc_macro"]
[target.mips64-unknown-linux-muslabi64]
build-std = ["std", "panic_abort", "proc_macro"]
[target.mips64el-unknown-linux-gnuabi64]
build-std = ["std", "panic_abort", "proc_macro"]
[target.mips64el-unknown-linux-muslabi64]
build-std = ["std", "panic_abort", "proc_macro"]
[target.mipsel-unknown-linux-gnu]
build-std = ["std", "panic_abort", "proc_macro"]
[target.mipsel-unknown-linux-musl]
build-std = ["std", "panic_abort", "proc_macro"]