Skip to content

Commit

Permalink
chore: remove legacy selection filter (#766)
Browse files Browse the repository at this point in the history
  • Loading branch information
scarmuega authored Apr 7, 2024
1 parent 29fed27 commit c0290ea
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 277 deletions.
270 changes: 0 additions & 270 deletions src/filters/dsl.rs

This file was deleted.

7 changes: 0 additions & 7 deletions src/filters/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ use serde::Deserialize;

use crate::framework::*;

pub mod dsl;
pub mod json;
pub mod legacy_v1;
pub mod noop;
Expand All @@ -20,7 +19,6 @@ pub mod deno;
pub enum Bootstrapper {
Noop(noop::Stage),
SplitBlock(split_block::Stage),
Dsl(dsl::Stage),
Json(json::Stage),
LegacyV1(legacy_v1::Stage),
ParseCbor(parse_cbor::Stage),
Expand All @@ -38,7 +36,6 @@ impl Bootstrapper {
match self {
Bootstrapper::Noop(p) => &mut p.input,
Bootstrapper::SplitBlock(p) => &mut p.input,
Bootstrapper::Dsl(p) => &mut p.input,
Bootstrapper::Json(p) => &mut p.input,
Bootstrapper::LegacyV1(p) => &mut p.input,
Bootstrapper::ParseCbor(p) => &mut p.input,
Expand All @@ -56,7 +53,6 @@ impl Bootstrapper {
match self {
Bootstrapper::Noop(p) => &mut p.output,
Bootstrapper::SplitBlock(p) => &mut p.output,
Bootstrapper::Dsl(p) => &mut p.output,
Bootstrapper::Json(p) => &mut p.output,
Bootstrapper::LegacyV1(p) => &mut p.output,
Bootstrapper::ParseCbor(p) => &mut p.output,
Expand All @@ -74,7 +70,6 @@ impl Bootstrapper {
match self {
Bootstrapper::Noop(x) => gasket::runtime::spawn_stage(x, policy),
Bootstrapper::SplitBlock(x) => gasket::runtime::spawn_stage(x, policy),
Bootstrapper::Dsl(x) => gasket::runtime::spawn_stage(x, policy),
Bootstrapper::Json(x) => gasket::runtime::spawn_stage(x, policy),
Bootstrapper::LegacyV1(x) => gasket::runtime::spawn_stage(x, policy),
Bootstrapper::ParseCbor(x) => gasket::runtime::spawn_stage(x, policy),
Expand All @@ -94,7 +89,6 @@ impl Bootstrapper {
pub enum Config {
Noop(noop::Config),
SplitBlock(split_block::Config),
Dsl(dsl::Config),
Json(json::Config),
LegacyV1(legacy_v1::Config),
ParseCbor(parse_cbor::Config),
Expand All @@ -112,7 +106,6 @@ impl Config {
match self {
Config::Noop(c) => Ok(Bootstrapper::Noop(c.bootstrapper(ctx)?)),
Config::SplitBlock(c) => Ok(Bootstrapper::SplitBlock(c.bootstrapper(ctx)?)),
Config::Dsl(c) => Ok(Bootstrapper::Dsl(c.bootstrapper(ctx)?)),
Config::Json(c) => Ok(Bootstrapper::Json(c.bootstrapper(ctx)?)),
Config::LegacyV1(c) => Ok(Bootstrapper::LegacyV1(c.bootstrapper(ctx)?)),
Config::ParseCbor(c) => Ok(Bootstrapper::ParseCbor(c.bootstrapper(ctx)?)),
Expand Down

0 comments on commit c0290ea

Please sign in to comment.