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

⚙️ refactor: add new crates (#180)(#178)

This commit is contained in:
neon_arch 2023-08-29 20:16:51 +03:00
parent 4c298ce18c
commit 4157ba8b7f
2 changed files with 30 additions and 1 deletions

27
Cargo.lock generated
View File

@ -312,6 +312,12 @@ version = "0.10.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "619743e34b5ba4e9703bba34deac3427c72507c7159f5fd030aea8cac0cfe341"
[[package]]
name = "async-once-cell"
version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9338790e78aa95a416786ec8389546c4b6a1dfc3dc36071ed9518a9413a542eb"
[[package]]
name = "async-trait"
version = "0.1.73"
@ -1613,6 +1619,16 @@ version = "0.2.147"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3"
[[package]]
name = "libmimalloc-sys"
version = "0.1.34"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "25d058a81af0d1c22d7a1c948576bee6d673f7af3c0f35564abd6c81122f513d"
dependencies = [
"cc",
"libc",
]
[[package]]
name = "linux-raw-sys"
version = "0.4.5"
@ -1741,6 +1757,15 @@ dependencies = [
"autocfg 1.1.0",
]
[[package]]
name = "mimalloc"
version = "0.1.38"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "972e5f23f6716f62665760b0f4cbf592576a80c7b879ba9beaafc0e558894127"
dependencies = [
"libmimalloc-sys",
]
[[package]]
name = "mime"
version = "0.3.17"
@ -3688,6 +3713,7 @@ dependencies = [
"actix-cors",
"actix-files",
"actix-web",
"async-once-cell",
"async-trait",
"criterion",
"dhat",
@ -3698,6 +3724,7 @@ dependencies = [
"handlebars",
"log",
"md5",
"mimalloc",
"mlua",
"rand 0.8.5",
"redis",

View File

@ -25,10 +25,12 @@ md5 = {version="0.7.0"}
rand={version="0.8.5"}
error-stack = {version="0.4.0"}
async-trait = {version="0.1.73"}
regex = {version="1.9.3", features=["perf"]}
regex = {version="1.9.4", features=["perf"]}
smallvec = {version="1.11.0", features=["union", "serde"]}
futures = {version="0.3.28"}
dhat = {version="0.3.2", optional = true}
mimalloc = { version = "0.1.38", default-features = false }
async-once-cell = {version="0.5.3"}
[dev-dependencies]
rusty-hook = "^0.11.2"