mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-02-09 01:59:16 +08:00
release v1.15.1, prebuilt releases use stable Rust
ref #1053 ref shadowsocks/shadowsocks-android#2966
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -2157,7 +2157,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "shadowsocks-rust"
|
||||
version = "1.15.0"
|
||||
version = "1.15.1"
|
||||
dependencies = [
|
||||
"base64",
|
||||
"build-time",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "shadowsocks-rust"
|
||||
version = "1.15.0"
|
||||
version = "1.15.1"
|
||||
authors = ["Shadowsocks Contributors"]
|
||||
description = "shadowsocks is a fast tunnel proxy that helps you bypass firewalls."
|
||||
repository = "https://github.com/shadowsocks/shadowsocks-rust"
|
||||
|
||||
@@ -31,7 +31,7 @@ RUN case "$TARGETARCH" in \
|
||||
&& PATH="/root/$MUSL-cross/bin:$PATH" \
|
||||
&& CC=/root/$MUSL-cross/bin/$MUSL-gcc \
|
||||
&& echo "CC=$CC" \
|
||||
&& rustup override set nightly \
|
||||
&& rustup override set stable \
|
||||
&& rustup target add "$RUST_TARGET" \
|
||||
&& RUSTFLAGS="-C linker=$CC" CC=$CC cargo build --target "$RUST_TARGET" --release --features "local-tun local-redir stream-cipher aead-cipher-2022" \
|
||||
&& mv target/$RUST_TARGET/release/ss* target/release/
|
||||
|
||||
@@ -43,8 +43,8 @@ parts:
|
||||
shadowsocks-rust:
|
||||
plugin: rust
|
||||
source: https://github.com/shadowsocks/shadowsocks-rust.git
|
||||
rust-channel: nightly
|
||||
rust-features: [local-tun, local-redir, armv8, neon]
|
||||
rust-channel: stable
|
||||
rust-features: [local-tun, local-redir]
|
||||
override-pull: |
|
||||
snapcraftctl pull
|
||||
snapcraftctl set-version `git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'`
|
||||
|
||||
Reference in New Issue
Block a user