Skip to content

Commit 426d660

Browse files
authored
chore: update vrl to 0.4.0 (vectordotdev#17378)
This upgrades VRL to `0.4.0` Notable changes: - This is the first crates.io release for VRL. It's no longer a git dependency! - All VRL macros are now exported at the root, which required some import changes - Previously the `vrl` crate had an internal `test` feature that was un-intentionally enabled. This was caught and fixed in recent VRL refactoring. Vector was relying on this in a few places where is shouldn't be (all related to converting an `f64` into a `Value`. That implementation is normally only available for tests, since the `f64` needs to be checked for `NaN` first). As a quick fix, to keep existing behavior, the `test` feature is now explicitly enabled for VRL. [An issue](vectordotdev#17377) was created to track this and remove it.
1 parent 78fb469 commit 426d660

File tree

44 files changed

+101
-269
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+101
-269
lines changed

Cargo.lock

+49-220
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ hex = { version = "0.4.3", default-features = false, optional = true }
226226
sha2 = { version = "0.10.6", default-features = false, optional = true }
227227

228228
# VRL Lang
229-
vrl = { package = "vrl", git = "https://github.com/vectordotdev/vrl", rev = "v0.3.0", features = ["cli"] }
229+
vrl = { package = "vrl", version = "0.4.0", features = ["cli", "test"] }
230230

231231
# External libs
232232
arc-swap = { version = "1.6", default-features = false, optional = true }

LICENSE-3rdparty.csv

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ ansi_term,https://github.com/ogham/rust-ansi-term,MIT,"[email protected], Ryan Sche
1212
anyhow,https://github.com/dtolnay/anyhow,MIT OR Apache-2.0,David Tolnay <[email protected]>
1313
anymap,https://github.com/chris-morgan/anymap,BlueOak-1.0.0 OR MIT OR Apache-2.0,Chris Morgan <[email protected]>
1414
apache-avro,https://github.com/apache/avro,Apache-2.0,Apache Avro team <[email protected]>
15+
arbitrary,https://github.com/rust-fuzz/arbitrary,MIT OR Apache-2.0,"The Rust-Fuzz Project Developers, Nick Fitzgerald <[email protected]>, Manish Goregaokar <[email protected]>, Simonas Kazlauskas <[email protected]>, Brian L. Troutwine <[email protected]>, Corey Farwell <[email protected]>"
1516
arc-swap,https://github.com/vorner/arc-swap,MIT OR Apache-2.0,Michal 'vorner' Vaner <[email protected]>
1617
arr_macro,https://github.com/JoshMcguigan/arr_macro,MIT OR Apache-2.0,Josh Mcguigan
1718
arrayvec,https://github.com/bluss/arrayvec,MIT OR Apache-2.0,bluss
@@ -147,6 +148,7 @@ data-url,https://github.com/servo/rust-url,MIT OR Apache-2.0,Simon Sapin <simon.
147148
debug-helper,https://github.com/magiclen/debug-helper,MIT,Magic Len <[email protected]>
148149
der,https://github.com/RustCrypto/formats/tree/master/der,Apache-2.0 OR MIT,RustCrypto Developers
149150
derivative,https://github.com/mcarton/rust-derivative,MIT OR Apache-2.0,mcarton <[email protected]>
151+
derive_arbitrary,https://github.com/rust-fuzz/arbitrary,MIT OR Apache-2.0,"The Rust-Fuzz Project Developers, Nick Fitzgerald <[email protected]>, Manish Goregaokar <[email protected]>, Andre Bogus <[email protected]>, Corey Farwell <[email protected]>"
150152
derive_more,https://github.com/JelteF/derive_more,MIT,Jelte Fennema <[email protected]>
151153
digest,https://github.com/RustCrypto/traits,MIT OR Apache-2.0,RustCrypto Developers
152154
dirs,https://github.com/soc/dirs-rs,MIT OR Apache-2.0,Simon Ochsenreither <[email protected]>
@@ -565,7 +567,6 @@ utf8-width,https://github.com/magiclen/utf8-width,MIT,Magic Len <[email protected]
565567
utf8parse,https://github.com/jwilm/vte,Apache-2.0 OR MIT,"Joe Wilm <[email protected]>, Christian Duerr <[email protected]>"
566568
uuid,https://github.com/uuid-rs/uuid,Apache-2.0 OR MIT,"Ashley Mannix<[email protected]>, Christopher Armstrong, Dylan DPC<[email protected]>, Hunar Roop Kahlon<[email protected]>"
567569
valuable,https://github.com/tokio-rs/valuable,MIT,The valuable Authors
568-
value,https://github.com/vectordotdev/vrl,MPL-2.0,Vector Contributors <[email protected]>
569570
vec_map,https://github.com/contain-rs/vec-map,MIT OR Apache-2.0,"Alex Crichton <[email protected]>, Jorge Aparicio <[email protected]>, Alexis Beingessner <[email protected]>, Brian Anderson <>, tbu- <>, Manish Goregaokar <>, Aaron Turon <[email protected]>, Adolfo Ochagavía <>, Niko Matsakis <>, Steven Fackler <>, Chase Southwood <[email protected]>, Eduard Burtescu <>, Florian Wilkens <>, Félix Raimundo <>, Tibor Benke <>, Markus Siemens <[email protected]>, Josh Branchaud <[email protected]>, Huon Wilson <[email protected]>, Corey Farwell <[email protected]>, Aaron Liblong <>, Nick Cameron <[email protected]>, Patrick Walton <[email protected]>, Felix S Klock II <>, Andrew Paseltiner <[email protected]>, Sean McArthur <[email protected]>, Vadim Petrochenkov <>"
570571
void,https://github.com/reem/rust-void,MIT,Jonathan Reem <[email protected]>
571572
vrl,https://github.com/vectordotdev/vrl,MPL-2.0,Vector Contributors <[email protected]>

0 commit comments

Comments
 (0)