Skip to content

Commit 79a069c

Browse files
authored
chore: deprecate Deno in favor of Wasm (#779)
1 parent 5ceb165 commit 79a069c

File tree

12 files changed

+235
-3303
lines changed

12 files changed

+235
-3303
lines changed

Cargo.lock

+235-3,067
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ readme = "README.md"
1111
authors = ["Santiago Carmuega <[email protected]>"]
1212

1313
[features]
14-
deno = ["deno_runtime"]
1514
wasm = ["extism"]
1615
aws = ["aws-config", "aws-types", "aws-sdk-sqs", "aws-sdk-lambda", "aws-sdk-s3"]
1716
sql = ["sqlx"]
@@ -69,7 +68,6 @@ google-cloud-pubsub = { version = "0.16.0", optional = true }
6968
google-cloud-googleapis = { version = "0.10.0", optional = true }
7069
google-cloud-default = { version = "0.4.0", optional = true, features = ["pubsub"] }
7170
r2d2_redis = { version = "0.14.0", optional = true }
72-
deno_runtime = { version = "0.126.0", optional = true }
7371
jsonwebtoken = { version = "8.3.0", optional = true }
7472
tonic = { version = "0.9.2", features = ["tls", "tls-roots"], optional = true }
7573
futures = { version = "0.3.28", optional = true }

src/filters/deno/mod.rs

-213
This file was deleted.

src/filters/deno/runtime.js

-3
This file was deleted.

src/filters/mod.rs

-18
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ pub enum Bootstrapper {
2626

2727
#[cfg(feature = "wasm")]
2828
WasmPlugin(wasm_plugin::Stage),
29-
30-
#[cfg(feature = "deno")]
31-
Deno(deno::Stage),
3229
}
3330

3431
impl Bootstrapper {
@@ -43,9 +40,6 @@ impl Bootstrapper {
4340

4441
#[cfg(feature = "wasm")]
4542
Bootstrapper::WasmPlugin(p) => &mut p.input,
46-
47-
#[cfg(feature = "deno")]
48-
Bootstrapper::Deno(p) => &mut p.input,
4943
}
5044
}
5145

@@ -60,9 +54,6 @@ impl Bootstrapper {
6054

6155
#[cfg(feature = "wasm")]
6256
Bootstrapper::WasmPlugin(p) => &mut p.output,
63-
64-
#[cfg(feature = "deno")]
65-
Bootstrapper::Deno(p) => &mut p.output,
6657
}
6758
}
6859

@@ -77,9 +68,6 @@ impl Bootstrapper {
7768

7869
#[cfg(feature = "wasm")]
7970
Bootstrapper::WasmPlugin(x) => gasket::runtime::spawn_stage(x, policy),
80-
81-
#[cfg(feature = "deno")]
82-
Bootstrapper::Deno(x) => gasket::runtime::spawn_stage(x, policy),
8371
}
8472
}
8573
}
@@ -96,9 +84,6 @@ pub enum Config {
9684

9785
#[cfg(feature = "wasm")]
9886
WasmPlugin(wasm_plugin::Config),
99-
100-
#[cfg(feature = "deno")]
101-
Deno(deno::Config),
10287
}
10388

10489
impl Config {
@@ -113,9 +98,6 @@ impl Config {
11398

11499
#[cfg(feature = "wasm")]
115100
Config::WasmPlugin(c) => Ok(Bootstrapper::WasmPlugin(c.bootstrapper(ctx)?)),
116-
117-
#[cfg(feature = "deno")]
118-
Config::Deno(c) => Ok(Bootstrapper::Deno(c.bootstrapper(ctx)?)),
119101
}
120102
}
121103
}

0 commit comments

Comments
 (0)