Skip to content

Commit

Permalink
Temporarily disable the async-std, tokio, mio, and socket2 impls. (#443)
Browse files Browse the repository at this point in the history
Temporarily disable io-lifetimes impls for third-party crates which don't
yet have have trait impls for the I/O safety traits.
  • Loading branch information
sunfishcode authored Nov 14, 2022
1 parent 9fe8277 commit 431a7b1
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 431a7b1

Please sign in to comment.