Переглянути джерело

fix(CI): disable js support by default

zu1k 2 роки тому
батько
коміт
36b2822c7a
1 змінених файлів з 2 додано та 1 видалено
  1. 2 1
      Cargo.toml

+ 2 - 1
Cargo.toml

@@ -19,7 +19,7 @@ codegen-units = 1
 
 [dependencies]
 mitm-core = { path = "crates/core", package = "good-mitm-core" }
-rule = { path = "crates/rule", package = "good-mitm-rule", features = ["js"] }
+rule = { path = "crates/rule", package = "good-mitm-rule" }
 
 anyhow = "1.0"
 clap = { version = "4", features = ["derive"] }
@@ -37,6 +37,7 @@ trust_cert = { path = "crates/trust_cert", optional = true }
 [features]
 default = []
 trust-cert = ["dep:trust_cert"]
+js = ["rule/js"]
 
 [workspace]
 members = [