build(capi): dont enable all core features

This commit is contained in:
chyyran 2024-02-14 03:04:40 -05:00 committed by Ronny Chan
parent fb62a1e3f4
commit 3afcd6223c

View file

@ -30,7 +30,6 @@ __cbindgen_internal = ["runtime-all"]
__cbindgen_internal_objc = ["icrate", "objc2"]
[dependencies]
librashader = { path = "../librashader", version = "0.2.0-beta.11" }
thiserror = "1.0.37"
paste = "1.0.9"
gl = { version = "0.14.0", optional = true }
@ -38,6 +37,12 @@ rustc-hash = "1.1.0"
ash = { version = "0.37", optional = true }
spirv_cross = { package = "librashader-spirv-cross", version = "0.25.1" }
[dependencies.librashader]
path = "../librashader"
version = "0.2.0-beta.11"
default-features = false
features = ["presets", "preprocess"]
[target.'cfg(windows)'.dependencies.windows]
version = "0.48.0"
optional = true