-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCargo.toml
178 lines (150 loc) · 4.37 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
[package]
name = "curvo"
version = "0.1.49"
authors = ["Masatatsu Nakamura <masatatsu.nakamura@gmail.com"]
edition = "2021"
keywords = ["nurbs", "modeling", "graphics", "3d"]
categories = ["graphics"]
description = "NURBS modeling library"
homepage = "https://github.com/mattatz/curvo"
repository = "https://github.com/mattatz/curvo"
license = "MIT"
readme = "README.md"
[dependencies]
anyhow = "1.0.95"
nalgebra = { version = "0.33.2", features = ["serde-serialize"] }
num-traits = "0.2.19"
rand = "0.8.5"
rand_distr = { version = "0.4.3", default-features = false, optional = true }
robust = { version = "1.1.0" }
easer = { version = "0.3.0", optional = true }
simba = { version = "0.9.0", default-features = false }
spade = { version = "2.12.1" }
gauss-quad = "0.2.2"
bevy = { version = "0.15.1", optional = true }
bevy_egui = { version = "0.31.1", optional = true }
bevy_infinite_grid = { version = "0.14.1", optional = true }
bevy_normal_material = { version = "0.7.1", optional = true }
bevy_panorbit_camera = { version = "0.21.2", optional = true }
bevy_points = { version = "0.7.0", optional = true }
argmin = "0.10.0"
itertools = "0.14.0"
log = { version = "0.4", optional = true }
serde = { version = "1.0.217", optional = true }
[target.wasm32-unknown-unknown.dependencies]
argmin = { version = "0.10.0", features = ["wasm-bindgen"] }
[dev-dependencies]
approx = { version = "0.5", default-features = false }
serde_json = "1.0.135"
[features]
default = []
# default = ["bevy", "serde"] # for debugging example
bevy = [
"dep:easer",
"dep:rand_distr",
"dep:bevy",
"dep:bevy_egui",
"dep:bevy_infinite_grid",
"dep:bevy_normal_material",
"dep:bevy_panorbit_camera",
"dep:bevy_points",
"nalgebra/convert-glam029",
]
log = ["dep:log"]
serde = ["dep:serde"]
[[example]]
name = "interpolate_curve"
path = "examples/interpolate_curve.rs"
required-features = ["bevy"]
[[example]]
name = "periodic_interpolate_curve"
path = "examples/periodic_interpolate_curve.rs"
required-features = ["bevy"]
[[example]]
name = "circle_curve"
path = "examples/circle_curve.rs"
required-features = ["bevy"]
[[example]]
name = "ellipse_arc_curve"
path = "examples/ellipse_arc_curve.rs"
required-features = ["bevy"]
[[example]]
name = "polyline_curve"
path = "examples/polyline_curve.rs"
required-features = ["bevy"]
[[example]]
name = "split_curve"
path = "examples/split_curve.rs"
required-features = ["bevy"]
[[example]]
name = "loft_surface"
path = "examples/loft_surface.rs"
required-features = ["bevy"]
[[example]]
name = "sweep_surface"
path = "examples/sweep_surface.rs"
required-features = ["bevy"]
[[example]]
name = "revolve_surface"
path = "examples/revolve_surface.rs"
required-features = ["bevy"]
[[example]]
name = "trimmed_surface"
path = "examples/trimmed_surface.rs"
required-features = ["bevy"]
[[example]]
name = "frenet_frame"
path = "examples/frenet_frame.rs"
required-features = ["bevy"]
[[example]]
name = "decompose_curve_into_bezier_segments"
path = "examples/decompose_curve_into_bezier_segments.rs"
required-features = ["bevy"]
[[example]]
name = "divide_curve_by_arc_length"
path = "examples/divide_curve_by_arc_length.rs"
required-features = ["bevy"]
[[example]]
name = "multiple_degree_curves"
path = "examples/multiple_degree_curves.rs"
required-features = ["bevy"]
[[example]]
name = "intersect_curves"
path = "examples/intersect_curves.rs"
required-features = ["bevy"]
[[example]]
name = "intersect_surface_curve"
path = "examples/intersect_surface_curve.rs"
required-features = ["bevy"]
[[example]]
name = "iso_curves"
path = "examples/iso_curves.rs"
required-features = ["bevy"]
[[example]]
name = "boundary_curves"
path = "examples/boundary_curves.rs"
required-features = ["bevy"]
[[example]]
name = "boolean_curves"
path = "examples/boolean_curves.rs"
required-features = ["bevy"]
[[example]]
name = "boolean_curves_animation"
path = "examples/boolean_curves_animation.rs"
required-features = ["bevy"]
[[example]]
name = "closest_point_on_surface"
path = "examples/closest_point_on_surface.rs"
required-features = ["bevy"]
[[example]]
name = "split_surface"
path = "examples/split_surface.rs"
required-features = ["bevy"]
[[example]]
name = "constrained_surface_tessellation"
path = "examples/constrained_surface_tessellation.rs"
required-features = ["bevy"]
[[example]]
name = "constrained_trimmed_surface_tessellation"
path = "examples/constrained_trimmed_surface_tessellation.rs"
required-features = ["bevy"]