From 12b3b52a59f66c8863583db22bb7c1c51e820905 Mon Sep 17 00:00:00 2001 From: zonyitoo Date: Sat, 23 Sep 2023 15:27:29 +0800 Subject: [PATCH] chore(homebrew): v1.16.2 new release --- crates/shadowsocks-service/src/local/mod.rs | 2 +- homebrew/shadowsocks-rust.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/shadowsocks-service/src/local/mod.rs b/crates/shadowsocks-service/src/local/mod.rs index dc99074c266d..35ebe81f97d0 100644 --- a/crates/shadowsocks-service/src/local/mod.rs +++ b/crates/shadowsocks-service/src/local/mod.rs @@ -353,7 +353,7 @@ impl Server { let mut server_builder = { let local_addr = local_config.local_dns_addr.expect("missing local_dns_addr"); let remote_addr = local_config.remote_dns_addr.expect("missing remote_dns_addr"); - let client_cache_size = local_config.client_cache_size.unwrap_or_else(5); + let client_cache_size = local_config.client_cache_size.unwrap_or(5); DnsBuilder::with_context( context.clone(), diff --git a/homebrew/shadowsocks-rust.rb b/homebrew/shadowsocks-rust.rb index c180fa334a3b..b78acf0adf99 100644 --- a/homebrew/shadowsocks-rust.rb +++ b/homebrew/shadowsocks-rust.rb @@ -1,8 +1,8 @@ class ShadowsocksRust < Formula desc "Rust port of Shadowsocks" homepage "https://github.com/shadowsocks/shadowsocks-rust" - url "https://github.com/shadowsocks/shadowsocks-rust/archive/v1.16.1.tar.gz" - sha256 "da4c6256247207b2579721046292bab1a2ac62301878c73ff778c168caa8a990" + url "https://github.com/shadowsocks/shadowsocks-rust/archive/v1.16.2.tar.gz" + sha256 "04fb797d8d04b8af9c4746ab9c1d659a3575a677892c2d5d9194a4b0e210e2ab" license "MIT" head "https://github.com/shadowsocks/shadowsocks-rust.git", branch: "master"