-
Notifications
You must be signed in to change notification settings - Fork 7
/
Cargo.toml
79 lines (63 loc) · 1.7 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
[package]
name = "spherical-cow"
version = "0.1.4"
authors = ["Tim DuBois <tim@neophilus.net>"]
description = "Spherical Cow: High volume fraction sphere packing in arbitrary geometries"
repository = "https://github.com/Libbum/spherical-cow"
readme = "./README.md"
keywords = ["sphere", "packing", "spherepacking", "geometry", "obj"]
license = "MIT/Apache-2.0"
edition = "2018"
exclude = ["benches/*", "examples/*", "tests/*"]
[features]
default = []
serde-1 = ["serde", "nalgebra/serde-serialize"]
[dependencies]
rand = "0.8"
rand_distr = "0.4"
nalgebra = "0.24"
float-cmp = "0.8"
itertools = "0.10"
serde = { version = "1.0", optional = true }
[dev-dependencies]
kiss3d = "0.29"
obj = "0.10"
serde_json = "1.0"
criterion = "0.3"
[[bench]]
path = "benches/sphere_pack.rs"
name = "sphere_pack"
harness = false
[badges]
travis-ci = { repository = "Libbum/spherical-cow", branch = "master" }
codecov = { repository = "Libbum/spherical-cow", branch = "master", service = "github" }
[package.metadata.docs.rs]
features = ["serde-1"]
[[example]]
path = "examples/serialize.rs"
name = "serialize"
required-features = ["serde-1"]
[[example]]
path = "examples/count_sphere_normal.rs"
name = "count_sphere_normal"
[[example]]
path = "examples/count_sphere_range.rs"
name = "count_sphere_range"
[[example]]
path = "examples/show_in_cow.rs"
name = "show_in_cow"
[[example]]
path = "examples/show_in_cuboid.rs"
name = "show_in_cuboid"
[[example]]
path = "examples/show_in_emerald.rs"
name = "show_in_emerald"
[[example]]
path = "examples/show_in_sphere.rs"
name = "show_in_sphere"
[[example]]
path = "examples/statistics_emerald.rs"
name = "statistics_emerald"
[[example]]
path = "examples/statistics_sphere.rs"
name = "statistics_sphere"