From 3afcd6223c0743794de06c6c3acc328a77c573b4 Mon Sep 17 00:00:00 2001 From: chyyran Date: Wed, 14 Feb 2024 03:04:40 -0500 Subject: [PATCH] build(capi): dont enable all core features --- librashader-capi/Cargo.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/librashader-capi/Cargo.toml b/librashader-capi/Cargo.toml index e9844ac..ed79dda 100644 --- a/librashader-capi/Cargo.toml +++ b/librashader-capi/Cargo.toml @@ -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