* add http(s) proxy * Add front-end translation * fix ui description * For linux platform, add rustls support * fix: Fix the proxy address test function. * add: Added default prompts for agency agreement and some multi-language translations * add: Http proxy request client * fix: add async http proxy func and format the code * add: Preliminary support for flutter front-end calling rust back-end http request * Optimize HTTP calls * Optimize HTTP calls * fix: Optimize HTTP requests, refine translations, and fix dependencies * fix: Win and macOS compilation errors * fix: web platforms * fix: Optimize import * fix: Fix web platform issues * fix: Fix web platform issues * fix: update ci * fix: test ci * test: test CI * Revert "fix: update ci" This reverts commit 2e5f247b2ed0cc63a6f6f7bbaaffd0a1223712e5. * test: test CI * test: test CI * fix: fix lock file * fix: Optimize imports
		
			
				
	
	
		
			71 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			TOML
		
	
	
	
	
	
			
		
		
	
	
			71 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			TOML
		
	
	
	
	
	
[package]
 | 
						|
name = "hbb_common"
 | 
						|
version = "0.1.0"
 | 
						|
authors = ["open-trade <info@opentradesolutions.com>"]
 | 
						|
edition = "2018"
 | 
						|
 | 
						|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 | 
						|
 | 
						|
[dependencies]
 | 
						|
flexi_logger = { version = "0.27", features = ["async"] }
 | 
						|
protobuf = { version = "3.4", features = ["with-bytes"] }
 | 
						|
tokio = { version = "1.36", features = ["full"] }
 | 
						|
tokio-util = { version = "0.7", features = ["full"] }
 | 
						|
futures = "0.3"
 | 
						|
bytes = { version = "1.4", features = ["serde"] }
 | 
						|
log = "0.4"
 | 
						|
env_logger = "0.10"
 | 
						|
socket2 = { version = "0.3", features = ["reuseport"] }
 | 
						|
zstd = "0.13"
 | 
						|
quinn = {version = "0.9", optional = true }
 | 
						|
anyhow = "1.0"
 | 
						|
futures-util = "0.3"
 | 
						|
directories-next = "2.0"
 | 
						|
rand = "0.8"
 | 
						|
serde_derive = "1.0"
 | 
						|
serde = "1.0"
 | 
						|
serde_json = "1.0"
 | 
						|
lazy_static = "1.4"
 | 
						|
confy = { git = "https://github.com/open-trade/confy" }
 | 
						|
dirs-next = "2.0"
 | 
						|
filetime = "0.2"
 | 
						|
sodiumoxide = "0.2"
 | 
						|
regex = "1.8"
 | 
						|
tokio-socks = { git = "https://github.com/open-trade/tokio-socks" }
 | 
						|
chrono = "0.4"
 | 
						|
backtrace = "0.3"
 | 
						|
libc = "0.2"
 | 
						|
dlopen = "0.1"
 | 
						|
toml = "0.7"
 | 
						|
uuid = { version = "1.3", features = ["v4"] }
 | 
						|
# crash, versions >= 0.29.1 are affected by #GuillaumeGomez/sysinfo/1052
 | 
						|
sysinfo = { git = "https://github.com/rustdesk-org/sysinfo" }
 | 
						|
thiserror = "1.0"
 | 
						|
httparse = "1.5"
 | 
						|
base64 = "0.22"
 | 
						|
url = "2.2"
 | 
						|
 | 
						|
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
 | 
						|
mac_address = "1.1"
 | 
						|
machine-uid = { git = "https://github.com/21pages/machine-uid" }
 | 
						|
[target.'cfg(not(any(target_os = "macos", target_os = "windows")))'.dependencies]
 | 
						|
tokio-rustls = { version = "0.26", features = ["logging", "tls12", "ring"], default-features = false }
 | 
						|
rustls-platform-verifier = "0.3.1"
 | 
						|
rustls-pki-types = "1.4"
 | 
						|
[target.'cfg(any(target_os = "macos", target_os = "windows"))'.dependencies]
 | 
						|
tokio-native-tls ="0.3"
 | 
						|
 | 
						|
[features]
 | 
						|
quic = []
 | 
						|
flatpak = []
 | 
						|
 | 
						|
[build-dependencies]
 | 
						|
protobuf-codegen = { version = "3.4" }
 | 
						|
 | 
						|
[target.'cfg(target_os = "windows")'.dependencies]
 | 
						|
winapi = { version = "0.3", features = ["winuser", "synchapi", "pdh", "memoryapi"] }
 | 
						|
 | 
						|
[target.'cfg(target_os = "macos")'.dependencies]
 | 
						|
osascript = "0.3"
 | 
						|
 |