async_stream_packed/
lib.rs1cfg_if::cfg_if! {
2 if #[cfg(all(feature = "futures_io", not(feature = "tokio_io")))] {
3 pub mod syncable_with_context;
4 pub use syncable_with_context::SyncableWithContextAsyncStream;
5 } else if #[cfg(all(not(feature = "futures_io"), feature = "tokio_io"))] {
6 pub mod syncable_with_context;
7 pub use syncable_with_context::SyncableWithContextAsyncStream;
8 }
9}
10
11cfg_if::cfg_if! {
12 if #[cfg(all(feature = "syncable_with_waker", feature = "futures_io", not(feature = "tokio_io")))] {
13 pub mod syncable_with_waker;
14 pub use syncable_with_waker::SyncableWithWakerAsyncStream;
15 } else if #[cfg(all(feature = "syncable_with_waker", not(feature = "futures_io"), feature = "tokio_io"))] {
16 pub mod syncable_with_waker;
17 pub use syncable_with_waker::SyncableWithWakerAsyncStream;
18 }
19}
20
21cfg_if::cfg_if! {
22 if #[cfg(all(feature = "unionable", feature = "futures_io", not(feature = "tokio_io")))] {
23 pub mod unionable;
24 pub use unionable::UnionableAsyncStream;
25 } else if #[cfg(all(feature = "unionable", not(feature = "futures_io"), feature = "tokio_io"))] {
26 pub mod unionable;
27 pub use unionable::UnionableAsyncStream;
28 }
29}
30
31cfg_if::cfg_if! {
32 if #[cfg(all(feature = "upgradable", feature = "futures_io", not(feature = "tokio_io")))] {
33 pub mod upgradable;
34 pub use upgradable::{UpgradableAsyncStream, Upgrader};
35
36 pub mod upgradable_ext;
37 pub use upgradable_ext::{UpgraderExtIntoStream, UpgraderExtRefer};
38
39 pub mod gradable;
40 pub use gradable::{Downgrader, GradableAsyncStream};
41
42 pub mod tls;
44 pub use tls::{TlsClientUpgrader, TlsServerUpgrader};
45
46 pub mod http_tunnel;
47 pub use http_tunnel::HttpTunnelClientGrader;
48
49 pub mod http;
50 pub use http::{HttpClientInnerStream, HttpClientProxy};
51
52 pub mod imap;
53 pub use imap::ImapClientInnerStream;
54
55 pub mod smtp;
56 pub use smtp::SmtpClientInnerStream;
57 } else if #[cfg(all(feature = "upgradable", not(feature = "futures_io"), feature = "tokio_io"))] {
58 pub mod upgradable;
59 pub use upgradable::{UpgradableAsyncStream, Upgrader};
60
61 pub mod upgradable_ext;
62 pub use upgradable_ext::{UpgraderExtIntoStream, UpgraderExtRefer};
63
64 pub mod gradable;
65 pub use gradable::{Downgrader, GradableAsyncStream};
66
67 pub mod tls;
69 pub use tls::{TlsClientUpgrader, TlsServerUpgrader};
70
71 pub mod http_tunnel;
72 pub use http_tunnel::HttpTunnelClientGrader;
73
74 pub mod http;
75 pub use http::{HttpClientInnerStream, HttpClientProxy};
76
77 pub mod imap;
78 pub use imap::ImapClientInnerStream;
79
80 pub mod smtp;
81 pub use smtp::SmtpClientInnerStream;
82 }
83}