Verified Commit fce22177 authored by Jordan Petridis's avatar Jordan Petridis 🌱

cargo: upgrade owning_ref

parent 05a3465a
Pipeline #41232 passed with stages
in 6 minutes and 48 seconds
......@@ -662,7 +662,7 @@ dependencies = [
[[package]]
name = "owning_ref"
version = "0.3.3"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"stable_deref_trait 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -942,7 +942,7 @@ dependencies = [
"locale_config 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
"nalgebra 0.16.10 (registry+https://github.com/rust-lang/crates.io-index)",
"num-traits 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
"owning_ref 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
"owning_ref 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"pango 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
"pango-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
"pangocairo 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -1299,7 +1299,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
"checksum num-integer 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)" = "e83d528d2677f0518c570baf2b7abdcf0cd2d248860b68507bdcb3e91d4c0cea"
"checksum num-traits 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "0b3a5d7cc97d6d30d8b9bc8fa19bf45349ffe46241e8816f50f62f6d6aaabee1"
"checksum num_cpus 1.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "c51a3322e4bca9d212ad9a158a02abc6934d005490c054a2778df73a70aa0a30"
"checksum owning_ref 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "cdf84f41639e037b484f93433aa3897863b561ed65c6e59c7073d7c561710f37"
"checksum owning_ref 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "49a4b8ea2179e6a2e27411d3bca09ca6dd630821cf6894c6c7c8467a8ee7ef13"
"checksum pango 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "4c2cb169402a3eb1ba034a7cc7d95b8b1c106e9be5ba4be79a5a93dc1a2795f4"
"checksum pango-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d6eb49268e69dd0c1da5d3001a61aac08e2e9d2bfbe4ae4b19b9963c998f6453"
"checksum pangocairo 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "4325b65f44487564a18d6402bed48c1bc4642167bfe972a753d039d1ac938c21"
......
......@@ -37,7 +37,7 @@ language-tags = "0.2.2"
locale_config = "*" # recommended explicitly by locale_config's README.md
nalgebra = "0.16"
num-traits = "0.2"
owning_ref = "0.3.0"
owning_ref = "0.4.0"
rayon = "1"
cairo-sys-rs = "0.7.0"
cairo-rs = "0.5.0"
......
......@@ -344,12 +344,12 @@ pub fn render(
for (rr, linear_rgb) in primitives {
let mut render = |filter_ctx: &mut FilterContext| {
if let Err(err) = rr
.render(rr.owner(), filter_ctx, draw_ctx)
.render(rr.as_owner(), filter_ctx, draw_ctx)
.and_then(|result| filter_ctx.store_result(result))
{
rsvg_log!(
"(filter primitive {} returned an error: {})",
rr.owner().get_human_readable_name(),
rr.as_owner().get_human_readable_name(),
err
);
......@@ -373,7 +373,7 @@ pub fn render(
let elapsed = start.elapsed();
rsvg_log!(
"(rendered filter primitive {} in\n {} seconds)",
rr.owner().get_human_readable_name(),
rr.as_owner().get_human_readable_name(),
elapsed.as_secs() as f64 + f64::from(elapsed.subsec_nanos()) / 1e9
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment