| 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 |
|
| 13 |
|
| 14 |
|
| 15 |
[dev-dependencies.image] |
| 16 |
|
| 17 |
+version = "0.25" |
| 18 |
features = ["png"] |
| 19 |
default-features = false |
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 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 |
|
| 36 |
|
| 37 |
|
| 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 |
|