0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-25 15:38:21 -05:00

build: remove unneeded features & remove the rand crate (#380)

This commit is contained in:
neon_arch 2023-11-08 19:01:38 +03:00
parent bbc226829e
commit 3aee141d0e

View File

@ -13,41 +13,40 @@ bench = false
path = "src/bin/websurfx.rs" path = "src/bin/websurfx.rs"
[dependencies] [dependencies]
reqwest = {version="0.11.21",default-features = false,features = ["json", "rustls-tls"]} reqwest = {version="0.11.22", default-features=false, features=["rustls-tls"]}
tokio = {version="1.32.0",features=["rt-multi-thread","macros"]} tokio = {version="1.32.0",features=["rt-multi-thread","macros"], default-features = false}
serde = {version="1.0.188",features=["derive"]} serde = {version="1.0.190", default-features=false, features=["derive"]}
handlebars = { version = "4.4.0", features = ["dir_source"] } serde_json = {version="1.0.108", default-features=false}
scraper = {version="0.18.1"} handlebars = { version = "4.4.0", features = ["dir_source"], default-features = false }
actix-web = {version="4.4.0", features = ["cookies"]} scraper = {version="0.18.1", default-features = false}
actix-files = {version="0.6.2"} actix-web = {version="4.4.0", features = ["cookies", "macros"], default-features=false}
actix-cors = {version="0.6.4"} actix-files = {version="0.6.2", default-features=false}
serde_json = {version="1.0.105"} actix-cors = {version="0.6.4", default-features=false}
fake-useragent = {version="0.1.3"} fake-useragent = {version="0.1.3", default-features=false}
env_logger = {version="0.10.0"} env_logger = {version="0.10.0", default-features=false}
log = {version="0.4.20"} log = {version="0.4.20", default-features=false}
mlua = {version="0.9.1", features=["luajit", "vendored"]} mlua = {version="0.9.1", features=["luajit", "vendored"], default-features=false}
redis = {version="0.23.3", features=["tokio-comp","connection-manager"], optional = true} redis = {version="0.23.3", features=["tokio-comp","connection-manager"], default-features = false, optional = true}
md5 = {version="0.7.0"} md5 = {version="0.7.0", default-features=false}
rand={version="0.8.5"} error-stack = {version="0.4.0", default-features=false, features=["std"]}
error-stack = {version="0.4.0"} async-trait = {version="0.1.73", default-features=false}
async-trait = {version="0.1.73"} regex = {version="1.9.4", features=["perf"], default-features = false}
regex = {version="1.9.4", features=["perf"]} smallvec = {version="1.11.0", features=["union", "serde"], default-features=false}
smallvec = {version="1.11.0", features=["union", "serde"]} futures = {version="0.3.28", default-features=false}
futures = {version="0.3.28"} dhat = {version="0.3.2", optional = true, default-features=false}
dhat = {version="0.3.2", optional = true}
mimalloc = { version = "0.1.38", default-features = false } mimalloc = { version = "0.1.38", default-features = false }
async-once-cell = {version="0.5.3"} async-once-cell = {version="0.5.3", default-features=false}
actix-governor = {version="0.5.0"} actix-governor = {version="0.5.0", default-features=false}
mini-moka = { version="0.10", optional = true} mini-moka = { version="0.10", optional = true, default-features=false, features=["sync"]}
[dev-dependencies] [dev-dependencies]
rusty-hook = "^0.11.2" rusty-hook = {version="^0.11.2", default-features=false}
criterion = "0.5.1" criterion = {version="0.5.1", default-features=false}
tempfile = "3.8.0" tempfile = {version="3.8.0", default-features=false}
[build-dependencies] [build-dependencies]
lightningcss = "1.0.0-alpha.50" lightningcss = {version="1.0.0-alpha.50", default-features=false, features=["grid"]}
minify-js = "0.5.6" minify-js = {version="0.5.6", default-features=false}
[profile.dev] [profile.dev]
opt-level = 0 opt-level = 0