implement web-api server with stats

This commit is contained in:
postscriptum 2026-03-22 03:24:02 +02:00
parent ddd7120f61
commit 126185480f
7 changed files with 952 additions and 44 deletions

View file

@ -1,10 +1,10 @@
[package]
name = "psocks"
version = "0.1.0"
version = "0.2.0"
edition = "2024"
license = "MIT"
readme = "README.md"
description = "Experimental async SOCKS5 (TCP/UDP) proxy server based on fast-socks5, featuring allowlist-based access control (drop everything but allowed by user)"
description = "Experimental async SOCKS5 (TCP/UDP) proxy server based on fast-socks5, featuring allowlist-based access control (drop everything but allowed by user) with JSON/API based on Rocket framework"
keywords = ["proxy", "whitelist", "privacy"]
categories = ["network-programming"]
repository = "https://codeberg.org/postscriptum/psocks"
@ -15,5 +15,7 @@ env_logger = "0.11.9"
fast-socks5 = "1.0.0"
log = "0.4.29"
reqwest = "0.13.2"
rocket = { version = "0.5.1", features = ["json"] }
serde = { version = "1.0.228", features = ["derive"] }
structopt = "0.3.26"
tokio = { version = "1", features = ["full"] }