-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
69 lines (61 loc) · 2.21 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
[package]
name = "nsi"
version = "0.8.0"
authors = ["Moritz Moeller <[email protected]>"]
edition = "2021"
keywords = ["graphics", "rendering", "3d", "ray-tracing", "scene-description"]
categories = ["graphics", "multimedia::images", "rendering::graphics-api"]
license = "MIT OR Apache-2.0 OR Zlib"
description = "Nodal Scene Interface for (offline) 3D renderers – ɴsɪ."
exclude = [".github/**/*", "crates/**/*", "assets/**/*", "examples/**/*"]
readme = "README.md"
homepage = "https://www.3delight.com/"
documentation = "https://docs.rs/nsi/"
repository = "https://github.com/virtualritz/nsi/"
[workspace]
members = ["crates/*"]
[features]
default = []
# Specify this to link agains lib3delight
link_lib3delight = ["nsi-core/link_lib3delight"]
# Whether to download a dynamic library version of 3Delight
# if the renderer can't be found locally. The renderer is
# needed as soon as the crate is linked against (e.g. for
# running the tests).
download_lib3delight = ["nsi-core/download_lib3delight"]
# Pixel streaming support.
output = ["nsi-core/output"]
# Jupyter notebooks integration.
jupyter = ["nsi-jupyter"]
# Scene construction helpers.
toolbelt = ["nsi-toolbelt"]
# 3Delight support.
delight = ["nsi-3delight"]
# Nightly/unstable features.
nightly = ["nsi-core/nightly"]
# Ustr handles.
ustr = ["nsi-core/ustr_handles"]
[dependencies]
nsi-3delight = { version = "0.8", path = "crates/nsi-3delight", optional = true }
nsi-core = { version = "0.8", path = "crates/nsi-core" }
nsi-jupyter = { version = "0.8", path = "crates/nsi-jupyter", optional = true }
nsi-toolbelt = { version = "0.8", path = "crates/nsi-toolbelt", optional = true }
[dev-dependencies]
dl-openvdb-query = "0.1"
exr = "1.71"
nsi-3delight = { version = "0.8", path = "crates/nsi-3delight" }
nsi-toolbelt = { version = "0.8", path = "crates/nsi-toolbelt" }
png = "0.17"
polyhedron-ops = { version = "0.2.7", features = ["nsi"] }
[[example]]
path = "examples/interactive/main.rs"
name = "interactive"
[[example]]
path = "examples/output/main.rs"
name = "output"
required-features = ["output"]
[[example]]
path = "examples/volume/main.rs"
name = "volume"
[package.metadata.docs.rs]
features = ["download_lib3delight", "jupyter", "output", "toolbelt", "delight", "nightly"]