Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump outdated deps #97

Merged
merged 2 commits into from
Apr 22, 2024
Merged

Bump outdated deps #97

merged 2 commits into from
Apr 22, 2024

Conversation

coszio
Copy link
Contributor

@coszio coszio commented Apr 19, 2024

Updates the dependencies that have newer versions available.

Was there a reason to keep them pinned to their current version?

Cargo.toml Outdated
anyhow = "1"

serde = { version = "1", features = ["derive"], optional = true }
serde_json = { version = "1", optional = true }
reqwest = { version = "0.11.24", optional = true, default-features = false, features = ["stream", "rustls-tls"] }
reqwest = { version = "0.12.3", optional = true, default-features = false, features = ["stream", "rustls-tls"] }
Copy link
Member

Choose a reason for hiding this comment

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

reqwest 0.12.0 has extracted the http2 module in a dedicated feature which is enabled by default.

This diff means that we would not support http2 anymore for our REST calls.

I believe it should be reactivated.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

but do we really need it? cargo build --all-features compiles fine without "http2" and "rustls-tls" features.

Copy link
Member

Choose a reason for hiding this comment

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

While we don't strictly need it, I think its better to enable. The server side of things - which reqwest connects to - supports it as well. So we may as well benefit from it there.

@timvisee timvisee merged commit 73d7317 into dev Apr 22, 2024
2 checks passed
generall pushed a commit that referenced this pull request Apr 22, 2024
* update deps

* add http2 feature to reqwest
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.

3 participants