From 4f160d3ce7100ec7577a633050be36b5ae3d707c Mon Sep 17 00:00:00 2001 From: Joe O'Connor Date: Thu, 2 Nov 2023 10:29:22 +0000 Subject: [PATCH] Fix dependencies and version --- .github/workflows/ci.yml | 9 +++++++++ Cargo.toml | 7 +++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d979961..63d32dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,15 @@ jobs: with: toolchain: stable - run: cargo check --all-targets + cargo-check-all-features: + name: Cargo check all features + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + - run: cargo check --all-targets --all-features cargo-test: name: Cargo test runs-on: ubuntu-latest diff --git a/Cargo.toml b/Cargo.toml index 4042c59..b905241 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wgsl-inline" -version = "0.1.5" +version = "0.2.0" edition = "2021" license = "MIT" description = "A macro used to embed WGSL within Rust." @@ -12,12 +12,15 @@ categories = ["game-development", "graphics"] include = ["/Cargo.toml", "/LICENSE", "/README.md", "/src/**"] [dependencies] -syn = { version = "2.0", features = ["full"] } +syn = { version = "2.0", features = [] } naga = { version = "0.14", features = ["wgsl-in", "wgsl-out"] } naga-to-tokenstream = "0.4" proc-macro2 = "1.0" quote = "1.0" +[dev-dependencies] +encase = "0.6" + [lib] proc-macro = true