docs(examples): Add missing feature flag reqs

This commit is contained in:
Ed Page 2022-02-11 07:07:03 -06:00
parent 48686804c7
commit f00f97c8c4
5 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,5 @@
// Note: this requires the `derive` feature
use clap::Parser;
#[derive(Parser)]

View file

@ -1,3 +1,5 @@
// Note: this requires the `cargo` feature
fn main() {
let app = clap::App::new("cargo")
.bin_name("cargo")

View file

@ -1,3 +1,5 @@
// Note: this requires the `cargo` feature
use std::path::PathBuf;
use clap::{arg, App, AppSettings};

View file

@ -1,3 +1,5 @@
// Note: this requires the `unstable-multicall` feature
use std::process::exit;
use clap::{App, AppSettings, Arg};

View file

@ -1,3 +1,5 @@
// Note: this requires the `unstable-multicall` feature
use clap::{App, AppSettings};
fn main() {