Skip to content

Commit a9a410c

Browse files
authored
Update and clean up dependencies (#520)
- Based on #513 - Fixes use of rand crate after update - Updates polars and calamine too - Formats Cargo.toml files consistently - Adds Cargo.lock to git (the Rust community has increasingly moved toward including Cargo.lock for library projects) and ensure that it's current
2 parents 541c2d9 + 74800fa commit a9a410c

File tree

11 files changed

+4560
-124
lines changed

11 files changed

+4560
-124
lines changed

.github/workflows/rust.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ jobs:
5656
DUCKDB_LIB_DIR: ${{ github.workspace }}/libduckdb
5757
DUCKDB_INCLUDE_DIR: ${{ github.workspace }}/libduckdb
5858
LD_LIBRARY_PATH: ${{ github.workspace }}/libduckdb
59-
run: |
60-
cargo clippy --all-targets --workspace --all-features -- -D warnings
59+
run: cargo clippy --all-targets --all-features --locked -- -D warnings
6160

6261
# For windows
6362
- name: Windows extract duckdb

.gitignore

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,9 @@
22
# will have compiled files and executables
33
/target/
44

5-
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
6-
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
7-
Cargo.lock
8-
95
# These are backup files generated by rustfmt
106
**/*.rs.bk
117

12-
138
# Added by cargo
149

1510
/target

0 commit comments

Comments
 (0)