Debian Codegraph @

debian/patches/relax_dev_deps.diff

raw symbols SCIP
1 Description: Relax dev deps and remove those which are not packaged.
2 Author: Antonin Delpeuch <[email protected]>
3 Forwarded: not-needed
4 ---
5 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
6 --- a/Cargo.toml
7 +++ b/Cargo.toml
8 @@ -95,19 +95,11 @@ version = "0.7.3"
9 optional = true
10 default-features = false
11
12 -[dev-dependencies.enterpolation]
13 -version = "0.2.0"
14 -
15 [dev-dependencies.image]
16 -version = "0.23.14"
17 +version = "0.25"
18 features = ["png"]
19 default-features = false
20
21 -[dev-dependencies.rand_mt]
22 -version = "4"
23 -features = ["rand-traits"]
24 -default-features = false
25 -
26 [dev-dependencies.ron]
27 version = "0.12"
28
29 --- a/src/lib.rs
30 +++ b/src/lib.rs
31 @@ -1426,6 +1426,3 @@ macro_rules! doctest {
32 };
33 }
34
35 -// Makes doctest run tests on README.md.
36 -#[cfg(doctest)]
37 -doctest!(include_str!("../README.md"), readme);
38 --- a/src/hsl.rs
39 +++ b/src/hsl.rs
40 @@ -655,6 +655,7 @@ mod test {
41 max: Hsl::new(360.0, 1.0, 1.0)
42 }
43
44 + /*
45 /// Sanity check to make sure the test doesn't start accepting known
46 /// non-uniform distributions.
47 #[cfg(feature = "random")]
48 @@ -688,4 +689,5 @@ mod test {
49 assert_uniform_distribution!(green);
50 assert_uniform_distribution!(blue);
51 }
52 + */
53 }
54 --- a/src/macros/random.rs
55 +++ b/src/macros/random.rs
56 @@ -32,6 +32,7 @@ macro_rules! test_uniform_distribution {
57 min: $min:expr,
58 max: $max:expr$(,)?
59 ) => {
60 + /*
61 #[cfg(feature = "random")]
62 #[test]
63 fn uniform_distribution_rng_gen() {
64 @@ -131,6 +132,7 @@ macro_rules! test_uniform_distribution {
65
66 $(assert_uniform_distribution!($component);)+
67 }
68 + */
69 };
70 }
71