Skip to content

Commit

Permalink
usvg 0.28
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard authored and nical committed Apr 20, 2024
1 parent 9c34dae commit d1d0632
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 118 deletions.
126 changes: 10 additions & 116 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/wgpu_svg/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ lyon = { path = "../../crates/lyon", features = ["extra"] }
clap = "2.32.0"
wgpu = "0.13.1"
winit = "0.27.5"
usvg = "0.25.0"
usvg = "0.28.0"
futures = "0.3.5"
bytemuck = "1.2.0"
env_logger = "0.11.0"
2 changes: 1 addition & 1 deletion examples/wgpu_svg/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ fn main() {

let opt = usvg::Options::default();
let file_data = std::fs::read(filename).unwrap();
let rtree = usvg::Tree::from_data(&file_data, &opt.to_ref()).unwrap();
let rtree = usvg::Tree::from_data(&file_data, &opt).unwrap();
let mut transforms = Vec::new();
let mut primitives = Vec::new();

Expand Down

0 comments on commit d1d0632

Please sign in to comment.