[package]
edition = "2021"
rust-version = "1.88"
name = "oxijolt-sys"
version = "1.1.0+jolt-5.6.0"
build = "build.rs"
links = "joltc"
exclude = [
"vendor/JoltPhysics/Assets",
"vendor/JoltPhysics/Docs",
"vendor/JoltPhysics/Samples",
"vendor/JoltPhysics/TestFramework",
"vendor/JoltPhysics/UnitTests",
"vendor/JoltPhysics/PerformanceTest",
"vendor/JoltPhysics/HelloWorld",
"vendor/JoltPhysics/JoltViewer",
"vendor/joltc/samples",
"vendor/joltc/tests",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unsafe bindings to Jolt Physics through the joltc C wrapper"
readme = "README.md"
keywords = [
"physics",
"jolt",
"ffi",
"gamedev",
]
categories = [
"external-ffi-bindings",
"game-development",
"simulation",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/pockerhead/oxijolt"
[package.metadata.docs.rs]
features = ["debug-renderer"]
targets = ["x86_64-unknown-linux-gnu"]
[features]
asserts = []
bindgen = ["dep:bindgen"]
cross-platform-deterministic = []
debug-renderer = []
default = ["prebuilt"]
double-precision = []
prebuilt = [
"dep:sha2",
"dep:flate2",
"dep:tar",
"dep:cc",
]
[lib]
name = "oxijolt_sys"
path = "src/lib.rs"
[[test]]
name = "body_ext_smoke"
path = "tests/body_ext_smoke.rs"
[[test]]
name = "character_smoke"
path = "tests/character_smoke.rs"
[[test]]
name = "constraint_smoke"
path = "tests/constraint_smoke.rs"
[[test]]
name = "contact_listener2_smoke"
path = "tests/contact_listener2_smoke.rs"
[[test]]
name = "debug_renderer_bindings"
path = "tests/debug_renderer_bindings.rs"
[[test]]
name = "determinism"
path = "tests/determinism.rs"
[[test]]
name = "listener_smoke"
path = "tests/listener_smoke.rs"
[[test]]
name = "material_smoke"
path = "tests/material_smoke.rs"
[[test]]
name = "ragdoll_smoke"
path = "tests/ragdoll_smoke.rs"
[[test]]
name = "shape_ext_smoke"
path = "tests/shape_ext_smoke.rs"
[[test]]
name = "shape_state"
path = "tests/shape_state.rs"
[[test]]
name = "skeleton_mapper_smoke"
path = "tests/skeleton_mapper_smoke.rs"
[[test]]
name = "smoke_test"
path = "tests/smoke_test.rs"
[[test]]
name = "soft_body_smoke"
path = "tests/soft_body_smoke.rs"
[[test]]
name = "state_smoke"
path = "tests/state_smoke.rs"
[[test]]
name = "vehicle_smoke"
path = "tests/vehicle_smoke.rs"
[dependencies]
[build-dependencies.anyhow]
version = "1"
[build-dependencies.bindgen]
version = "0.73"
optional = true
[build-dependencies.cc]
version = "1.4"
optional = true
[build-dependencies.cmake]
version = "0.1.58"
[build-dependencies.flate2]
version = "1.1"
optional = true
[build-dependencies.sha2]
version = "0.10"
optional = true
[build-dependencies.tar]
version = "0.4.46"
optional = true
default-features = false