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 harness = false
[features] [features]
default = ["async-std", "mmap", "link_to"] default = ["async-std", "mmap"]
mmap = ["memmap2", "libc"] mmap = ["memmap2", "libc"]
async-std = ["dep:async-std", "futures"] async-std = ["dep:async-std", "futures"]
link_to = [] link_to = []

View File

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