File: remove-rspec.patch

package info (click to toggle)
rust-colored 3.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 448 kB
  • sloc: makefile: 2
file content (48 lines) | stat: -rw-r--r-- 968 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
44
45
46
47
48
Description: Remove rspec dev-dependency

Index: b/Cargo.toml
===================================================================
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -75,8 +75,6 @@ version = "0.12"
 [dev-dependencies.insta]
 version = "1"
 
-[dev-dependencies.rspec]
-version = "1"
 
 [disabled.target."cfg(windows)".dependencies.windows-sys]
 version = ">=0.48,<=0.61"
Index: b/src/control.rs
===================================================================
--- a/src/control.rs
+++ b/src/control.rs
@@ -159,7 +159,8 @@ impl ShouldColorize {
     }
 }
 
-#[cfg(test)]
+/*#[cfg(test)]
+
 mod specs {
     use super::*;
     use rspec;
@@ -388,4 +389,4 @@ mod specs {
             });
         }));
     }
-}
+}*/
Index: b/src/lib.rs
===================================================================
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -29,8 +29,6 @@
 //! modify them.
 #![warn(missing_docs)]
 
-#[cfg(test)]
-extern crate rspec;
 
 mod color;
 pub mod control;