Skip to content

Commit ba9d3bd

Browse files
committed
Drop enum_dispatch from transforms
1 parent dda39a0 commit ba9d3bd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/config/transform.rs

-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ use std::collections::{HashMap, HashSet};
33

44
use async_trait::async_trait;
55
use dyn_clone::DynClone;
6-
use enum_dispatch::enum_dispatch;
76
use serde::Serialize;
87
use vector_config::{
98
configurable_component,
@@ -170,7 +169,6 @@ impl TransformContext {
170169

171170
/// Generalized interface for describing and building transform components.
172171
#[async_trait]
173-
#[enum_dispatch]
174172
#[typetag::serde(tag = "type")]
175173
pub trait TransformConfig: DynClone + NamedComponent + core::fmt::Debug + Send + Sync {
176174
/// Builds the transform with the given context.

0 commit comments

Comments
 (0)