refactor(config): extract configuration renderer

Render from inputs supplied by the app, reuse the script crate, and preserve the default template fast path.
This commit is contained in:
Tunglies
2026-12-02 02:10:11 +08:00
committed by GitHub
parent 5605cc26c5
commit 7d665bd5bb
16 changed files with 1928 additions and 2062 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ use serde_yaml_ng::{Mapping, Value};
use std::collections::{HashMap, HashSet};
use tristr::alias::String;
use crate::enhance::field::use_keys;
use clash_verge_config_render::use_keys;
const PATCH_CONFIG_INNER: [&str; 5] = ["allow-lan", "ipv6", "log-level", "unified-delay", "tunnels"];