[package]
name = "boxdd-sys"
version = "0.2.1"
edition = "2024"
description = "Low-level FFI bindings for Box2D built from upstream via submodule"
license = "MIT OR Apache-2.0"
repository = "https://github.com/Latias94/boxdd"
homepage = "https://github.com/Latias94/boxdd"
links = "box2d"
build = "build.rs"
readme = "README.md"
documentation = "https://docs.rs/boxdd-sys"
keywords = ["box2d", "physics", "ffi", "bindings", "game"]
categories = ["external-ffi-bindings", "game-engines"]
include = [
"Cargo.toml",
"README.md",
"build.rs",
"src/**",
"bin/**",
"third-party/box2d/include/**/*.h",
"third-party/box2d/src/**/*.c",
"third-party/box2d/src/**/*.h",
"third-party/box2d/LICENSE",
]
[package.metadata.docs.rs]
all-features = false
no-default-features = true
features = []
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = ["build-from-source"]
build-from-source = []
pkg-config = ["dep:pkg-config"]
bindgen = ["dep:bindgen"]
package-bin = ["dep:flate2", "dep:tar"]
simd-avx2 = []
disable-simd = []
validate = []
[build-dependencies]
cc = "1"
bindgen = { version = "0.72", optional = true }
pkg-config = { version = "0.3", optional = true }
[dependencies]
flate2 = { version = "1", optional = true }
tar = { version = "0.4", optional = true }
[[bin]]
name = "package"
path = "bin/package/main.rs"
required-features = ["package-bin"]