Skip to content

Commit 4c61a6a

Browse files
committed
Migrate to JSON configuration and update project dependencies
- Remove JSON5 dependency and migrate configuration file format from JSON5 to JSON - Update configuration file structure with new `auth` and `rules` fields - Bump project version to 0.4.0 - Update dependencies to latest versions - Modify install script and README to reflect configuration file changes - Remove token CLI option and integrate token authentication in configuration - Enhance tunnel and proxy handling with new configuration structure
1 parent 5dab0ec commit 4c61a6a

File tree

12 files changed

+166
-253
lines changed

12 files changed

+166
-253
lines changed

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
/target
2-
/src/old
3-
/src/test.rs
42
README_PRIVATE.md
5-
config.test.json5
63
.DS_Store

Cargo.lock

Lines changed: 19 additions & 102 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "proxer-cli"
3-
version = "0.3.6"
3+
version = "0.4.0"
44
edition = "2021"
55
authors = ["doroved"]
66
description = "Proxy TCP traffic on macOS with domain filtering."
@@ -10,20 +10,18 @@ license = "MIT OR Apache-2.0"
1010
keywords = ["proxy", "spoof", "spoofdpi", "macos", "macos-proxy"]
1111
categories = ["network-programming", "command-line-utilities"]
1212

13-
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
14-
1513
[dependencies]
1614
hyper = { version = "1.5.2", features = ["http1", "http2", "server", "client"] }
1715
hyper-util = { version = "0.1.10", features = ["tokio"] }
1816

19-
serde = { version = "1.0.216", features = ["derive"] }
20-
serde_json = "1.0.133"
17+
serde = { version = "1.0.217", features = ["derive"] }
18+
serde_json = "1.0.137"
2119

22-
tokio = { version = "1.42.0", features = ["full"] }
20+
tokio = { version = "1.43.0", features = ["full"] }
2321
tokio-native-tls = "0.3.1"
2422

2523
wildmatch = "2.4.0"
26-
clap = { version = "4.5.23", features = ["derive"] }
24+
clap = { version = "4.5.27", features = ["derive"] }
2725
sha2 = "0.10.8"
2826
base64 = "0.22.1"
2927
bytes = "1.9.0"
@@ -33,7 +31,6 @@ http-body-util = "0.1.2"
3331

3432
tracing = "0.1.41"
3533
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
36-
json5 = "0.4.1"
3734
rlimit = "0.10.2"
3835

3936

0 commit comments

Comments
 (0)