Skip to content

Commit

Permalink
add cargo machete to remove udeps (#641)
Browse files Browse the repository at this point in the history
  • Loading branch information
vaibhawvipul authored Jul 8, 2024
1 parent a8433b5 commit 8f4427a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 77 deletions.
6 changes: 6 additions & 0 deletions .github/actions/rust-test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ runs:
cd native
cargo check --benches
- name: Check unused dependencies
shell: bash
run: |
cd native
cargo install cargo-machete && cargo machete
- name: Cache Maven dependencies
uses: actions/cache@v4
with:
Expand Down
74 changes: 4 additions & 70 deletions native/Cargo.lock

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

7 changes: 0 additions & 7 deletions native/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,29 +32,24 @@ include = [
]

[dependencies]
parquet-format = "4.0.0" # This must be kept in sync with that from parquet crate
arrow = { git = "https://github.com/apache/arrow-rs.git", rev = "0a4d8a1", features = ["prettyprint", "ffi", "chrono-tz"] }
arrow-array = { git = "https://github.com/apache/arrow-rs.git", rev = "0a4d8a1" }
arrow-buffer = { git = "https://github.com/apache/arrow-rs.git", rev = "0a4d8a1" }
arrow-data = { git = "https://github.com/apache/arrow-rs.git", rev = "0a4d8a1" }
arrow-schema = { git = "https://github.com/apache/arrow-rs.git", rev = "0a4d8a1" }
arrow-string = { git = "https://github.com/apache/arrow-rs.git", rev = "0a4d8a1" }
parquet = { git = "https://github.com/apache/arrow-rs.git", rev = "0a4d8a1", default-features = false, features = ["experimental"] }
half = { version = "2.4.1", default-features = false }
futures = "0.3.28"
mimalloc = { version = "*", default-features = false, optional = true }
tokio = { version = "1", features = ["rt-multi-thread"] }
tokio-stream = { version = "0.1.8" }
async-trait = "0.1"
log = "0.4"
log4rs = "1.2.0"
thiserror = "1"
serde = { version = "1", features = ["derive"] }
lazy_static = "1.4.0"
prost = "0.12.1"
thrift = "0.17"
jni = "0.21"
byteorder = "1.4.3"
snap = "1.1"
brotli = "3.3"
flate2 = "1.0"
Expand All @@ -63,8 +58,6 @@ zstd = "0.11"
rand = "0.8"
num = "0.4"
bytes = "1.5.0"
hashbrown = { version = "0.14", features = ["raw"] }
parking_lot = "0.12"
tempfile = "3.8.0"
ahash = { version = "0.8", default-features = false }
itertools = "0.11.0"
Expand Down

0 comments on commit 8f4427a

Please sign in to comment.