chgk_ledb/app_async/Cargo.toml
Dmitry 1b88db07be
All checks were successful
continuous-integration/drone/push Build is passing
add questions benches
2023-08-26 13:42:50 +03:00

46 lines
1.2 KiB
TOML

[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
[[bench]]
name = "async_bench"
harness = false
[[bench]]
name = "questions_async_bench"
harness = false
[dependencies]
chgk_ledb_lib = {path = "../lib", features = ["async", "convert_async"]}
serde_json="1.0"
async_zip = { version = "0.0.15", features = [
"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]
criterion = { version = "0.5.1", features = ["async_tokio"]}
tempfile = "3.3"
bincode = "^2.0.0-rc.2"
serde="1.0"
serde_derive="1.0"
futures = "0.3"
async-compression = { version = "0.4.1", default-features = false }
lazy_static = "1.4.0"