Skip to content

Commit

Permalink
chore(deps): Expose vrl through vector-lib (#21491)
Browse files Browse the repository at this point in the history
  • Loading branch information
bruceg authored Oct 16, 2024
1 parent 9c67bba commit 21b7728
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ toml = { version = "0.8.19", default-features = false, features = ["display", "p
tonic = { version = "0.11", default-features = false, features = ["transport", "codegen", "prost", "tls", "tls-roots", "gzip"] }
tonic-build = { version = "0.11", default-features = false, features = ["transport", "prost"] }
uuid = { version = "1.10.0", features = ["v4", "v7", "serde"] }
vector-lib = { path = "lib/vector-lib", default-features = false, features = ["vrl"] }
vrl = { git = "https://github.com/vectordotdev/vrl", branch = "main", features = ["arbitrary", "cli", "test", "test_framework"] }

[dependencies]
Expand All @@ -171,7 +172,7 @@ dnsmsg-parser = { path = "lib/dnsmsg-parser", optional = true }
fakedata = { path = "lib/fakedata", optional = true }
portpicker = { path = "lib/portpicker" }
tracing-limit = { path = "lib/tracing-limit" }
vector-lib = { path = "lib/vector-lib", default-features = false, features = ["vrl"] }
vector-lib.workspace = true
vector-vrl-functions = { path = "lib/vector-vrl/functions" }
loki-logproto = { path = "lib/loki-logproto", optional = true }

Expand Down Expand Up @@ -405,7 +406,7 @@ test-generator = "0.3.1"
tokio = { version = "1.40.0", features = ["test-util"] }
tokio-test = "0.4.4"
tower-test = "0.4.0"
vector-lib = { path = "lib/vector-lib", default-features = false, features = ["vrl", "test"] }
vector-lib = { workspace = true, features = ["test"] }
vrl.workspace = true

wiremock = "0.6.2"
Expand Down
3 changes: 2 additions & 1 deletion lib/vector-lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ vector-core = { path = "../vector-core", default-features = false }
vector-lookup = { path = "../vector-lookup", features = ["test"] }
vector-stream = { path = "../vector-stream" }
vector-tap = { path = "../vector-tap" }
vrl = { workspace = true, optional = true }

[features]
api = ["vector-core/api", "vector-tap/api"]
Expand All @@ -30,4 +31,4 @@ prometheus = ["dep:prometheus-parser"]
proptest = ["vector-lookup/proptest"]
syslog = ["codecs/syslog"]
test = ["vector-core/test"]
vrl = ["vector-core/vrl"]
vrl = ["vector-core/vrl", "dep:vrl"]
2 changes: 2 additions & 0 deletions lib/vector-lib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ pub use vector_core::{
pub use vector_lookup as lookup;
pub use vector_stream as stream;
pub use vector_tap as tap;
#[cfg(feature = "vrl")]
pub use vrl;

pub mod config {
pub use vector_common::config::ComponentKey;
Expand Down

0 comments on commit 21b7728

Please sign in to comment.