Cargo Features
[dependencies]
zng-view = { version = "0.3.3", default-features = false, features = ["ipc", "software", "bundle_licenses"] }
- default = ipc, software
-
These default features are set whenever
zng-view
is added without
somewhere in the dependency tree.default-features = false - ipc default
-
Enables pre-build and init as view-process.
If this is enabled all communication with the view is serialized/deserialized,
even in same-process mode.Enables ipc of zng-view-api
Affects
zng-view::init
,zng-view::init_extended
,zng-view::extern_init
,zng-view::extern_run_same_process
… - software default
-
Enables software renderer fallback.
If enabled and a native OpenGL 3.2 driver is not available the
swgl
software renderer is used.Enables zng-swgl
- bundle_licenses
-
Bundle third party licenses.
Needs
cargo-about
and Internet connection during build.Not enabled by default. Note that
"view_prebuilt"
always bundles licenses.Enables bundle of zng-tp-licenses