diff --git a/frontend/app_flowy/packages/flowy_sdk/lib/dispatch/dispatch.dart b/frontend/app_flowy/packages/flowy_sdk/lib/dispatch/dispatch.dart index ddbed66ee4..3dae52080e 100644 --- a/frontend/app_flowy/packages/flowy_sdk/lib/dispatch/dispatch.dart +++ b/frontend/app_flowy/packages/flowy_sdk/lib/dispatch/dispatch.dart @@ -5,7 +5,6 @@ import 'package:flowy_sdk/log.dart'; import 'package:flowy_sdk/protobuf/dart-ffi/ffi_response.pb.dart'; import 'package:flowy_sdk/protobuf/flowy-error/errors.pb.dart'; import 'package:flowy_sdk/protobuf/flowy-net/network_state.pb.dart'; -import 'package:flowy_sdk/protobuf/flowy-user/event_map.pb.dart'; import 'package:isolates/isolates.dart'; import 'package:isolates/ports.dart'; import 'package:ffi/ffi.dart'; diff --git a/frontend/rust-lib/Cargo.lock b/frontend/rust-lib/Cargo.lock index afd27f512f..d452c1a025 100644 --- a/frontend/rust-lib/Cargo.lock +++ b/frontend/rust-lib/Cargo.lock @@ -765,11 +765,11 @@ dependencies = [ [[package]] name = "fake" -version = "2.3.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6479fa2c7e83ddf8be7d435421e093b072ca891b99a49bc84eba098f4044f818" +checksum = "4d68f517805463f3a896a9d29c1d6ff09d3579ded64a7201b4069f8f9c0d52fd" dependencies = [ - "rand 0.7.3", + "rand 0.8.5", ] [[package]] @@ -1178,9 +1178,11 @@ name = "flowy-user" version = "0.1.0" dependencies = [ "bytes", + "claim 0.4.0", "dart-notify", "diesel", "diesel_derives", + "fake", "fancy-regex", "flowy-database", "flowy-derive", @@ -1195,8 +1197,13 @@ dependencies = [ "once_cell", "parking_lot 0.11.2", "protobuf", + "quickcheck", + "quickcheck_macros", + "rand 0.8.5", + "rand_core 0.6.3", "serde", "serde_json", + "serial_test", "strum", "strum_macros", "tokio", diff --git a/frontend/rust-lib/flowy-test/Cargo.toml b/frontend/rust-lib/flowy-test/Cargo.toml index 70cb341002..1ce06ff15b 100644 --- a/frontend/rust-lib/flowy-test/Cargo.toml +++ b/frontend/rust-lib/flowy-test/Cargo.toml @@ -31,7 +31,7 @@ nanoid = "0.4.0" [dev-dependencies] quickcheck = "1.0.3" quickcheck_macros = "0.9.1" -fake = "~2.3.0" +fake = "2.4.3" claim = "0.4.0" futures = "0.3.15" serial_test = "0.5.1" diff --git a/frontend/rust-lib/flowy-user/Cargo.toml b/frontend/rust-lib/flowy-user/Cargo.toml index b7127b69a9..46490817ce 100644 --- a/frontend/rust-lib/flowy-user/Cargo.toml +++ b/frontend/rust-lib/flowy-user/Cargo.toml @@ -34,8 +34,15 @@ fancy-regex = "0.10.0" [dev-dependencies] flowy-test = { path = "../flowy-test" } -futures = "0.3.15" nanoid = "0.4.0" +quickcheck = "1.0.3" +quickcheck_macros = "0.9.1" +fake = "2.4.3" +claim = "0.4.0" +futures = "0.3.15" +serial_test = "0.5.1" +rand_core = "0.6.3" +rand = "0.8.5" [features] dart = ["lib-infra/dart"]