Commit 06cd0714 by dongshufeng

chore(all): remove no usage dependencies

parent 6427e0e5
...@@ -8,9 +8,7 @@ rust-version.workspace = true ...@@ -8,9 +8,7 @@ rust-version.workspace = true
[dependencies] [dependencies]
log = "^0.4" log = "^0.4"
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }
serde_json = "1.0"
petgraph = "0.6" petgraph = "0.6"
protobuf = "3.7"
# this repo # this repo
eig-domain = { path = "../eig-domain"} eig-domain = { path = "../eig-domain"}
......
...@@ -9,8 +9,6 @@ rust-version.workspace = true ...@@ -9,8 +9,6 @@ rust-version.workspace = true
fnv = "1.0" fnv = "1.0"
nom = "7.1" nom = "7.1"
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
rayon = "1.10"
rustc-hash = "2.0"
num-traits = "0.2" num-traits = "0.2"
num-complex = "0.4" num-complex = "0.4"
ndarray = "0.16" ndarray = "0.16"
\ No newline at end of file
...@@ -6,23 +6,8 @@ rust-version.workspace = true ...@@ -6,23 +6,8 @@ rust-version.workspace = true
authors = ["dongshufeng <dongshufeng@zju.edu.cn>"] authors = ["dongshufeng <dongshufeng@zju.edu.cn>"]
[dependencies] [dependencies]
log = "0.4"
bytes = "1.8"
byteorder = "1.5"
csv = "1.3"
protobuf = { version = "3.7", features = ["with-bytes"] }
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
ciborium = "0.2" ciborium = "0.2"
petgraph = "0.6"
rayon = "1.10"
num-traits = "0.2"
cron = "0.13"
async-channel = "2.3"
base64 = "0.22"
arrow-schema = { version = "53.2", features = ["serde"] } arrow-schema = { version = "53.2", features = ["serde"] }
# this project # this project
eig-domain = { path = "../eig-domain" } eig-domain = { path = "../eig-domain" }
eig-expr = { path = "../eig-expr" }
eig-aoe = { path = "../eig-aoe" }
...@@ -161,9 +161,3 @@ pub fn build_tiles(xlsx_bytes: Vec<u8>) -> Option<Tiles> { ...@@ -161,9 +161,3 @@ pub fn build_tiles(xlsx_bytes: Vec<u8>) -> Option<Tiles> {
let tiles = Tiles { id: "".to_string(), class_str, style_str, with_box: true }; let tiles = Tiles { id: "".to_string(), class_str, style_str, with_box: true };
Some(tiles) Some(tiles)
} }
#[test]
fn test_parse() {
let general_para = create_parameters(include_bytes!("../general.csv"));
assert_eq!(general_para.points.len(), 6);
}
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论