diff --git a/Cargo.lock b/Cargo.lock index d17d150..47b4eb4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3007,9 +3007,9 @@ checksum = "216080ab382b992234dda86873c18d4c48358f5cfcb70fd693d7f6f2131b628b" [[package]] name = "roarsvg" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "836627ab04d8406f5e1d1c42f901f97d495c67f96d722cb333e3d82f77ccf1be" +checksum = "6a2732860e35ba02d87fc1abe0e56d44509646e75a3e86d35c1f6031fc6f503b" dependencies = [ "lyon_path", "usvg", @@ -3140,7 +3140,7 @@ dependencies = [ [[package]] name = "shu" -version = "0.7.1" +version = "0.8.0" dependencies = [ "async-std", "bevy", diff --git a/Cargo.toml b/Cargo.toml index 5140dfa..1af5cea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shu" -version = "0.7.1" +version = "0.8.0" edition = "2021" license = "MIT OR Apache-2.0" description = "High-dimensional metabolic maps." @@ -22,7 +22,7 @@ serde = "1.0.147" serde_json = "1.0.88" proc-macro2 = "1.0.43" chrono = "0.4.31" -roarsvg = "0.3.0" +roarsvg = "0.3.1" image = "0.24.6" # dependencies exclusive for wasm32 diff --git a/src/screenshot.rs b/src/screenshot.rs index 17ac76c..8adf299 100644 --- a/src/screenshot.rs +++ b/src/screenshot.rs @@ -124,7 +124,7 @@ fn save_svg_file( ) .unwrap_or_else(|_| info!("Writing error!")); } - let mut writer = writer.add_fonts_dir(&fonts_dir); + let mut writer = writer.add_fonts_dir(fonts_dir); for (text, transform, vis) in &text_query { if Visibility::Hidden == vis { continue;