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

Update to clap 3.1.0 #1016

Merged
merged 2 commits into from Feb 17, 2022
Merged

Update to clap 3.1.0 #1016

merged 2 commits into from Feb 17, 2022

Commits on Feb 17, 2022

  1. Pull in clap 3.1.0

    dtolnay committed Feb 17, 2022
    Copy the full SHA
    19ed7f8 View commit details
    Browse the repository at this point in the history
  2. Resolve clap deprecations

        warning: use of deprecated struct `clap::App`: Replaced with `Command`
         --> gen/cmd/src/app.rs:9:12
          |
        9 | use clap::{App, AppSettings, Arg};
          |            ^^^
          |
          = note: `#[warn(deprecated)]` on by default
    
        warning: use of deprecated struct `clap::App`: Replaced with `Command`
          --> gen/cmd/src/app.rs:36:13
           |
        36 | fn app() -> App<'static> {
           |             ^^^
    
        warning: use of deprecated struct `clap::App`: Replaced with `Command`
          --> gen/cmd/src/app.rs:37:19
           |
        37 |     let mut app = App::new("cxxbridge")
           |                   ^^^
    
        warning: use of deprecated variant `clap::AppSettings::NextLineHelp`: Replaced with `Command::next_line_help` and `Command::is_next_line_help_set`
          --> gen/cmd/src/app.rs:40:31
           |
        40 |         .setting(AppSettings::NextLineHelp)
           |                               ^^^^^^^^^^^^
    dtolnay committed Feb 17, 2022
    Copy the full SHA
    feec8a1 View commit details
    Browse the repository at this point in the history