Cargo Features

NSI has no features set by default.

[dependencies]
nsi = { version = "0.8.0", features = ["link_lib3delight", "download_lib3delight", "output", "jupyter", "toolbelt", "delight", "nightly", "ustr"] }

Specify this to link agains lib3delight

Enables link_lib3delight of nsi-core

download_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).

Enables download_lib3delight of nsi-core

output

Pixel streaming support.

Enables output of nsi-core

jupyter = nsi-jupyter

Jupyter notebooks integration.

Affects nsi::jupyter

toolbelt = nsi-toolbelt

Scene construction helpers.

Affects nsi::toolbelt

delight = nsi-3delight

3Delight support.

Affects nsi::delight

nightly

Nightly/unstable features.

Enables nightly of nsi-core

ustr

Ustr handles.

Enables ustr_handles of nsi-core

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

nsi-3delight delight?
nsi-jupyter jupyter?
nsi-toolbelt toolbelt?