2023-08-07 19:06:21 +00:00
|
|
|
[package]
|
|
|
|
name = "chgk_ledb_async"
|
|
|
|
version = "1.1.0"
|
|
|
|
authors = ["Dmitry <b4tm4n@mail.ru>"]
|
|
|
|
edition = "2021"
|
|
|
|
repository = "https://gitea.b4tman.ru/b4tman/chgk_ledb"
|
|
|
|
license = "MIT"
|
|
|
|
description = "Утилита загружающая базу данных ЧГК вопросов из ZIP файла в JSON формате в базу данных."
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
2023-08-23 10:30:51 +00:00
|
|
|
[[bench]]
|
|
|
|
name = "async_bench"
|
|
|
|
harness = false
|
|
|
|
|
2023-08-26 10:42:25 +00:00
|
|
|
[[bench]]
|
|
|
|
name = "questions_async_bench"
|
|
|
|
harness = false
|
|
|
|
|
2023-08-07 19:06:21 +00:00
|
|
|
[dependencies]
|
2023-08-10 11:20:11 +00:00
|
|
|
chgk_ledb_lib = {path = "../lib", features = ["async", "convert_async"]}
|
2023-08-07 19:06:21 +00:00
|
|
|
serde_json="1.0"
|
2023-08-18 07:05:22 +00:00
|
|
|
async_zip = { version = "0.0.15", features = [
|
2023-08-07 19:06:21 +00:00
|
|
|
"zstd",
|
|
|
|
"tokio",
|
|
|
|
"tokio-fs"] }
|
|
|
|
tokio = { version = "1", features = [
|
|
|
|
"io-util",
|
|
|
|
"fs",
|
|
|
|
"rt-multi-thread"
|
|
|
|
] }
|
|
|
|
tokio-stream = "0.1"
|
|
|
|
rand="0.8"
|
|
|
|
clap = { version = "4.2.7", features = ["derive"] }
|
|
|
|
futures = "0.3"
|
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-08-23 10:30:51 +00:00
|
|
|
criterion = { version = "0.5.1", features = ["async_tokio"]}
|
2023-08-07 19:06:21 +00:00
|
|
|
tempfile = "3.3"
|
|
|
|
serde="1.0"
|
|
|
|
serde_derive="1.0"
|
2023-08-23 10:30:51 +00:00
|
|
|
futures = "0.3"
|
|
|
|
async-compression = { version = "0.4.1", default-features = false }
|
|
|
|
lazy_static = "1.4.0"
|