File tree Expand file tree Collapse file tree 2 files changed +0
-27
lines changed Expand file tree Collapse file tree 2 files changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ hostname = ["dep:hostname"]
24
24
tls = [" dep:native-tls" ]
25
25
http = [" dep:warp" , " dep:reqwest" ]
26
26
crypto-full = []
27
- "rust-version-1.80" = []
28
27
29
28
[build-dependencies ]
30
29
indexmap = " 2.3.0"
Original file line number Diff line number Diff line change @@ -118,32 +118,6 @@ fn current_dir() -> PathBuf {
118
118
}
119
119
}
120
120
121
- #[ cfg( not( feature = "rust-version-1.80" ) ) ]
122
- mod libraries {
123
- use indexmap:: IndexMap ;
124
- use std:: sync:: OnceLock ;
125
-
126
- fn libraries ( ) -> & ' static IndexMap < & ' static str , & ' static str > {
127
- static LIBRARIES : OnceLock < IndexMap < & ' static str , & ' static str > > = OnceLock :: new ( ) ;
128
- LIBRARIES . get_or_init ( || {
129
- let mut m = IndexMap :: new ( ) ;
130
-
131
- include ! ( concat!( env!( "OUT_DIR" ) , "/libraries.rs" ) ) ;
132
-
133
- m
134
- } )
135
- }
136
-
137
- pub ( crate ) fn contains ( name : & str ) -> bool {
138
- libraries ( ) . contains_key ( name)
139
- }
140
-
141
- pub ( crate ) fn get ( name : & str ) -> Option < & ' static str > {
142
- libraries ( ) . get ( name) . copied ( )
143
- }
144
- }
145
-
146
- #[ cfg( feature = "rust-version-1.80" ) ]
147
121
mod libraries {
148
122
use indexmap:: IndexMap ;
149
123
use std:: sync:: LazyLock ;
You can’t perform that action at this time.
0 commit comments