diff --git a/frontend/rust-lib/dart-ffi/Cargo.toml b/frontend/rust-lib/dart-ffi/Cargo.toml index a8b3892ac2..71f64fb101 100644 --- a/frontend/rust-lib/dart-ffi/Cargo.toml +++ b/frontend/rust-lib/dart-ffi/Cargo.toml @@ -27,7 +27,7 @@ parking_lot = "0.12.1" lib-dispatch = { path = "../lib-dispatch" } flowy-sdk = { path = "../flowy-sdk" } -dart-notify = { path = "../dart-notify" } +dart-notify = { path = "../dart-notify", feature = ["dart"] } flowy-derive = { path = "../flowy-derive" } [features] diff --git a/frontend/rust-lib/dart-notify/Cargo.toml b/frontend/rust-lib/dart-notify/Cargo.toml index 57a7663043..7c65ca7065 100644 --- a/frontend/rust-lib/dart-notify/Cargo.toml +++ b/frontend/rust-lib/dart-notify/Cargo.toml @@ -17,3 +17,6 @@ lib-dispatch = {path = "../lib-dispatch" } [build-dependencies] flowy-codegen = { path = "../flowy-codegen", features = ["dart"]} + +[features] +dart = [] \ No newline at end of file