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

Use modern syntax for optional dependencies #1229

Merged
merged 1 commit into from
Nov 6, 2024

Commits on Nov 6, 2024

  1. Use modern syntax for optional dependencies

    Use the "dep:" prefix to specify optional dependencies in Cargo
    features.
    
    An optional crate dependency implicitly generates a feature of the same
    name, and can be leaked to the user of the current crate.  But if a
    feature specifies a crate dependency with the "dep:" prefix, it will not
    implicitly generate the feature, hiding it from the users.  The "dep:"
    prefix was introduced in Rust 1.60.
    wks committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    d29deb2 View commit details
    Browse the repository at this point in the history