Cargo Features

[dependencies]
nsi-core = { version = "0.8.0", default-features = false, features = ["link_lib3delight", "download_lib3delight", "output", "nightly", "ustr_handles", "dlopen2"] }
default = dlopen2

The dlopen2 feature is set by default whenever nsi-core is added without default-features = false somewhere in the dependency tree.

Specify this to link agains lib3delight

download_lib3delight = reqwest

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

output = ndspy-sys

Pixel streaming support.

Affects nsi-core::output

nightly

Nightly/unstable features.

ustr_handles

Use Ustr cache for handles too

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.

dlopen2 default

Enables dlopen2 ^0.6

ndspy-sys output?
reqwest build download_lib3delight?

Enables reqwest ^0.11