-
-
Notifications
You must be signed in to change notification settings - Fork 153
Expand file tree
/
Copy pathCargo.toml
More file actions
73 lines (65 loc) · 3 KB
/
Copy pathCargo.toml
File metadata and controls
73 lines (65 loc) · 3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[package]
name = "parry2d"
version = "0.13.5"
authors = [ "Sébastien Crozet <developer@crozet.re>" ]
description = "2 dimensional collision detection library in Rust."
documentation = "https://parry.rs/docs"
homepage = "https://parry.rs"
repository = "https://github.com/dimforge/parry"
readme = "README.md"
keywords = [ "collision", "geometry", "distance", "ray", "convex" ]
categories = [ "science", "game-development", "mathematics", "wasm"]
license = "Apache-2.0"
edition = "2021"
[badges]
maintenance = { status = "actively-developed" }
[features]
default = [ "required-features", "std" ]
required-features = [ "dim2", "f32" ]
alloc = [ "hashbrown", "num-traits/libm", "nalgebra/alloc", "spade/alloc" ]
std = [ "nalgebra/std", "slab", "rustc-hash", "simba/std", "arrayvec/std", "spade/std" ]
dim2 = [ ]
f32 = [ ]
serde-serialize = [ "serde", "nalgebra/serde-serialize", "arrayvec/serde" ]
rkyv-serialize = [ "rkyv/validation", "nalgebra/rkyv-serialize", "simba/rkyv-serialize" ]
bytemuck-serialize = [ "bytemuck", "nalgebra/convert-bytemuck" ]
simd-stable = [ "simba/wide", "simd-is-enabled" ]
simd-nightly = [ "simba/packed_simd", "simd-is-enabled" ]
enhanced-determinism = [ "simba/libm_force", "indexmap" ]
cuda = [ "cust_core", "cust", "nalgebra/cuda" ]
parallel = [ "rayon" ]
# Do not enable this feature directly. It is automatically
# enabled with the "simd-stable" or "simd-nightly" feature.
simd-is-enabled = [ ]
[lib]
name = "parry2d"
path = "../../src/lib.rs"
required-features = [ "required-features" ]
[dependencies]
either = { version = "1", default-features = false }
bitflags = "1"
downcast-rs = { version = "1", default-features = false }
num-traits = { version = "0.2", default-features = false }
smallvec = "1"
slab = { version = "0.4", optional = true }
arrayvec = { version = "0.7", default-features = false }
simba = { version = "0.8", default-features = false }
nalgebra = { version = "0.32", default-features = false, features = [ "libm" ] }
approx = { version = "0.5", default-features = false }
serde = { version = "1.0", optional = true, features = ["derive"] }
rkyv = { version = "0.7.41", optional = true }
num-derive = "0.4"
indexmap = { version = "1", features = [ "serde-1" ], optional = true }
rustc-hash = { version = "1", optional = true }
cust_core = { version = "0.1", optional = true }
spade = { git = "https://github.com/hatmajster/spade.git", branch = "no_std", default-features = false, optional = true }
rayon = { version = "1", optional = true }
bytemuck = { version = "1", features = [ "derive" ], optional = true }
hashbrown = { version = "0.14.2", optional = true }
[target.'cfg(not(target_os = "cuda"))'.dependencies]
cust = { version = "0.3", optional = true }
[dev-dependencies]
simba = { version = "0.8", default-features = false, features = [ "partial_fixed_point_support" ] }
oorandom = "11"
ptree = "0.4.0"
rand = { version = "0.8" }