Skip to content

Commit 5381203

Browse files
committed
Fix feature sync isolations.
1 parent 66e51bf commit 5381203

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "fp_rust"
3-
version = "0.3.4"
3+
version = "0.3.5"
44
license = "MIT"
55
authors = ["JunYi JohnTeee Lee <johnteee@gmail.com>"]
66
edition = "2018"

src/sync.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ use std::pin::Pin;
2424
use std::task::{Context, Poll, Waker};
2525

2626
use super::common::{Observable, RawFunc, SubscriptionFunc};
27+
28+
#[cfg(feature = "handler")]
2729
use super::handler::{Handler, HandlerThread};
30+
#[cfg(feature = "publisher")]
2831
use super::publisher::Publisher;
2932

3033
/**

0 commit comments

Comments
 (0)