From 9261c40f316a9f04f0ea6e4cf1f40a402933d678 Mon Sep 17 00:00:00 2001 From: Henry Schimke Date: Tue, 16 Jan 2024 12:46:18 -0600 Subject: [PATCH] fix: include cfg directive for new test case --- Cargo.toml | 2 +- tests/cpp_qr_code_blackbox_tests.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 7b5b2f3..a696b38 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rxing" -version = "0.5.3" +version = "0.5.4" description="A rust port of the zxing barcode library." license="Apache-2.0" repository="https://github.com/rxing-core/rxing" diff --git a/tests/cpp_qr_code_blackbox_tests.rs b/tests/cpp_qr_code_blackbox_tests.rs index ac90a81..7883373 100644 --- a/tests/cpp_qr_code_blackbox_tests.rs +++ b/tests/cpp_qr_code_blackbox_tests.rs @@ -328,6 +328,7 @@ fn cpp_qrcode_black_box7_test_case() { tester.test_black_box(); } +#[cfg(feature = "image-formats")] #[test] fn cpp_rmqr_blackbox_test_case() { let mut tester = common::AbstractBlackBoxTestCase::new(