run-rs 0.6.27

Run a subset of Rust as an interpreted script
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
::assert_failed
::ensure_fail
::unreachable_match
Arc::clone
Arc::new
Arc::strong_count
BASE64_STANDARD
BASE64_STANDARD_NO_PAD
BASE64_URL_SAFE
BASE64_URL_SAFE_NO_PAD
BTreeMap::new
BTreeSet::new
Block::bordered
Block::default
Block::new
Box::new
BufReader::new
BufReader::with_capacity
BufWriter::new
BufWriter::with_capacity
Buffer::empty
Builder::new
CHANGE_CONFIG
CONNECT
CREATE_SERVICE
Cell::from
Cell::new
Color::Indexed
Color::Rgb
Command::new
Constraint::Fill
Constraint::Length
Constraint::Max
Constraint::Min
Constraint::Percentage
Constraint::Ratio
DELETE
DateTime::from_timestamp
DateTime::parse_from_rfc3339
Document::load
Duration::days
Duration::from_micros
Duration::from_millis
Duration::from_nanos
Duration::from_secs
Duration::hours
Duration::microseconds
Duration::milliseconds
Duration::minutes
Duration::nanoseconds
Duration::new
Duration::seconds
Duration::weeks
ENUMERATE_SERVICE
Element::new
Element::parse
EncodingKey::from_ec_pem
EncodingKey::from_secret
Err
File::create
File::create_new
File::open
HKEY_CLASSES_ROOT
HKEY_CURRENT_CONFIG
HKEY_CURRENT_USER
HKEY_LOCAL_MACHINE
HKEY_USERS
HashMap::new
HashMap::with_capacity
HashSet::new
HashSet::with_capacity
Header::default
Header::new
HeaderMap::new
HeaderValue::from_static
HeaderValue::from_str
Instant::now
KEY_ALL_ACCESS
KEY_CREATE_SUB_KEY
KEY_ENUMERATE_SUB_KEYS
KEY_QUERY_VALUE
KEY_READ
KEY_SET_VALUE
KEY_WOW64_32KEY
KEY_WOW64_64KEY
KEY_WRITE
Line::from
Line::raw
Line::styled
Local
Local::now
Map::new
Modifier::BOLD
Modifier::CROSSED_OUT
Modifier::DIM
Modifier::HIDDEN
Modifier::ITALIC
Modifier::RAPID_BLINK
Modifier::REVERSED
Modifier::SLOW_BLINK
Modifier::UNDERLINED
Mutex::new
NaiveDate::parse_from_str
NaiveDateTime::parse_from_str
NamedTempFile::new
Ok
OpenOptions::new
Padding::ZERO
Padding::new
Padding::zero
Path::from
Path::new
PathBuf::from
PathBuf::new
Permissions::from_mode
QUERY_CONFIG
QUERY_STATUS
REG_BINARY
REG_DWORD
REG_EXPAND_SZ
REG_MULTI_SZ
REG_NONE
REG_QWORD
REG_SZ
Rc::clone
Rc::new
Rc::strong_count
Rect::new
RefCell::new
RegKey::predef
Regex::new
Row::new
STANDARD
STANDARD_NO_PAD
START
STOP
SeekFrom::Current
SeekFrom::End
SeekFrom::Start
ServiceManager::local_computer
Sha256::default
Sha256::digest
Sha256::new
Signature::from_bytes
Signature::from_slice
SigningKey::from_bytes
SigningKey::try_from
Some
Span::raw
Span::styled
Sparkline::default
Sparkline::new
Stdio::from
Stdio::inherit
Stdio::null
Stdio::piped
String::from
String::from_utf8
String::from_utf8_lossy
String::new
String::with_capacity
Style::default
Style::new
SystemTime::now
Table::new
TcpListener::bind
TcpStream::connect
UNIX_EPOCH
URL_SAFE
URL_SAFE_NO_PAD
UdpSocket::bind
Utc
Utc::now
Value::Array
Value::Bool
Value::Null
Value::Number
Value::Object
Value::String
Value::from
Vec::from
Vec::new
Vec::with_capacity
VecDeque::from
VecDeque::new
VecDeque::with_capacity
VerifyingKey::from_bytes
VerifyingKey::try_from
WMIConnection::new
WMIConnection::with_namespace_path
Widget::render
XMLNode::CData
XMLNode::Comment
XMLNode::Element
XMLNode::ProcessingInstruction
XMLNode::Text
char::from
char::from_digit
char::from_u32
consts::ARCH
consts::E
consts::EXE_EXTENSION
consts::EXE_SUFFIX
consts::FAMILY
consts::OS
consts::PI
consts::TAU
ctrlc::set_handler
dirs::cache_dir
dirs::config_dir
dirs::config_local_dir
dirs::data_dir
dirs::data_local_dir
dirs::desktop_dir
dirs::document_dir
dirs::download_dir
dirs::executable_dir
dirs::home_dir
dirs::runtime_dir
drop
env::args
env::current_dir
env::remove_var
env::set_current_dir
env::set_var
env::temp_dir
env::var
env::var_os
env::vars
env::vars_os
f32::EPSILON
f32::INFINITY
f32::MAX
f32::MIN
f32::MIN_POSITIVE
f32::NAN
f32::NEG_INFINITY
f32::from
f32::from_be_bytes
f32::from_le_bytes
f32::from_ne_bytes
f64::EPSILON
f64::INFINITY
f64::MAX
f64::MIN
f64::MIN_POSITIVE
f64::NAN
f64::NEG_INFINITY
f64::from
f64::from_be_bytes
f64::from_le_bytes
f64::from_ne_bytes
fs::canonicalize
fs::copy
fs::create_dir
fs::create_dir_all
fs::hard_link
fs::metadata
fs::read
fs::read_dir
fs::read_link
fs::read_to_string
fs::remove_dir
fs::remove_dir_all
fs::remove_file
fs::rename
fs::set_permissions
fs::symlink
fs::symlink_dir
fs::symlink_file
fs::symlink_metadata
fs::write
glob::glob
hex::decode
hex::encode
i128::MAX
i128::MIN
i128::from
i128::from_be_bytes
i128::from_le_bytes
i128::from_ne_bytes
i128::from_str_radix
i128::try_from
i16::MAX
i16::MIN
i16::from
i16::from_be_bytes
i16::from_le_bytes
i16::from_ne_bytes
i16::from_str_radix
i16::try_from
i32::MAX
i32::MIN
i32::from
i32::from_be_bytes
i32::from_le_bytes
i32::from_ne_bytes
i32::from_str_radix
i32::try_from
i64::MAX
i64::MIN
i64::from
i64::from_be_bytes
i64::from_le_bytes
i64::from_ne_bytes
i64::from_str_radix
i64::try_from
i8::MAX
i8::MIN
i8::from
i8::from_be_bytes
i8::from_le_bytes
i8::from_ne_bytes
i8::from_str_radix
i8::try_from
io::stderr
io::stdin
io::stdout
isize::MAX
isize::MIN
isize::from
isize::from_be_bytes
isize::from_le_bytes
isize::from_ne_bytes
isize::from_str_radix
isize::try_from
iter::empty
iter::once
jsonwebtoken::encode
mem::replace
mem::swap
mem::take
process::abort
process::exit
process::id
rand::random
rand::rng
rand::thread_rng
redirect::Policy::limited
redirect::Policy::none
regex::escape
reqwest::Client::builder
reqwest::Client::new
reqwest::blocking::Client::builder
reqwest::blocking::Client::new
reqwest::blocking::get
reqwest::get
serde_json::from_str
serde_json::to_string
serde_json::to_string_pretty
serde_json::to_value
serde_yaml::from_str
serde_yaml::to_string
task::yield_now
tempfile::tempdir
tempfile::tempfile
terminal::size
terminal_light::luma
thread::sleep
time::sleep
tokio::sync::Mutex::new
toml::from_str
toml::to_string
toml::to_string_pretty
u128::MAX
u128::MIN
u128::from
u128::from_be_bytes
u128::from_le_bytes
u128::from_ne_bytes
u128::from_str_radix
u128::try_from
u16::MAX
u16::MIN
u16::from
u16::from_be_bytes
u16::from_le_bytes
u16::from_ne_bytes
u16::from_str_radix
u16::try_from
u32::MAX
u32::MIN
u32::from
u32::from_be_bytes
u32::from_le_bytes
u32::from_ne_bytes
u32::from_str_radix
u32::try_from
u64::MAX
u64::MIN
u64::from
u64::from_be_bytes
u64::from_le_bytes
u64::from_ne_bytes
u64::from_str_radix
u64::try_from
u8::MAX
u8::MIN
u8::from
u8::from_be_bytes
u8::from_le_bytes
u8::from_ne_bytes
u8::from_str_radix
u8::try_from
usize::MAX
usize::MIN
usize::from
usize::from_be_bytes
usize::from_le_bytes
usize::from_ne_bytes
usize::from_str_radix
usize::try_from
which::which