Skip to content

Commit f5c1dba

Browse files
fix(stdlib): Add missing functions from 0.28 release
Missing functions: `split_path`, `basename`, `dirname`
1 parent 8ba2c11 commit f5c1dba

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/stdlib/mod.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,7 @@ pub fn all() -> Vec<Box<dyn Function>> {
423423
Box::new(Array),
424424
Box::new(Assert),
425425
Box::new(AssertEq),
426+
Box::new(BaseName),
426427
Box::new(Boolean),
427428
Box::new(Camelcase),
428429
Box::new(Ceil),
@@ -436,15 +437,16 @@ pub fn all() -> Vec<Box<dyn Function>> {
436437
Box::new(DecodeCharset),
437438
Box::new(DecodeGzip),
438439
Box::new(DecodeLz4),
440+
Box::new(DecodeMimeQ),
439441
Box::new(DecodePercent),
440442
Box::new(DecodePunycode),
441-
Box::new(DecodeMimeQ),
442443
Box::new(DecodeSnappy),
443444
Box::new(DecodeZlib),
444445
Box::new(DecodeZstd),
445446
Box::new(Decrypt),
446447
Box::new(DecryptIp),
447448
Box::new(Del),
449+
Box::new(DirName),
448450
Box::new(DnsLookup),
449451
Box::new(Downcase),
450452
Box::new(EncodeBase16),
@@ -581,6 +583,7 @@ pub fn all() -> Vec<Box<dyn Function>> {
581583
Box::new(Snakecase),
582584
Box::new(Slice),
583585
Box::new(Split),
586+
Box::new(SplitPath),
584587
Box::new(StartsWith),
585588
Box::new(String),
586589
Box::new(StripAnsiEscapeCodes),

0 commit comments

Comments
 (0)