Skip to content

Commit 00035ba

Browse files
authored
refactor: set correct cfg on common::{rewind, Exec, Lazy, SyncWrapper} (#224)
1 parent ad8c7c5 commit 00035ba

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/common/mod.rs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
#![allow(missing_docs)]
22

33
pub(crate) mod exec;
4-
#[cfg(feature = "client")]
4+
#[cfg(feature = "client-legacy")]
55
mod lazy;
6+
#[cfg(feature = "server")]
7+
// #[cfg(feature = "server-auto")]
68
pub(crate) mod rewind;
7-
#[cfg(feature = "client")]
9+
#[cfg(feature = "client-legacy")]
810
mod sync;
911
pub(crate) mod timer;
1012

11-
#[cfg(feature = "client")]
13+
#[cfg(feature = "client-legacy")]
1214
pub(crate) use exec::Exec;
1315

14-
#[cfg(feature = "client")]
16+
#[cfg(feature = "client-legacy")]
1517
pub(crate) use lazy::{lazy, Started as Lazy};
16-
#[cfg(feature = "client")]
18+
#[cfg(feature = "client-legacy")]
1719
pub(crate) use sync::SyncWrapper;
1820

1921
pub(crate) mod future;

0 commit comments

Comments
 (0)