Skip to content

Commit

Permalink
Migrate to JSON configuration and update project dependencies
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
doroved committed Jan 27, 2025
1 parent 5dab0ec commit 4c61a6a
Show file tree
Hide file tree
Showing 12 changed files with 166 additions and 253 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/target
/src/old
/src/test.rs
README_PRIVATE.md
config.test.json5
.DS_Store
121 changes: 19 additions & 102 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 5 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "proxer-cli"
version = "0.3.6"
version = "0.4.0"
edition = "2021"
authors = ["doroved"]
description = "Proxy TCP traffic on macOS with domain filtering."
Expand All @@ -10,20 +10,18 @@ license = "MIT OR Apache-2.0"
keywords = ["proxy", "spoof", "spoofdpi", "macos", "macos-proxy"]
categories = ["network-programming", "command-line-utilities"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
hyper = { version = "1.5.2", features = ["http1", "http2", "server", "client"] }
hyper-util = { version = "0.1.10", features = ["tokio"] }

serde = { version = "1.0.216", features = ["derive"] }
serde_json = "1.0.133"
serde = { version = "1.0.217", features = ["derive"] }
serde_json = "1.0.137"

tokio = { version = "1.42.0", features = ["full"] }
tokio = { version = "1.43.0", features = ["full"] }
tokio-native-tls = "0.3.1"

wildmatch = "2.4.0"
clap = { version = "4.5.23", features = ["derive"] }
clap = { version = "4.5.27", features = ["derive"] }
sha2 = "0.10.8"
base64 = "0.22.1"
bytes = "1.9.0"
Expand All @@ -33,7 +31,6 @@ http-body-util = "0.1.2"

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


Expand Down
Loading

0 comments on commit 4c61a6a

Please sign in to comment.