mirror of https://github.com/lapce/lapce.git
Remove usvg from Cargo.tomls
This commit is contained in:
parent
8199a60e4f
commit
dee2579830
|
@ -1929,7 +1929,6 @@ dependencies = [
|
|||
"unicode-segmentation",
|
||||
"unicode-width",
|
||||
"ureq",
|
||||
"usvg",
|
||||
"uuid",
|
||||
"xi-rope",
|
||||
"xi-unicode",
|
||||
|
@ -2030,7 +2029,6 @@ dependencies = [
|
|||
"toml",
|
||||
"unicode-segmentation",
|
||||
"unicode-width",
|
||||
"usvg",
|
||||
"xi-rope",
|
||||
"xi-unicode",
|
||||
]
|
||||
|
|
|
@ -30,7 +30,6 @@ im = { version = "15.0.0", features = ["serde"] }
|
|||
crossbeam-channel = "0.5.0"
|
||||
crossbeam-utils = "0.8.4"
|
||||
regex = "1.4.2"
|
||||
usvg = "0.14.0"
|
||||
jsonrpc-lite = "0.5.0"
|
||||
bit-vec = "0.5.0"
|
||||
parking_lot = { version = "0.11.0", features = ["deadlock_detection"] }
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
WidgetId,
|
||||
};
|
||||
use druid::{
|
||||
Data, Env, EventCtx, Size,
|
||||
Data, Env, EventCtx,
|
||||
};
|
||||
use fuzzy_matcher::skim::SkimMatcherV2;
|
||||
use fuzzy_matcher::FuzzyMatcher;
|
||||
|
@ -17,7 +17,6 @@
|
|||
use std::path::PathBuf;
|
||||
use std::sync::Arc;
|
||||
use std::cmp::Ordering;
|
||||
use usvg;
|
||||
use uuid::Uuid;
|
||||
|
||||
use crate::{
|
||||
|
@ -1008,10 +1007,3 @@ fn filter_items(
|
|||
items
|
||||
}
|
||||
}
|
||||
|
||||
pub fn svg_tree_size(svg_tree: &usvg::Tree) -> Size {
|
||||
match *svg_tree.root().borrow() {
|
||||
usvg::NodeKind::Svg(svg) => Size::new(svg.size.width(), svg.size.height()),
|
||||
_ => Size::ZERO,
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,7 +28,6 @@ im = { version = "15.0.0", features = ["serde"] }
|
|||
crossbeam-channel = "0.5.0"
|
||||
crossbeam-utils = "0.8.4"
|
||||
regex = "1.4.2"
|
||||
usvg = "0.14.0"
|
||||
jsonrpc-lite = "0.5.0"
|
||||
bit-vec = "0.5.0"
|
||||
parking_lot = { version = "0.11.0", features = ["deadlock_detection"] }
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
},
|
||||
};
|
||||
use lsp_types::SymbolKind;
|
||||
use usvg;
|
||||
|
||||
use crate::{
|
||||
editor::view::LapceEditorView,
|
||||
|
@ -940,10 +939,3 @@ pub fn new(
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub fn svg_tree_size(svg_tree: &usvg::Tree) -> Size {
|
||||
match *svg_tree.root().borrow() {
|
||||
usvg::NodeKind::Svg(svg) => Size::new(svg.size.width(), svg.size.height()),
|
||||
_ => Size::ZERO,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue