Skip to content

Commit 4fb916f

Browse files
committed
Remove the svg crate deps
1 parent 9bd438c commit 4fb916f

File tree

4 files changed

+262
-149
lines changed

4 files changed

+262
-149
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ exclude = ["doc-template/*"]
1414
[dependencies]
1515
num-traits = "^0.2"
1616
chrono = { version = "0.4.9", optional = true }
17-
svg = { version = "0.6.0", optional = true }
1817
gif = { version = "^0.10.3", optional = true }
1918

2019
[dependencies.palette]
@@ -55,6 +54,7 @@ image_encoder = ["image", "bitmap"]
5554
palette_ext = ["palette"]
5655
gif_backend = ["gif", "bitmap"]
5756
datetime = ["chrono"]
57+
svg = []
5858
evcxr = ["svg"]
5959
piston = ["piston_window", "ttf"]
6060
cairo = ["cairo-rs", "ttf"]

src/drawing/backend_impl/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#[cfg(feature = "svg")]
22
mod svg;
33
#[cfg(feature = "svg")]
4-
pub use self::svg::{svg_types, SVGBackend};
4+
pub use self::svg::SVGBackend;
55

66
#[cfg(feature = "bitmap")]
77
mod bitmap;

0 commit comments

Comments
 (0)