Skip to content

Commit

Permalink
Merge pull request #10177 from Xuanwo/move-compress
Browse files Browse the repository at this point in the history
refactor: Move compress related code into databend
  • Loading branch information
mergify[bot] authored Feb 23, 2023
2 parents 218ba9a + b83644c commit 6ffbc4c
Show file tree
Hide file tree
Showing 18 changed files with 775 additions and 13 deletions.
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

1 comment on commit 6ffbc4c

@vercel
Copy link

@vercel vercel bot commented on 6ffbc4c Feb 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

databend – ./

databend.vercel.app
databend.rs
databend-databend.vercel.app
databend-git-main-databend.vercel.app

Please sign in to comment.