port to windows or macos (#61)

This commit is contained in:
ssrlive 2023-08-31 14:31:02 +08:00 committed by GitHub
parent 4b42413ab0
commit bbb8d3b244
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 69 additions and 12 deletions

View file

@ -29,6 +29,7 @@ pub struct Proxy {
pub enum NetworkInterface {
Named(String),
#[cfg(target_family = "unix")]
Fd(std::os::fd::RawFd),
}