ReaJason / Clash-Butler

Clash 白嫖节点管理工具,支持自动测速订阅合并,本地部署
https://sub.reajason.eu.org/clash.yaml
Apache License 2.0
22 stars 2 forks source link

配置文件读取失败: missing field `speed_test` #8

Closed cikichen closed 8 hours ago

cikichen commented 1 month ago
   Compiling md5 v0.7.0
   Compiling clash-butler v0.1.0 (/Users/go/Clash-Butler)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.98s
     Running `target/debug/clash-butler`
thread 'main' panicked at src/main.rs:68:13:
配置文件读取失败: missing field `speed_test`
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

启动报错

cikichen commented 1 month ago

config里面少了一个配置

[speed_test]
enabled = false
url = "https://www.speedtest.net"
timeout = 1000