mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
refactor: remove unuse crate references
This commit is contained in:
@ -26,10 +26,7 @@ once_cell = "1"
|
||||
lib-dispatch = {path = "../lib-dispatch" }
|
||||
flowy-sdk = {path = "../flowy-sdk"}
|
||||
dart-notify = {path = "../dart-notify" }
|
||||
|
||||
flowy-derive = {path = "../../../shared-lib/flowy-derive" }
|
||||
backend-service = { path = "../../../shared-lib/backend-service" }
|
||||
|
||||
|
||||
[features]
|
||||
flutter = ["dart-notify/dart"]
|
||||
|
@ -8,7 +8,9 @@ use crate::{
|
||||
c::{extend_front_four_bytes_into_bytes, forget_rust},
|
||||
model::{FFIRequest, FFIResponse},
|
||||
};
|
||||
use flowy_sdk::get_client_server_configuration;
|
||||
use flowy_sdk::*;
|
||||
use lib_dispatch::prelude::ToBytes;
|
||||
use lib_dispatch::prelude::*;
|
||||
use once_cell::sync::OnceCell;
|
||||
use std::{ffi::CStr, os::raw::c_char};
|
||||
@ -80,9 +82,6 @@ pub extern "C" fn set_stream_port(port: i64) -> i32 {
|
||||
#[no_mangle]
|
||||
pub extern "C" fn link_me_please() {}
|
||||
|
||||
use backend_service::configuration::get_client_server_configuration;
|
||||
use lib_dispatch::prelude::ToBytes;
|
||||
|
||||
#[inline(always)]
|
||||
async fn post_to_flutter(response: EventResponse, port: i64) {
|
||||
let isolate = allo_isolate::Isolate::new(port);
|
||||
|
Reference in New Issue
Block a user