mirror of https://github.com/zkat/cacache-rs.git
Removed link_to from default features, since it was used in another module without a conditional compilation flag
This commit is contained in:
parent
083e6ae85c
commit
25fadde59b
|
|
@ -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 = []
|
||||
|
|
|
|||
|
|
@ -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};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue