fork of https://github.com/shellrow/default-net/tree/v0.16.2
fixes an unsafe bug in sockaddr_to_network_addr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
692 B
24 lines
692 B
[package]
|
|
name = "default-net"
|
|
version = "0.10.0"
|
|
authors = ["shellrow <shellrow@protonmail.com>"]
|
|
edition = "2021"
|
|
description = "Cross-platform library for network interface and gateway"
|
|
repository = "https://github.com/shellrow/default-net"
|
|
readme = "README.md"
|
|
keywords = ["network"]
|
|
categories = ["network-programming"]
|
|
license = "MIT"
|
|
|
|
[dependencies]
|
|
libc = "0.2"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
memalloc = "0.1.0"
|
|
|
|
[target.'cfg(windows)'.dependencies.windows]
|
|
version = "0.29.0"
|
|
features = ["Win32_Foundation","Win32_NetworkManagement_IpHelper", "Win32_Networking_WinSock"]
|
|
|
|
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
|
|
system-configuration = "0.5.0"
|
|
|