Skip to content

Conversation

@congx4
Copy link
Contributor

@congx4 congx4 commented Dec 18, 2025

Description

bump cargo compatible and some incompatible dependencies

How was this PR tested?

cargo check --all-targets && cargo test

make test-all 

@congx4 congx4 requested a review from guilload December 18, 2025 15:15
@congx4
Copy link
Contributor Author

congx4 commented Dec 18, 2025

/dd-rust-license-tool --config quickwit/license-tool.toml --manifest-path quickwit/Cargo.toml write

]

[[package]]
name = "objc2-core-foundation"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you check which deps require this and whether this is really needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

objc2-core-foundation v0.3.2
├── objc2-io-kit v0.3.2
│ └── sysinfo v0.37.2

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this will go away if remove default features, and only add the disk feature of sysinfo. Can you try this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we don't have features for sysinfo = "0.37", is this what you meant?

Copy link
Collaborator

Choose a reason for hiding this comment

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

This is sysinfo Cargo.toml
https://github.com/GuillaumeGomez/sysinfo/blob/main/Cargo.toml

By default it enables the following features
default = ["component", "disk", "network", "system", "user"]

I think we only use disk.

If you disable default features and explicitly opt in for component, I think (?) these deps will go away

Copy link
Contributor Author

Choose a reason for hiding this comment

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

After just using disk feature from sysinfo, other packages were removed, but not this one.
2b74fd8

Copy link
Collaborator

@fulmicoton-dd fulmicoton-dd left a comment

Choose a reason for hiding this comment

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

See comments.

You can investigate with cargo tree -i.

syn = { version = "2.0", features = ["extra-traits", "full", "parsing"] }
sync_wrapper = "1"
sysinfo = "0.33"
sysinfo = { version = "0.37", default-features = false, features = ["disk"] }
Copy link
Collaborator

Choose a reason for hiding this comment

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

awesome thank you!

@congx4 congx4 enabled auto-merge (squash) December 19, 2025 15:59
@congx4 congx4 merged commit dca9178 into main Dec 19, 2025
8 checks passed
@congx4 congx4 deleted the congxie/bumpDepVersion_1 branch December 19, 2025 16:38
nico34638 pushed a commit to nico34638/quickwit that referenced this pull request Jan 5, 2026
…s#6028)

* bump compatible deps

* update first incompatible batch

* add second incompatible batch

* add third incompatible batch

* update the updated function

* updatr 3rd party license

* just add disk feature from sysinfo

* update 3rd license
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants