File: disable-bigdecimal03.patch

package info (click to toggle)
rust-schemars 0.8.22-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,312 kB
  • sloc: makefile: 2
file content (57 lines) | stat: -rw-r--r-- 1,416 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
49
50
51
52
53
54
55
56
57
Index: b/Cargo.toml
===================================================================
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -110,7 +110,6 @@ name = "decimal"
 path = "tests/decimal.rs"
 required-features = [
     "rust_decimal",
-    "bigdecimal03",
     "bigdecimal04",
 ]
 
@@ -301,11 +300,11 @@ optional = true
 default-features = false
 package = "arrayvec"
 
-[dependencies.bigdecimal03]
-version = "0.3"
-optional = true
-default-features = false
-package = "bigdecimal"
+#[dependencies.bigdecimal03]
+#version = "0.3"
+#optional = true
+#default-features = false
+#package = "bigdecimal"
 
 [dependencies.bigdecimal04]
 version = "0.4"
@@ -388,7 +387,7 @@ version = "1.2.1"
 version = "1.0"
 
 [features]
-bigdecimal = ["bigdecimal03"]
+bigdecimal = ["bigdecimal04"]
 default = ["derive"]
 derive = ["schemars_derive"]
 derive_json_schema = ["impl_json_schema"]
Index: b/tests/decimal.rs
===================================================================
--- a/tests/decimal.rs
+++ b/tests/decimal.rs
@@ -5,12 +5,12 @@ use util::*;
 fn rust_decimal() -> TestResult {
     test_default_generated_schema::<rust_decimal::Decimal>("rust_decimal")
 }
-
+/*
 #[test]
 fn bigdecimal03() -> TestResult {
     test_default_generated_schema::<bigdecimal03::BigDecimal>("bigdecimal03")
 }
-
+*/
 #[test]
 fn bigdecimal04() -> TestResult {
     test_default_generated_schema::<bigdecimal04::BigDecimal>("bigdecimal04")