build: try and fix downstream docs.rs

This commit is contained in:
chyyran 2023-02-06 03:07:48 -05:00
parent 09bdbcdbec
commit 70b57831d3
4 changed files with 3 additions and 12 deletions

2
Cargo.lock generated
View file

@ -216,7 +216,7 @@ dependencies = [
[[package]]
name = "spirv-to-dxil-sys"
version = "0.2.2"
version = "0.2.3"
dependencies = [
"bindgen",
"cmake",

View file

@ -1,6 +1,6 @@
[package]
name = "spirv-to-dxil-sys"
version = "0.2.3"
version = "0.2.6"
edition = "2021"
description = "Raw bindings to spirv-to-dxil"
license = "MIT"
@ -18,5 +18,4 @@ cmake = "0.1"
included-bindings = []
[package.metadata.docs.rs]
targets = []
features = ["included-bindings"]

View file

@ -2,7 +2,6 @@
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#[cfg(not(feature = "included-bindings"))]
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
#[cfg(feature = "included-bindings")]

View file

@ -1,6 +1,6 @@
[package]
name = "spirv-to-dxil"
version = "0.2.5"
version = "0.2.6"
edition = "2021"
description = "Rust bindings to spirv-to-dxil"
license = "MIT"
@ -13,12 +13,5 @@ readme = "../README.md"
spirv-to-dxil-sys = { version = "0.2", path = "../spirv-to-dxil-sys" }
bitflags = "1.3.2"
[features]
included-bindings = ["spirv-to-dxil-sys/included-bindings"]
[dev-dependencies]
bytemuck = "1.13.0"
[package.metadata.docs.rs]
targets = []
features = ["included-bindings"]