Commit Graph

17 Commits

Author SHA1 Message Date
Tunglies
a05ea64bcd perf: utilize smartstring for string handling (#5149)
* perf: utilize smartstring for string handling

- Updated various modules to replace standard String with smartstring::alias::String for improved performance and memory efficiency.
- Adjusted string manipulations and conversions throughout the codebase to ensure compatibility with the new smartstring type.
- Enhanced readability and maintainability by using `.into()` for conversions where applicable.
- Ensured that all instances of string handling in configuration, logging, and network management leverage the benefits of smartstring.

* fix: replace wrap_err with stringify_err for better error handling in UWP tool invocation

* refactor: update import path for StringifyErr and adjust string handling in sysopt

* fix: correct import path for CmdResult in UWP module

* fix: update argument type for execute_sysproxy_command to use std::string::String

* fix: add missing CmdResult import in UWP platform module

* fix: improve string handling and error messaging across multiple files

* style: format code for improved readability and consistency across multiple files

* fix: remove unused file
2025-10-22 16:25:44 +08:00
Tunglies
3939741a06 refactor: migrate from serde_yaml to serde_yaml_ng for improved YAML handling (#4568)
* refactor: migrate from serde_yaml to serde_yaml_ng for improved YAML handling

* refactor: format code for better readability in DNS configuration
2025-08-30 02:24:47 +08:00
huzibaca
cb3bff589f feat: add unified delay 2024-11-05 16:24:58 +08:00
MystiPanda
28fb0b433b refactor: pure merge 2024-06-30 07:58:44 +08:00
MystiPanda
c698b24e01 chore: update & fmt & clippy 2024-06-12 10:00:22 +08:00
MystiPanda
ae46332e42 feat: Support config redir port and tproxy port 2024-03-21 10:54:56 +08:00
MystiPanda
54f9c59d6e refactor: Remove clash field filter 2024-02-05 17:28:36 +08:00
MystiPanda
3a883b9e41 refactor: cargo clippy 2024-01-10 17:36:35 +08:00
WhizPanda
d23ef2bd59 feat: Support New Clash Field
#46
2023-12-02 15:18:54 +08:00
GyDi
77c0304faf feat: add unified-delay field 2023-06-30 13:58:51 +08:00
GyDi
f97753c1d0 fix: field sort for filter 2023-03-15 08:43:03 +08:00
GyDi
2242174749 fix: add meta fields 2023-02-18 00:46:03 +08:00
GyDi
f140c75fb9 feat: support to disable clash fields filter 2023-02-16 23:52:55 +08:00
GyDi
ca81fcaf37 fix: adjust fields order 2023-01-14 14:57:55 +08:00
GyDi
75867da94f fix: add meta fields 2023-01-14 14:51:29 +08:00
GyDi
0a6568bbab fix: add clash fields 2022-11-24 10:46:21 +08:00
GyDi
837422fbb8 refactor: wip 2022-11-14 01:26:33 +08:00