File: disable-konst.patch

package info (click to toggle)
rust-const-format 0.2.30-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 636 kB
  • sloc: makefile: 2
file content (96 lines) | stat: -rw-r--r-- 1,997 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -44,10 +44,10 @@
 [dependencies.const_format_proc_macros]
 version = "=0.2.29"
 
-[dependencies.konst]
-version = "0.2.13"
-optional = true
-default-features = false
+#[dependencies.konst]
+#version = "0.2.13"
+#optional = true
+#default-features = false
 
 [dev-dependencies.arrayvec]
 version = "0.5.1"
@@ -63,33 +63,33 @@
 __only_new_tests = ["__test"]
 __test = []
 all = [
-    "fmt",
+#    "fmt",
     "derive",
-    "rust_1_64",
+#    "rust_1_64",
     "assert",
 ]
 assert = ["assertc"]
 assertc = [
-    "fmt",
+#    "fmt",
     "assertcp",
 ]
 assertcp = ["rust_1_51"]
 const_generics = ["rust_1_51"]
-constant_time_as_str = ["fmt"]
+#constant_time_as_str = ["fmt"]
 default = []
 derive = [
-    "fmt",
+#    "fmt",
     "const_format_proc_macros/derive",
 ]
-fmt = ["rust_1_64"]
-more_str_macros = ["rust_1_64"]
+#fmt = ["rust_1_64"]
+#more_str_macros = ["rust_1_64"]
 nightly_const_generics = ["const_generics"]
 rust_1_51 = []
-rust_1_64 = [
-    "rust_1_51",
-    "konst",
-    "konst/rust_1_64",
-]
+#rust_1_64 = [
+#    "rust_1_51",
+#    "konst",
+#    "konst/rust_1_64",
+#]
 
 [badges.travis-ci]
 repository = "rodrimati1992/const_format_crates/"
--- a/src/__str_methods.rs
+++ b/src/__str_methods.rs
@@ -13,11 +13,11 @@
 mod str_indexing;
 pub use str_indexing::{IndexValidity, StrIndexArgs, StrIndexArgsConv};
 
-#[cfg(feature = "rust_1_64")]
+/*#[cfg(feature = "rust_1_64")]
 mod str_split;
 
 #[cfg(feature = "rust_1_64")]
-pub use str_split::{SplitInput, SplitInputConv};
+pub use str_split::{SplitInput, SplitInputConv};*/
 
 #[cfg(feature = "rust_1_51")]
 mod pattern;
--- a/src/macros/str_methods.rs
+++ b/src/macros/str_methods.rs
@@ -502,7 +502,7 @@
     }};
 }
 
-/// Splits `$string` (a `&'static str` constant) with `$splitter`,
+/*/ Splits `$string` (a `&'static str` constant) with `$splitter`,
 /// returning an array of `&'static str`s.
 ///
 /// # Signature
@@ -566,4 +566,4 @@
             OB
         }
     }};
-}
+}*/