Skip to content

Commit

Permalink
Drop the imports of vector-config-* into vector-lib
Browse files Browse the repository at this point in the history
  • Loading branch information
bruceg committed Oct 26, 2023
1 parent f8578bc commit 7983942
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 15 deletions.
2 changes: 0 additions & 2 deletions Cargo.lock

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

2 changes: 0 additions & 2 deletions lib/vector-lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ publish = false
[dependencies]
vector-common = { path = "../vector-common" }
vector-config = { path = "../vector-config" }
vector-config-common = { path = "../vector-config-common" }
vector-config-macros = { path = "../vector-config-macros" }
vector-core = { path = "../vector-core", default-features = false }

[features]
Expand Down
12 changes: 1 addition & 11 deletions lib/vector-lib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ pub use vector_common::{
registered_event, request_metadata, sensitive_string, shutdown, trigger, Error, Result,
TimeZone,
};
pub use vector_config as configurable;
#[cfg(feature = "vrl")]
pub use vector_core::compile_vrl;
#[cfg(feature = "test")]
Expand All @@ -23,14 +24,3 @@ pub mod config {
MEMORY_BUFFER_DEFAULT_MAX_EVENTS,
};
}

pub mod configurable {
pub use vector_config::{
component, configurable_component, schema, Configurable, ConfigurableString, GenerateError,
Metadata, NamedComponent, ToValue,
};
// Re-exports of other crates to avoid needing to pull them in directly as deps.
pub use vector_config::{indexmap, ser, serde_json};
pub use vector_config_common::{attributes, validation};
pub use vector_config_macros::*;
}

0 comments on commit 7983942

Please sign in to comment.