feat: 完善生产级 Rust Web 模板

This commit is contained in:
2026-07-21 16:00:03 +08:00
parent fb30d5da1a
commit ce89569bf3
58 changed files with 2042 additions and 349 deletions
+2
View File
@@ -2,6 +2,8 @@ use serde::Deserialize;
#[derive(Debug, Deserialize, Clone)]
pub struct RedisConfig {
#[serde(default)]
pub enabled: bool,
/// Redis 主机地址
#[serde(default = "default_redis_host")]
pub host: String,