File: enable-rkyv-default-features-for-tests.patch

package info (click to toggle)
rust-num-complex 0.4.6-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 452 kB
  • sloc: makefile: 2
file content (21 lines) | stat: -rw-r--r-- 619 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
Description: enable rkyv default features for tests.
 Add a dev-dependency on rkyv with default features are enabled, so the
 default rkyv size is selected during tests.

 We do not want to enable default features in the regular dependency as
 applications should be free to choose what rkyv size they use.

Author: Peter Michael Green <plugwash@debian.org>

--- rust-num-complex-0.4.6.orig/Cargo.toml
+++ rust-num-complex-0.4.6/Cargo.toml
@@ -70,6 +70,9 @@ version = "0.7"
 optional = true
 default-features = false
 
+[dev-dependencies.rkyv]
+version = "0.8"
+
 [dependencies.serde]
 version = "1.0"
 optional = true