[package]
name = "networkframework"
version = "0.5.0"
edition = "2021"
license = "MIT OR Apache-2.0"
homepage = "https://github.com/doom-fish/networkframework-rs"
repository = "https://github.com/doom-fish/networkframework-rs"
description = "Safe Rust bindings for Apple's Network.framework — modern, post-CFNetwork TCP / UDP / TLS / Bonjour networking on macOS"
authors = ["Per Johansson <per@doom.fish>"]
keywords = ["network", "tcp", "udp", "macos", "apple"]
categories = ["api-bindings", "os::macos-apis", "network-programming"]
rust-version = "1.76"
readme = "README.md"
build = "build.rs"
include = [
"src/**/*",
"build.rs",
"Cargo.toml",
"README.md",
"LICENSE-*",
"CHANGELOG.md",
]
[lints.rust]
[lints.clippy]
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
cargo = { level = "warn", priority = -1 }
[lib]
name = "networkframework"
crate-type = ["lib"]
[build-dependencies]
cc = "1"
[dependencies]
[dev-dependencies]
[package.metadata.docs.rs]
all-features = true
default-target = "aarch64-apple-darwin"
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin"]
rustdoc-args = ["--cfg", "docsrs"]
[badges]
maintenance = { status = "actively-developed" }
[profile.release]
debug = "full"
strip = "none"
[[example]]
name = "01_get_example"
[[example]]
name = "02_tls_get"
[[example]]
name = "03_udp_and_path"
[[example]]
name = "04_bonjour"
[[example]]
name = "05_websocket"