Removed link_to from default features, since it was used in another module without a conditional compilation flag

This commit is contained in:
kinire98 2024-02-12 17:55:07 +01:00
parent 083e6ae85c
commit 25fadde59b
2 changed files with 3 additions and 5 deletions

View File

@ -56,7 +56,7 @@ name = "benchmarks"
harness = false
[features]
default = ["async-std", "mmap", "link_to"]
default = ["async-std", "mmap"]
mmap = ["memmap2", "libc"]
async-std = ["dep:async-std", "futures"]
link_to = []

View File

@ -6,10 +6,8 @@ use std::pin::Pin;
#[cfg(any(feature = "async-std", feature = "tokio"))]
use std::task::{Context, Poll};
#[cfg(feature = "async-std")]
use futures::io::AsyncReadExt;
#[cfg(feature = "tokio")]
use tokio::io::AsyncReadExt;
#[cfg(any(feature = "async-std", feature = "tokio"))]
use crate::async_lib::AsyncReadExt;
use ssri::{Algorithm, Integrity, IntegrityChecker};