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

Drop derive feature from serde in cargo-platform #11915

Merged
merged 1 commit into from
Mar 31, 2023

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented Mar 30, 2023

### What does this PR try to resolve?

cargo-platform introduces a depdency to serde_derive via the derive feature of serde, yet the crate does not use it.

Additional information

This slightly hurts compile times for rust-analyzer due to the dependencyh between serde and serde_derive this constructs, see rust-lang/rust-analyzer#14450 not relevant anymore, so if this is too much churn feel free to close

@rustbot
Copy link
Collaborator

rustbot commented Mar 30, 2023

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @ehuss (or someone else) soon.

Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (S-waiting-on-review and S-waiting-on-author) stays updated, invoking these commands when appropriate:

  • @rustbot author: the review is finished, PR author should check the comments and take action accordingly
  • @rustbot review: the author is ready for a review, this PR will be queued again in the reviewer's queue

@rustbot rustbot added A-cfg-expr Area: Platform cfg expressions S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 30, 2023
@epage
Copy link
Contributor

epage commented Mar 31, 2023

CI should be fixed now

@ehuss
Copy link
Contributor

ehuss commented Mar 31, 2023

Thanks!

@bors r+

@bors
Copy link
Contributor

bors commented Mar 31, 2023

📌 Commit a127a0a has been approved by ehuss

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 31, 2023
@bors
Copy link
Contributor

bors commented Mar 31, 2023

⌛ Testing commit a127a0a with merge 8205389...

@bors
Copy link
Contributor

bors commented Mar 31, 2023

☀️ Test successful - checks-actions
Approved by: ehuss
Pushing 8205389 to master...

@bors bors merged commit 8205389 into rust-lang:master Mar 31, 2023
@Veykril Veykril deleted the serde-derive branch March 31, 2023 14:58
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 1, 2023
Update cargo

9 commits in 145219a9f089f8b57c09f40525374fbade1e34ae..0e474cfd7b16b018cf46e95da3f6a5b2f1f6a9e7
2023-03-27 01:56:36 +0000 to 2023-03-31 23:15:58 +0000
- Add delays to network retries. (rust-lang/cargo#11881)
- Add a note to `cargo logout` that it does not revoke the token. (rust-lang/cargo#11919)
- Sync external-tools JSON docs. (rust-lang/cargo#11918)
- Drop derive feature from serde in cargo-platform (rust-lang/cargo#11915)
- Disable test_profile test on windows-gnu (rust-lang/cargo#11916)
- src/doc/src/reference/build-scripts.md: a{n =>} benchmark target (rust-lang/cargo#11908)
- Documented working directory behaviour for `cargo test`, `cargo bench` and `cargo run` (rust-lang/cargo#11901)
- docs(contrib): Link to office hours doc (rust-lang/cargo#11903)
- chore: Upgrade to clap v4.2 (rust-lang/cargo#11904)
@ehuss ehuss added this to the 1.70.0 milestone Apr 3, 2023
bors added a commit that referenced this pull request Apr 23, 2023
Bump versions of local crates

These crates have had the following changes since their last version bump:

- `cargo-platform`
    - #11915 — Drop derive feature from serde in cargo-platform
- `crates-io`
    - #11951 — Fix credential token format validation.
    - #11952 — Validate token on publish.

AFAICT, none of these seem to warrant a semver breaking change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-cfg-expr Area: Platform cfg expressions S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants