File: fix-deps.patch

package info (click to toggle)
rust-v-frame 0.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 212 kB
  • sloc: makefile: 4
file content (43 lines) | stat: -rw-r--r-- 1,233 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Description: Remove rust_hawktracer and wasm-bindgen dependency
Author: Sebastian Ramacher
Last-Update: 2022-06-23
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -34,19 +34,10 @@
 [dependencies.num-traits]
 version = "0.2"
 
-[dependencies.rust_hawktracer]
-version = "0.7.0"
-
 [dependencies.serde]
 version = "1.0"
 features = ["derive"]
 optional = true
 
-[dependencies.wasm-bindgen]
-version = "0.2.63"
-optional = true
-
 [features]
 serialize = ["serde"]
-tracing = ["rust_hawktracer/profiling_enabled"]
-wasm = ["wasm-bindgen"]
--- a/src/plane.rs
+++ b/src/plane.rs
@@ -8,7 +8,6 @@
 // PATENTS file, you can obtain it at www.aomedia.org/license/patent.
 
 use debug_unreachable::debug_unreachable;
-use rust_hawktracer::*;
 use std::marker::PhantomData;
 use std::mem;
 use std::ops::{Index, IndexMut, Range};
@@ -602,7 +601,6 @@
     /// Downscales the source plane by a factor of `scale`, writing the result to `in_plane` (not padded)
     ///
     /// `in_plane`'s width and height must be sufficient for `scale`.
-    #[hawktracer(downscale_in_place)]
     pub fn downscale_in_place<const SCALE: usize>(&self, in_plane: &mut Plane<T>) {
         // SAFETY: Bounds checks have been removed for performance reasons
         unsafe {