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
|
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 = []
|
||||||
|
|
|
||||||
|
|
@ -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};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue