-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
47 lines (39 loc) · 1.19 KB
/
Copy pathCargo.toml
File metadata and controls
47 lines (39 loc) · 1.19 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
[package]
name = "nanoxigs"
version = "0.1.0"
edition = "2024"
license = "Apache-2.0"
description = "Training-free Rust implementation of NanoGS Gaussian-splat simplification"
repository = "https://github.com/calebbuffa/nanoxigs"
keywords = ["gaussian", "splat", "simplification", "3dgs", "nanogs"]
categories = ["mathematics", "graphics", "wasm"]
readme = "README.md"
rust-version = "1.89"
[workspace]
[dependencies]
# CLI argument parsing (optional; used only by the `simplify` binary).
clap = { version = "4", features = ["derive"], optional = true }
[features]
default = []
# The `simplify` CLI binary reads/writes 3DGS PLY files. Keep OFF for wasm
# builds so clap never enters the library's dependency graph.
# cli implies parallel: the binary is native-only, wasm doesn't use it.
cli = ["dep:clap", "parallel"]
# Native-only parallelism for the edge-cost stage (requires threads).
# Keep this OFF for wasm builds.
parallel = ["dep:rayon"]
[dependencies.rayon]
version = "1"
optional = true
[dev-dependencies]
proptest = "1"
criterion = "0.5"
[[bin]]
name = "simplify"
path = "src/bin/simplify/main.rs"
required-features = ["cli"]
[[bench]]
name = "cost"
harness = false
[profile.release]
lto = "thin"