Skip to content

Conversation

joshtriplett
Copy link
Member

  • Test features in CI
  • Add docs.rs metadata for features
  • Add required features for examples
  • README.md: Add feature documentation

@rustbot rustbot added the S-waiting-on-review Status: Waiting on review label Aug 22, 2025
@weihanglo weihanglo added this pull request to the merge queue Sep 13, 2025
Merged via the queue into rust-lang:master with commit d58c7ce Sep 13, 2025
7 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Waiting on review label Sep 13, 2025
@joshtriplett joshtriplett deleted the update-docs-for-features branch September 20, 2025 13:34
Comment on lines +52 to +53
[[examples]]
required-features = ["https", "ssh"]
Copy link
Contributor

Choose a reason for hiding this comment

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

This added invalid syntax to Cargo.toml. There is no such thing as examples.

warning: /Users/eric/Proj/rust/git2-rs/Cargo.toml: unused manifest key: examples

To set the required features, you have to list it for each individual example that needs it.

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