HyukjinKwon opened a new pull request, #770:
URL: https://github.com/apache/spark-connect-rust/pull/770
### What changes were proposed in this pull request?
Remove `thiserror` from the dependencies of `apache-spark-connect-core`. No
code of the crate uses it: `crates/spark-connect-core/src` has no `thiserror`
and derives no error with it. `Cargo.lock` loses only that dependency edge, as
the other crates of the workspace still use `thiserror`.
### Why are the changes needed?
Cargo 1.100's `unused_dependencies` lint, of the toolchain the lint job
pins, warns about it on every build of the workspace:
```
warning: unused dependency `thiserror`
--> crates/spark-connect-core/Cargo.toml:26:1
```
The published crate also pulls in a dependency it does not use.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
`cargo +1.100.0 check -p apache-spark-connect-core --all-targets` builds,
and the warning is gone.
The other warning of that lint, `spark-connect-macros` in the
build-dependencies of `examples/wasm-udfs`, is a false positive and stays:
`spark_connect_build::embed_wasm_udf` finds that crate's proc-macro dylib in
the target directory, and fails without the build-dependency.
### Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Opus 5.5
This pull request and its description were written by Isaac.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]