diff --git a/Cargo.lock b/Cargo.lock index 071a77ac7e9e04..7253cc27a9fbe8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9106,6 +9106,7 @@ dependencies = [ "serde_json", "tikv-jemallocator", "tracing-subscriber 0.3.11", + "value", "vector_common", "vrl", "vrl-stdlib", diff --git a/lib/vrl/tests/Cargo.toml b/lib/vrl/tests/Cargo.toml index b04d87c0163d54..d3bad1e68e78dd 100644 --- a/lib/vrl/tests/Cargo.toml +++ b/lib/vrl/tests/Cargo.toml @@ -10,6 +10,7 @@ enrichment = { path = "../../enrichment" } stdlib = { package = "vrl-stdlib", path = "../stdlib" } vector_common = { path = "../../vector-common", default-features = false } vrl = { path = "../vrl" } +value = { path = "../../value" } ansi_term = "0.12" chrono = "0.4" diff --git a/lib/vrl/tests/src/docs.rs b/lib/vrl/tests/src/docs.rs index 57f1b93ffafd4d..0779715726e600 100644 --- a/lib/vrl/tests/src/docs.rs +++ b/lib/vrl/tests/src/docs.rs @@ -122,7 +122,7 @@ fn examples_to_tests( impl Test { fn from_cue_example(category: &'static str, name: String, example: Example) -> Self { - use vrl::Value; + use ::value::Value; let Example { title, diff --git a/lib/vrl/tests/src/test.rs b/lib/vrl/tests/src/test.rs index 5b4fcc9d1122a8..133ab23a96d945 100644 --- a/lib/vrl/tests/src/test.rs +++ b/lib/vrl/tests/src/test.rs @@ -1,6 +1,7 @@ use std::{collections::BTreeMap, fs, path::Path}; -use vrl::{function::Example, Value}; +use ::value::Value; +use vrl::function::Example; #[derive(Debug)] pub struct Test {