Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Move compress related code into databend #10177

Merged
merged 13 commits into from
Feb 23, 2023
1 change: 1 addition & 0 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ header:
- "tests"
- "tools"
- "benchmark"
- "src/common/compress/tests"
# Ignore hidden files
- ".cargo"
- ".databend"
Expand Down
19 changes: 18 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ members = [
"src/common/base",
"src/common/building",
"src/common/cache",
"src/common/compress",
"src/common/exception",
"src/common/grpc",
"src/common/hashtable",
Expand Down
25 changes: 25 additions & 0 deletions src/common/compress/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[package]
name = "common-compress"
version = { workspace = true }
authors = { workspace = true }
license = { workspace = true }
publish = { workspace = true }
edition = { workspace = true }

[dependencies]
# Temp workaround, should come back to tagged version after https://github.com/Nemo157/async-compression/issues/150 resolved.
async-compression = { package = "async-compression-issue-150-workaround", version = "0.3.15-issue-150", features = [
"futures-io",
"all-algorithms",
] }
bytes = "1"
futures = "0.3"
log = "0.4"
pin-project = "1"
serde = { workspace = true }

[dev-dependencies]
env_logger = "0.10"
rand = "0.8"
sha2 = "0.10"
tokio = { version = "1", features = ["rt", "macros"] }
Loading