Open yurivict opened 1 month ago
I don't think I understand this issue, could you elaborate please?
The project depends on shaderc, but shaderc doesn't appear in Cargo.lock
The project only depends on shaderc if you enable the notan/shaderc
feature flag, otherwise it does not. notan/glsl-to-spirv
is the default feature as that covers most operating systems, so I think it is expected that Cargo.toml does not contain anything that is related to shaderc.
Documentation says here that [features]
syntax should be used in such case:
[dependencies]
foo = { version = "1.0", optional = true }
bar = { version = "1.0", optional = true }
[features]
fancy-feature = ["foo", "bar"]
This can probably be done with some cargo command, but I don't know cargo enough.
Yes, features are currently used for this:
https://github.com/woelper/oculante/blob/57299c42f36dcea36a3d785e77a617882dd8976b/Cargo.toml#L94
Describe the bug These items are missing:
Desktop (please complete the following information):
Additional context Building in the FreeBSD ports framework.