async_zip, async-compression from crates.io
All checks were successful
continuous-integration/drone/push Build is passing

instead of git
This commit is contained in:
Dmitry Belyaev 2023-08-18 10:05:22 +03:00
parent 23f8537e4e
commit 699478f85e
Signed by: b4tman
GPG Key ID: 41A00BF15EA7E5F3
3 changed files with 15 additions and 12 deletions

21
Cargo.lock generated
View File

@ -94,22 +94,23 @@ dependencies = [
[[package]] [[package]]
name = "async-compression" name = "async-compression"
version = "0.4.1" version = "0.3.15"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "62b74f44609f0f91493e3082d3734d98497e094777144380ea4db9f9905dd5b6" checksum = "942c7cd7ae39e91bde4820d74132e9862e62c2f386c3aa90ccf55949f5bad63a"
dependencies = [ dependencies = [
"futures-core", "futures-core",
"futures-io", "futures-io",
"memchr", "memchr",
"pin-project-lite", "pin-project-lite",
"zstd 0.12.4", "zstd 0.11.2+zstd.1.5.2",
"zstd-safe 6.0.6", "zstd-safe 5.0.2+zstd.1.5.2",
] ]
[[package]] [[package]]
name = "async-compression" name = "async-compression"
version = "0.4.1" version = "0.4.1"
source = "git+https://github.com/Nullus157/async-compression?rev=4fd4c42#4fd4c428ded304c019c0ebcf40149af87b038ab8" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "62b74f44609f0f91493e3082d3734d98497e094777144380ea4db9f9905dd5b6"
dependencies = [ dependencies = [
"futures-core", "futures-core",
"memchr", "memchr",
@ -155,11 +156,13 @@ dependencies = [
[[package]] [[package]]
name = "async_zip" name = "async_zip"
version = "0.0.15" version = "0.0.15"
source = "git+https://github.com/Majored/rs-async-zip?rev=ff0d985#ff0d985ef54cf00d73c497dbca0beea7541e37dc" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "795310de3218cde15219fc98c1cf7d8fe9db4865aab27fcf1d535d6cb61c6b54"
dependencies = [ dependencies = [
"async-compression 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", "async-compression 0.3.15",
"crc32fast", "crc32fast",
"futures-util", "futures-util",
"log",
"pin-project", "pin-project",
"thiserror", "thiserror",
"tokio", "tokio",
@ -340,9 +343,9 @@ dependencies = [
[[package]] [[package]]
name = "chgk_ledb_lib" name = "chgk_ledb_lib"
version = "1.1.0" version = "1.2.0"
dependencies = [ dependencies = [
"async-compression 0.4.1 (git+https://github.com/Nullus157/async-compression?rev=4fd4c42)", "async-compression 0.4.1",
"async-stream", "async-stream",
"async_zip", "async_zip",
"bincode", "bincode",

View File

@ -12,7 +12,7 @@ description = "Утилита загружающая базу данных ЧГ
[dependencies] [dependencies]
chgk_ledb_lib = {path = "../lib", features = ["async", "convert_async"]} chgk_ledb_lib = {path = "../lib", features = ["async", "convert_async"]}
serde_json="1.0" serde_json="1.0"
async_zip = { git = "https://github.com/Majored/rs-async-zip", rev = "ff0d985", features = [ async_zip = { version = "0.0.15", features = [
"zstd", "zstd",
"tokio", "tokio",
"tokio-fs"] } "tokio-fs"] }

View File

@ -47,7 +47,7 @@ serde_derive = "1.0"
serde_json = "1.0" serde_json = "1.0"
bincode = "^2.0.0-rc.2" bincode = "^2.0.0-rc.2"
zip = { version = "0.6", optional = true } zip = { version = "0.6", optional = true }
async_zip = { git = "https://github.com/Majored/rs-async-zip", rev = "ff0d985", features = [ async_zip = { version = "0.0.15" , features = [
"zstd", "zstd",
"tokio", "tokio",
"tokio-fs", "tokio-fs",
@ -62,7 +62,7 @@ tokio = { version = "1", features = [
futures-core = { version = "0.3", optional = true } futures-core = { version = "0.3", optional = true }
futures = { version = "0.3", optional = true } futures = { version = "0.3", optional = true }
futures-util = { 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 = [ async-compression = { version = "0.4.1", default-features = false, features = [
"zstd", "zstd",
"tokio", "tokio",
], optional = true } ], optional = true }