-
Notifications
You must be signed in to change notification settings - Fork 34
/
Cargo.toml
67 lines (60 loc) · 1.58 KB
/
Cargo.toml
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
[package]
name = "meshopt"
version = "0.4.0"
authors = ["Graham Wihlidal <[email protected]>"]
description = "Rust ffi bindings and idiomatic wrapper for mesh optimizer"
homepage = "https://github.com/gwihlidal/meshopt-rs"
repository = "https://github.com/gwihlidal/meshopt-rs"
documentation = "https://docs.rs/meshopt"
readme = "README.md"
keywords = ["mesh", "optimize", "cache", "3d", "rendering"]
categories = ["rendering", "rendering::engine"]
license = "MIT OR Apache-2.0"
build = "build.rs"
include = [
"src/*.rs",
"gen/bindings.rs",
"build.rs",
"Cargo.toml",
"vendor/src/meshoptimizer.h",
"vendor/src/allocator.cpp",
"vendor/src/clusterizer.cpp",
"vendor/src/indexcodec.cpp",
"vendor/src/indexgenerator.cpp",
"vendor/src/overdrawanalyzer.cpp",
"vendor/src/overdrawoptimizer.cpp",
"vendor/src/simplifier.cpp",
"vendor/src/spatialorder.cpp",
"vendor/src/stripifier.cpp",
"vendor/src/vcacheanalyzer.cpp",
"vendor/src/vcacheoptimizer.cpp",
"vendor/src/vertexcodec.cpp",
"vendor/src/vfetchanalyzer.cpp",
"vendor/src/vfetchoptimizer.cpp",
"include_wasm32/*.h",
]
edition = "2021"
[badges]
maintenance = { status = "actively-developed" }
[dependencies]
float-cmp = "0.10"
thiserror = "2.0"
bitflags = "2.4"
[build-dependencies]
cc = { version = "1.0" }
[build-dependencies.bindgen]
version = "0.70"
optional = true
[dev-dependencies]
tobj = "4.0"
miniz_oxide = "0.8"
rand = "0.8"
libc = "0.2"
structopt = "0.3"
memoffset = "0.9"
[profile.release]
lto = true
opt-level = 3
codegen-units = 1
[features]
generate_bindings = ["bindgen"]