Skip to content

Conversation

@tyreseluo
Copy link

@tyreseluo tyreseluo commented Aug 17, 2025

PR Content

Add robius-proxy crate for cross-platform system proxy detection

PR Status (WIP)

  • Windows
  • MacOS
  • Linux

- Add new robius-proxy sub-crate with initial Windows support for system proxy detection and parsing
- Implement proxy error types, config structs, and parsing logic
- Add serde_json, thiserror, and url as workspace dependencies in the top-level Cargo.toml
- Update Cargo.lock
- Add `examples/simple_proxy.rs` to demonstrate system proxy detection on Windows
- Add detailed doc comments to core types and methods in the `proxy` crate for better readability
- Improve `WindowsProxyDetector` implementation and add clarifying comments
…pported file content

- Add SystemProxyDetector with support for WinHTTP, Registry, and environment variable proxy sources
- Parse proxy server and bypass settings from Windows system and environment
- Provide unified interface for retrieving system proxy config on Windows
- Add helper functions for reading string and DWORD values from Windows Registry
- Implement SystemProxyDetector for macOS platform using scutil and environment variables
- Add ProxyConfig Default implementation for better API ergonomics
- Extend ProxyDetector with macOS-specific proxy configuration detection
- Support both HTTP and HTTPS proxy detection from system settings
- Add bypass configuration parsing from macOS ExceptionsList
- Update example to demonstrate macOS proxy detection functionality
- Add SystemApi config source for system-level proxy settings
@tyreseluo tyreseluo changed the title [WIP] Add robius-proxy crate for cross-platform system proxy detection [WIP] Add robius-proxy crate for cross-platform system proxy detection (Desktop) Aug 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant