[package]
edition = "2024"
rust-version = "1.85"
name = "sdl3-net-sys"
version = "0.6.0-pre-0+SDL-net-3.1.0-prerelease"
authors = ["Maia S Ravn <maia.noreply@runbox.com>"]
build = "build.rs"
links = "SDL3_net"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Low level Rust bindings for SDL3_net"
documentation = "https://docs.rs/sdl3-net-sys"
readme = "README.md"
keywords = [
"sdl",
"net",
"network",
]
categories = [
"external-ffi-bindings",
"network-programming",
"no-std",
]
license = "Zlib"
repository = "https://codeberg.org/maia/sdl3-sys-rs"
[features]
build-from-source = [
"dep:cmake",
"dep:rpkg-config",
"dep:sdl3-net-src",
]
build-from-source-static = [
"build-from-source",
"link-static",
]
debug-impls = ["sdl3-sys/debug-impls"]
default = [
"use-pkg-config",
"use-vcpkg",
]
link-framework = []
link-static = []
metadata = []
nightly = []
no-link = []
only-metadata = [
"metadata",
"no-link",
]
use-pkg-config = ["dep:pkg-config"]
use-vcpkg = ["dep:vcpkg"]
[lib]
name = "sdl3_net_sys"
path = "src/lib.rs"
[dependencies.sdl3-sys]
version = "0.6"
default-features = false
[build-dependencies.cmake]
version = "0.1"
optional = true
[build-dependencies.pkg-config]
version = "0.3"
optional = true
[build-dependencies.rpkg-config]
version = "0.1.2"
optional = true
[build-dependencies.sdl3-net-src]
version = "=3.1.0-prerelease"
optional = true
[build-dependencies.vcpkg]
version = "0.2"
optional = true