⚙️ refactor: remove & added some crates & add a new feature (#180)(#178)

This commit is contained in:
neon_arch 2023-08-27 21:10:36 +03:00
parent 699e0ecaa9
commit 33f5b5e8cc
2 changed files with 261 additions and 113 deletions

View file

@ -7,9 +7,9 @@ repository = "https://github.com/neon-mmd/websurfx"
license = "AGPL-3.0"
[dependencies]
reqwest = {version="0.11.19",features=["json"]}
tokio = {version="1.32.0",features=["full"]}
serde = {version="1.0.185",features=["derive"]}
reqwest = {version="0.11.20",features=["json"]}
tokio = {version="1.32.0",features=["rt-multi-thread","macros"]}
serde = {version="1.0.188",features=["derive"]}
handlebars = { version = "4.3.7", features = ["dir_source"] }
scraper = {version="0.17.1"}
actix-web = {version="4.3.1", features = ["cookies"]}
@ -19,14 +19,16 @@ serde_json = {version="1.0.105"}
fake-useragent = {version="0.1.3"}
env_logger = {version="0.10.0"}
log = {version="0.4.20"}
rlua = {version="0.19.7"}
redis = {version="0.23.2"}
mlua = {version="0.8.10", features=["luajit"]}
redis = {version="0.23.2", features=["tokio-comp", "connection-manager"]}
md5 = {version="0.7.0"}
rand={version="0.8.5"}
once_cell = {version="1.18.0"}
error-stack = {version="0.3.1"}
error-stack = {version="0.4.0"}
async-trait = {version="0.1.73"}
regex = {version="1.9.3", features=["perf"]}
smallvec = {version="1.11.0", features=["union", "serde"]}
futures = {version="0.3.28"}
dhat = {version="0.3.2", optional = true}
[dev-dependencies]
rusty-hook = "^0.11.2"
@ -47,7 +49,8 @@ rpath = false
[profile.release]
opt-level = 3
debug = false
debug = false # This should only be commented when testing with dhat profiler
# debug = 1 # This should only be uncommented when testing with dhat profiler
split-debuginfo = '...'
debug-assertions = false
overflow-checks = false
@ -57,3 +60,6 @@ incremental = false
codegen-units = 16
rpath = false
strip = "debuginfo"
[features]
dhat-heap = ["dep:dhat"]