Skip to content

Commit

Permalink
Merge pull request #8338 from Xuanwo/replace-with-cargo-machete
Browse files Browse the repository at this point in the history
ci: Install cargo machete
  • Loading branch information
Xuanwo authored Oct 20, 2022
2 parents cfa7742 + db19bb6 commit c2edb7c
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 12 deletions.
6 changes: 1 addition & 5 deletions 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 scripts/setup/rust-tools.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
cargo-audit@0.17.0
cargo-udeps@0.1.34
taplo-cli@0.7.0
cargo-machete@0.4.0
2 changes: 0 additions & 2 deletions src/binaries/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ common-meta-stoerr = { path = "../meta/stoerr" }
common-meta-store = { path = "../meta/store" }
common-meta-types = { path = "../meta/types" }
common-metrics = { path = "../common/metrics" }
common-storage = { path = "../common/storage" }
common-tracing = { path = "../common/tracing" }
common-users = { path = "../query/users" }
databend-meta = { path = "../meta/service" }
databend-query = { path = "../query/service" }

Expand Down
1 change: 0 additions & 1 deletion src/query/ast/fuzz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ test = false
common-ast = { path = ".." }

afl = "0.12"
arbitrary = "1.1.3"

[patch.crates-io]
parquet2 = { version = "0.14.1", optional = true, git = "https://github.com/datafuse-extras/parquet2", rev = "3a468fc3c4" }
6 changes: 4 additions & 2 deletions src/query/config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@ test = false

[features]
default = []
storage-hdfs = ["opendal/services-hdfs", "common-storage/storage-hdfs"]
storage-hdfs = ["common-storage/storage-hdfs"]
hive = ["common-hive-meta-store", "thrift", "storage-hdfs"]

[package.metadata.cargo-machete]
ignored = ["thrift", "common-hive-meta-store"]

[dependencies]
common-base = { path = "../../common/base" }
common-exception = { path = "../../common/exception" }
Expand All @@ -28,7 +31,6 @@ thrift = { git = "https://github.com/datafuse-extras/thrift", tag = "v0.17.0", o
clap = { workspace = true }
hex = "0.4.3"
once_cell = "1.15.0"
opendal = { version = "0.19", features = ["layers-retry", "compress"], optional = true }
semver = "1.0.14"
serde = { workspace = true }
serfig = "0.0.2"
Expand Down
3 changes: 3 additions & 0 deletions src/query/storages/index/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ publish = false
doctest = false
test = false

[package.metadata.cargo-machete]
ignored = ["xorfilter-rs"]

[dependencies]
common-catalog = { path = "../../catalog" }
common-datablocks = { path = "../../datablocks" }
Expand Down
2 changes: 0 additions & 2 deletions src/query/streams/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,5 @@ common-exception = { path = "../../common/exception" }
futures = "0.3.24"
pin-project-lite = "0.2.9"

serde_json = { workspace = true }

[dev-dependencies]
opendal = { version = "0.19", features = ["layers-retry", "compress"] }

1 comment on commit c2edb7c

@vercel
Copy link

@vercel vercel bot commented on c2edb7c Oct 20, 2022

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-databend.vercel.app
databend.vercel.app
databend-git-main-databend.vercel.app
databend.rs

Please sign in to comment.