Skip to content

Commit 63d3729

Browse files
authored
Merge pull request #22 from gngpp/dev
Supports panel authentication for login
2 parents 7714fd0 + 7abff93 commit 63d3729

File tree

10 files changed

+460
-131
lines changed

10 files changed

+460
-131
lines changed

.github/workflows/Release.yml

+4
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,10 @@ jobs:
163163
target:
164164
- arch: "aarch64_generic"
165165
sdk: "https://downloads.openwrt.org/releases/22.03.2/targets/rockchip/armv8/openwrt-sdk-22.03.2-rockchip-armv8_gcc-11.2.0_musl.Linux-x86_64.tar.xz"
166+
- arch: "aarch64_cortex-a53"
167+
sdk: "https://downloads.openwrt.org/releases/22.03.2/targets/bcm27xx/bcm2710/openwrt-sdk-22.03.2-bcm27xx-bcm2710_gcc-11.2.0_musl.Linux-x86_64.tar.xz"
168+
- arch: "aarch64_cortex-a72"
169+
sdk: "https://downloads.openwrt.org/releases/22.03.2/targets/bcm27xx/bcm2711/openwrt-sdk-22.03.2-bcm27xx-bcm2711_gcc-11.2.0_musl.Linux-x86_64.tar.xz"
166170
- arch: "x86_64"
167171
sdk: "https://downloads.openwrt.org/releases/18.06.9/targets/x86/64/openwrt-sdk-18.06.9-x86-64_gcc-7.3.0_musl.Linux-x86_64.tar.xz"
168172
steps:

.github/workflows/Update.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
GITHUB_TOKEN: ${{ secrets.TOKEN }}
2020
run: |
2121
dir=$(pwd)
22-
bash +x $dir/unpack.sh
22+
bash +x $dir/unpack.sh x86_64
2323
current_version=$(git describe --tags --abbrev=0 | sed 's/^v//')
2424
new_version=$(cat bin/version)
2525
export new_version

Cargo.lock

+20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+7-2
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,26 @@ rust-embed = "6.6.0"
1919
libc = "0.2.140"
2020
rand = "0.8.5"
2121
ureq = "2.6.2"
22+
sha3 = "0.10.8"
2223
indicatif = "0.17.3"
2324
rouille= "3.6.2"
2425
signal-hook = "0.3.15"
2526
clap = { version = "4.2.5", features = ["derive"] }
2627

2728
[features]
28-
default = ["launch", "systemd"]
29-
embed = ["launch", "systemd"]
29+
default = ["launch", "systemd", "auth"]
30+
embed = ["launch", "systemd", "auth"]
3031
launch = []
3132
systemd = []
33+
auth = []
3234

3335
[[bin]]
3436
name = "xunlei"
3537
path = "src/main.rs"
3638

39+
[profile.dev]
40+
opt-level = 'z'
41+
3742
[profile.release]
3843
lto = true
3944
opt-level = 'z'

0 commit comments

Comments
 (0)