From 431a7b1d871b21e0d4d556cfb4927e175303f7bb Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 14 Nov 2022 06:27:26 -0800 Subject: [PATCH] Temporarily disable the async-std, tokio, mio, and socket2 impls. (#443) Temporarily disable io-lifetimes impls for third-party crates which don't yet have have trait impls for the I/O safety traits. --- Cargo.toml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3445bcaf2..3d1c977eb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -183,10 +183,13 @@ all-apis = [ use-libc-auxv = ["libc"] # Expose io-lifetimes' features for third-party crate impls. -async-std = ["io-lifetimes/async-std"] -tokio = ["io-lifetimes/tokio"] +# Some of these are temporarily disabled, until the upstream creates add the +# needed trait implementations. +#async-std = ["io-lifetimes/async-std"] +#tokio = ["io-lifetimes/tokio"] os_pipe = ["io-lifetimes/os_pipe"] -socket2 = ["io-lifetimes/socket2"] -mio = ["io-lifetimes/mio"] +#socket2 = ["io-lifetimes/socket2"] +#mio = ["io-lifetimes/mio"] fs-err = ["io-lifetimes/fs-err"] -all-impls = ["async-std", "tokio", "os_pipe", "socket2", "mio", "fs-err"] +#all-impls = ["async-std", "tokio", "os_pipe", "socket2", "mio", "fs-err"] +all-impls = ["os_pipe", "fs-err"]