chore: remove unused deps and imports

This commit is contained in:
əlemi 2024-08-09 00:49:31 +02:00
parent 9a1263302c
commit 29ffba3309
Signed by: alemi
GPG key ID: A4895B84D311642C
2 changed files with 3 additions and 8 deletions

View file

@ -22,10 +22,7 @@ similar = { version = "2.2", features = ["inline"] }
tokio = { version = "1.0", features = ["macros", "rt-multi-thread", "sync"] } tokio = { version = "1.0", features = ["macros", "rt-multi-thread", "sync"] }
async-trait = { version = "0.1" } async-trait = { version = "0.1" }
# client # client
md5 = { version = "0.7.0" }
serde_json = { version = "1" }
tokio-stream = { version = "0.1" } tokio-stream = { version = "0.1" }
serde = { version = "1.0.193", features = ["derive"] }
dashmap = { version = "5.5.3" } dashmap = { version = "5.5.3" }
postcard = { version = "1.0.8" } postcard = { version = "1.0.8" }
@ -41,10 +38,8 @@ mlua = { version = "0.9.6", features = ["module", "luajit", "send"], optional =
derive_more = { version = "0.99.17", optional = true } derive_more = { version = "0.99.17", optional = true }
# glue (js) # glue (js)
rmpv = { version = "1", optional = true }
napi = { version = "2.16", features = ["full"], optional = true } napi = { version = "2.16", features = ["full"], optional = true }
napi-derive = { version="2.16", optional = true} napi-derive = { version="2.16", optional = true}
futures = { version = "0.3.28", optional = true }
# glue (python) # glue (python)
pyo3 = { version = "0.20", features = ["extension-module"], optional = true} pyo3 = { version = "0.20", features = ["extension-module"], optional = true}
@ -58,7 +53,7 @@ pyo3-build-config = { version = "0.19.2", optional = true }
[features] [features]
default = [] default = []
lua = ["mlua", "derive_more", "lazy_static", "tracing-subscriber"] lua = ["mlua", "lazy_static", "tracing-subscriber"]
java = ["lazy_static", "jni", "tracing-subscriber"] java = ["lazy_static", "jni", "tracing-subscriber"]
js = ["napi-build", "tracing-subscriber", "rmpv", "napi", "napi-derive", "futures"] js = ["napi-build", "tracing-subscriber", "napi", "napi-derive"]
python = ["pyo3", "pyo3-asyncio", "tracing-subscriber", "pyo3-build-config"] python = ["pyo3", "pyo3-asyncio", "tracing-subscriber", "pyo3-build-config"]

View file

@ -1,6 +1,6 @@
use crate::{ use crate::{
api::{controller::ControllerWorker, Controller, User}, api::{controller::ControllerWorker, Controller, User},
buffer::{self, tools::InternallyMutable, worker::BufferWorker}, buffer::{self, worker::BufferWorker},
cursor::{self, worker::CursorWorker}, cursor::{self, worker::CursorWorker},
workspace::service::Services, workspace::service::Services,
}; };