mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-05-05 18:54:13 +02:00
Rust wrapper: avoid warning when neither blake2b nor blake2s is enabled
This commit is contained in:
@@ -23,6 +23,8 @@ This module provides a Rust wrapper for the wolfCrypt library's BLAKE2
|
||||
functionality.
|
||||
*/
|
||||
|
||||
#![cfg(any(blake2b, blake2s))]
|
||||
|
||||
use crate::sys;
|
||||
use std::mem::MaybeUninit;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user