From 4100cb11bfc17c239e49d00a8d8e89c463e9e665 Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Fri, 14 Jul 2023 17:47:48 +0200 Subject: [PATCH] CI: enable `rkyv`'s `size_32` features while build-testing the documentation --- .github/workflows/ci.yml | 2 +- Cargo.toml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8849d27b..1991595a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: - name: Build-test documentation env: RUSTDOCFLAGS: -Dwarnings - run: cargo doc --all --all-features --no-deps --document-private-items + run: cargo doc --all --all-features --no-deps --document-private-items --features rkyv/size_32 test: name: Test diff --git a/Cargo.toml b/Cargo.toml index 365714b7..46ca386c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,13 +48,12 @@ mint = { version = "0.5.8", optional = true, default-features = false } rand = { version = "0.8", optional = true, default-features = false } serde = { version = "1.0", optional = true, default-features = false } rkyv = { version = "0.7", optional = true, default-features = false } -bytecheck = { version = "0.6", optional = true, default-features = false} +bytecheck = { version = "0.6", optional = true, default-features = false } libm = { version = "0.2", optional = true, default-features = false} [dev-dependencies] # rand_xoshiro is required for tests if rand is enabled rand_xoshiro = "0.6" -rkyv = "0.7" serde_json = "1.0" [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]