diff options
| author | zedddie <rust@zedddie.rs> | 2026-03-15 13:47:48 +0100 |
|---|---|---|
| committer | tuturuu <zedddiezxc@gmail.com> | 2026-03-15 13:47:48 +0100 |
| commit | 1b6a2f126af11f493aea55a24bf63981f6d6fa20 (patch) | |
| tree | a3d24d8c8c185486b26e1c81c02b536fd4f248e8 /src/config.rs | |
| parent | 2a01827e6c41ab4770b478ecfd0a740c5983be24 (diff) | |
rename NSCConfig to Config for now :1
Diffstat (limited to 'src/config.rs')
| -rw-r--r-- | src/config.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.rs b/src/config.rs index ec4e92c..6552a65 100644 --- a/src/config.rs +++ b/src/config.rs @@ -8,7 +8,7 @@ pub enum RunTypes { } #[derive(Serialize, Deserialize)] -pub struct NSCConfig { +pub struct Config { /// Paths to v2ray `geosite.dat', `geoip.dat` pub geo_files: [String; 2], /// Routing settings similar to v2ray @@ -17,7 +17,7 @@ pub struct NSCConfig { pub mode: RunTypes, } -impl Default for NSCConfig { +impl Default for Config { fn default() -> Self { Self { geo_files: [ |
