diff --git a/README.md b/README.md index d54d8c8..9f5f2d8 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ librashader (*/ˈli:brəʃeɪdɚ/*) is a preprocessor, compiler, and runtime for [![Latest Version](https://img.shields.io/crates/v/librashader.svg)](https://crates.io/crates/librashader) [![Docs](https://docs.rs/librashader/badge.svg)](https://docs.rs/librashader) [![build result](https://build.opensuse.org/projects/home:chyyran:librashader/packages/librashader/badge.svg)](https://software.opensuse.org//download.html?project=home%3Achyyran%3Alibrashader&package=librashader) ![License](https://img.shields.io/crates/l/librashader) -![Nightly rust](https://img.shields.io/badge/rust-nightly-orange.svg) ![Stable rust](https://img.shields.io/badge/rust-1.77-blue.svg) +![Stable rust](https://img.shields.io/badge/rust-1.78-blue.svg) ![Nightly rust](https://img.shields.io/badge/rust-nightly-orange.svg) ## Installation For end-users, librashader is available from the [Open Build Service](https://software.opensuse.org//download.html?project=home%3Achyyran%3Alibrashader&package=librashader) for a variety of Linux distributions and platforms. diff --git a/librashader-reflect/Cargo.toml b/librashader-reflect/Cargo.toml index 6524f43..3f2791e 100644 --- a/librashader-reflect/Cargo.toml +++ b/librashader-reflect/Cargo.toml @@ -38,13 +38,13 @@ optional = true [features] default = ["cross", "naga", "wgsl", "msl"] -dxil = ["spirv-cross2/hlsl", "dep:spirv-to-dxil"] -wgsl = ["cross", "naga/wgsl-out", "dep:spirv", "dep:rspirv"] -cross = [ "dep:spirv-cross2", "spirv-cross2/glsl", "spirv-cross2/hlsl", "spirv-cross2/msl" ] -naga = [ "dep:rspirv", "dep:spirv", "naga/spv-in", "naga/spv-out", "naga/wgsl-out", "naga/msl-out" ] +dxil = [ "spirv-cross2?/hlsl", "dep:spirv-to-dxil" ] +wgsl = [ "cross", "naga", "naga/wgsl-out", "dep:spirv", "dep:rspirv"] +cross = [ "spirv-cross2", "spirv-cross2/glsl", "spirv-cross2/hlsl", "spirv-cross2/msl" ] +naga = [ "dep:rspirv", "dep:spirv", "dep:naga", "naga/spv-in", "naga/spv-out", "naga/wgsl-out", "naga/msl-out" ] serde = ["dep:serde", "serde/derive", "librashader-common/serde", "bitflags/serde"] +msl = [ "cross", "spirv-cross2/msl", "naga?/msl-out" ] -msl = [ "spirv-cross2/msl", "naga/msl-out" ] stable = [] unstable-naga-in = ["naga/glsl-in"] diff --git a/librashader-reflect/src/lib.rs b/librashader-reflect/src/lib.rs index f4582df..49c16c2 100644 --- a/librashader-reflect/src/lib.rs +++ b/librashader-reflect/src/lib.rs @@ -44,8 +44,6 @@ //! a pure-Rust shader compiler, as well as SPIRV-Cross via [SpirvCompilation](crate::front::SpirvCompilation) //! is supported. #![cfg_attr(not(feature = "stable"), feature(impl_trait_in_assoc_type))] -#![allow(stable_features)] -#![cfg_attr(not(feature = "stable"), feature(c_str_literals))] /// Shader codegen backends. pub mod back; /// Error types.