feat: using workspace crate deps (#3924)

* chore: workspace deps

* chore: use workspace deps
This commit is contained in:
Nathan.fooo
2023-11-12 21:18:27 +08:00
committed by GitHub
parent 7eb20b232a
commit 50e612511d
40 changed files with 437 additions and 339 deletions

View File

@ -14,16 +14,15 @@ crate-type = ["staticlib"]
[dependencies]
allo-isolate = { version = "^0.1", features = ["catch-unwind"] }
byteorder = { version = "1.4.3" }
protobuf = { version = "2.28.0" }
tokio = { version = "1.26", features = ["full", "rt-multi-thread", "tracing"] }
log = "0.4.17"
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0" }
bytes = { version = "1.5" }
protobuf.workspace = true
tokio = { workspace = true, features = ["full", "rt-multi-thread", "tracing"] }
serde.workspace = true
serde_json.workspace = true
bytes.workspace = true
crossbeam-utils = "0.8.15"
lazy_static = "1.4.0"
parking_lot = "0.12.1"
tracing = { version = "0.1", features = ["log"] }
parking_lot.workspace = true
tracing.workspace = true
# workspace
lib-dispatch = { workspace = true }

View File

@ -4,9 +4,8 @@ use std::sync::Arc;
use std::{ffi::CStr, os::raw::c_char};
use lazy_static::lazy_static;
use log::error;
use parking_lot::Mutex;
use tracing::trace;
use tracing::{error, trace};
use flowy_core::*;
use flowy_notification::{register_notification_sender, unregister_all_notification_sender};