chgk_ledb/lib/Cargo.toml

37 lines
1.3 KiB
TOML
Raw Normal View History

2022-11-10 18:43:15 +00:00
[package]
name = "chgk_ledb_lib"
2023-03-29 10:22:37 +00:00
version = "1.1.0"
2022-11-10 18:43:15 +00:00
authors = ["Dmitry <b4tm4n@mail.ru>"]
2023-03-29 10:30:57 +00:00
edition = "2021"
repository = "https://gitea.b4tman.ru/b4tman/chgk_ledb"
license = "MIT"
2023-03-29 10:22:37 +00:00
description = "Библиотека для доступа к файлу базы данных вопросов ЧГК"
2022-11-10 18:43:15 +00:00
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
2023-08-05 20:06:55 +00:00
[features]
default = ["async"]
sync = ["zstd", "memmap"]
async = ["futures", "futures-core", "futures-util", "fmmap", "tokio", "async-compression", "async-stream"]
2023-08-05 20:26:45 +00:00
source = ["zip"]
2023-08-05 20:06:55 +00:00
2022-11-10 18:43:15 +00:00
[dependencies]
serde="1.0"
serde_derive="1.0"
serde_json="1.0"
bincode = "^2.0.0-rc.2"
2023-08-05 20:26:45 +00:00
zip= {version = "0.6", optional = true}
2023-08-05 20:06:55 +00:00
fmmap = { version = "0.3", features = ["tokio-async"] , optional = true}
tokio = { version = "1", features = ["fs","io-util","rt", "macros"] , optional = true}
futures-core = {version = "0.3", optional = true}
futures = {version = "0.3", optional = true}
futures-util = {version = "0.3", optional = true}
async-compression = {git="https://github.com/Nullus157/async-compression", rev="4fd4c42", default-features = false, features = ["zstdmt", "tokio"], optional = true}
async-stream = {version = "0.3", optional = true}
zstd = {version = "^0.12", default-features = false, optional = true}
memmap = {version = "0.7.0", optional = true}
2022-11-10 18:43:15 +00:00
[dev-dependencies]
tempfile = "3.3"