Skip to content

Commit 6f38579

Browse files
authored
fix(vrl): restore stdlib functions in CLI and playground (#25310)
1 parent ff4754a commit 6f38579

3 files changed

Lines changed: 10 additions & 0 deletions

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Restored the full VRL stdlib, including `get_env_var`, in the standalone VRL CLI and web playground by default.
2+
authors: pront

lib/vector-vrl/cli/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ edition = "2024"
66
publish = false
77
license = "MPL-2.0"
88

9+
[features]
10+
# Enable the full VRL stdlib, which includes all available VRL functions.
11+
default = ["vrl/stdlib"]
12+
913
[dependencies]
1014
clap.workspace = true
1115
vector-vrl-functions.workspace = true

lib/vector-vrl/web-playground/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ license = "MPL-2.0"
1111
[lib]
1212
crate-type = ["cdylib"]
1313

14+
[features]
15+
# Enable the full VRL stdlib, which includes all available VRL functions.
16+
default = ["vrl/stdlib"]
17+
1418
[dependencies]
1519
wasm-bindgen = "0.2"
1620
vrl.workspace = true

0 commit comments

Comments
 (0)