Skip to content

Commit

Permalink
Removed link_to from default features, since it was used in another m…
Browse files Browse the repository at this point in the history
…odule without a conditional compilation flag
  • Loading branch information
kinire98 committed Feb 12, 2024
1 parent 083e6ae commit 25fadde
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down
6 changes: 2 additions & 4 deletions src/content/read.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};

Expand Down

0 comments on commit 25fadde

Please sign in to comment.