#![deny(missing_docs)]
#![deny(warnings)]
mod common;
pub mod decoding;
pub mod encoding;
pub mod gelf;
pub use decoding::{
BytesDecoder, BytesDecoderConfig, BytesDeserializer, BytesDeserializerConfig,
CharacterDelimitedDecoder, CharacterDelimitedDecoderConfig, GelfDeserializer,
GelfDeserializerConfig, JsonDeserializer, JsonDeserializerConfig, LengthDelimitedDecoder,
LengthDelimitedDecoderConfig, NativeDeserializer, NativeDeserializerConfig,
NativeJsonDeserializer, NativeJsonDeserializerConfig, NewlineDelimitedDecoder,
NewlineDelimitedDecoderConfig, OctetCountingDecoder, OctetCountingDecoderConfig,
StreamDecodingError,
};
#[cfg(feature = "syslog")]
pub use decoding::{SyslogDeserializer, SyslogDeserializerConfig};
pub use encoding::{
BytesEncoder, BytesEncoderConfig, CharacterDelimitedEncoder, CharacterDelimitedEncoderConfig,
CsvSerializer, CsvSerializerConfig, GelfSerializer, GelfSerializerConfig, JsonSerializer,
JsonSerializerConfig, LengthDelimitedEncoder, LengthDelimitedEncoderConfig, LogfmtSerializer,
LogfmtSerializerConfig, NativeJsonSerializer, NativeJsonSerializerConfig, NativeSerializer,
NativeSerializerConfig, NewlineDelimitedEncoder, NewlineDelimitedEncoderConfig,
RawMessageSerializer, RawMessageSerializerConfig, TextSerializer, TextSerializerConfig,
};
pub use gelf::{gelf_fields, VALID_FIELD_REGEX};
use vector_config_macros::configurable_component;
#[configurable_component]
#[derive(Copy, Clone, Debug, PartialEq, Eq, Default)]
#[serde(rename_all = "snake_case")]
pub enum MetricTagValues {
#[default]
Single,
Full,
}